nickysn
|
d8a9860e92
+ optimization in tinyheap's reallocmem for the case when there's not enough
|
10 years ago |
nickysn
|
1e0a69fa7f
+ optimizations in SysTinyReAllocMem for the case when growing the heap block
|
11 years ago |
nickysn
|
e9dc9735a0
+ check whether the pointer passed to SysTinyReAllocMem is within the heap area
|
11 years ago |
nickysn
|
e4f3f33692
+ optimization in SysTinyReAllocMem for the case of shrinking a memory block
|
11 years ago |
nickysn
|
782b033acd
* optimized SysTinyReAllocMem for the case when the new and old size are the
|
11 years ago |
nickysn
|
4e48190342
+ implemented Mark and Release for the tiny heap
|
11 years ago |
nickysn
|
6735e717ef
* the results of MemAvail and MaxAvail changed to LongInt in the i8086 far data
|
11 years ago |
nickysn
|
00c98edd29
* the FPC_TINYHEAP_HUGE define moved to tnyheaph.inc
|
11 years ago |
nickysn
|
706a1d8712
* the FPC_HEAP_HUGE define renamed FPC_TINYHEAP_HUGE, because it applies to the
|
11 years ago |
nickysn
|
624b3204d8
+ added and implemented MemAvail and MaxAvail for the tiny heap
|
11 years ago |
nickysn
|
ad7111ad4d
* SysTinyFreeMem: terminate with a runtime error if Addr is >= HeapPtr, since
|
11 years ago |
nickysn
|
bb07318386
+ added RegisterTinyHeapBlock_Simple_Prealigned procedure, which is the same as
|
11 years ago |
nickysn
|
c8e9d2cf6e
+ added a simplified version of RegisterTinyHeapBlock, for use when the tiny
|
11 years ago |
nickysn
|
72ba70f7ec
* use HexStr instead of casting to PtrUInt for logging pointers, when
|
11 years ago |
nickysn
|
bf8a7f0784
* handle properly the case when RegisterTinyHeapBlock is called with a start
|
11 years ago |
nickysn
|
af1c5096d6
* tiny heap made TP7 compatible; the FreeList and HeapPtr variables made public
|
11 years ago |
nickysn
|
e4095588d6
* the type of FreeList changed to an untyped pointer (TP7 compatibility)
|
11 years ago |
nickysn
|
a4d71348dd
* TinyHeapBlocks renamed FreeList for TP7 compatibility reasons (and it'll be
|
11 years ago |
nickysn
|
9b41b10350
* implementation of tiny heap's GetMem changed, so that it doesn't use FreeMem
|
11 years ago |
nickysn
|
cd0acd050e
* store the tiny heap free block size in a TP7-compatible way (as a normalized
|
11 years ago |
nickysn
|
03a838556f
* keep the tiny heap free blocks ordered by start address, instead of size.
|
11 years ago |
nickysn
|
70850f0ce6
+ tinyheap: check and generate runtime error 204 if an attempt is made to free a
|
11 years ago |
nickysn
|
9979aa702f
+ added the TP7-compatible pointer variables HeapOrg and HeapEnd, indicating,
|
11 years ago |
nickysn
|
7986d0c2ca
* simplify RegisterTinyHeapBlock by calling InternalTinyFreeMem directly,
|
11 years ago |
nickysn
|
2e0c40d33b
* TinyHeapAllocGranularity changed to SizeOf(TTinyHeapBlock). This fixes a bug
|
11 years ago |
nickysn
|
902c25fafa
+ RegisterTinyHeapBlock: align the start address and size according to
|
11 years ago |
nickysn
|
815bfe0dcf
+ tiny heap alloc granularity moved to a constant TinyHeapAllocGranularity
|
11 years ago |
nickysn
|
14057ef438
* rm EndAddr from the TTinyHeapBlock structure. This:
|
11 years ago |
nickysn
|
21246e973a
* TinyHeapMinBlock defined as sizeof(TTinyHeapBlock), as that's the smallest
|
11 years ago |
nickysn
|
e8c1a44068
* swapped the order of the Next and Size fields in TTinyHeapBlock, because that
|
11 years ago |