florian
d315d3cc96
* after r34939, it was not taken care of the extra storage needed for the size field, fixed, should fix #32875
...
git-svn-id: trunk@37883 -
2017-12-30 16:38:13 +00:00
florian
01e1e9410d
+ dummy heap status implementations
...
git-svn-id: trunk@34939 -
2016-11-20 18:31:03 +00:00
florian
16fa079a2a
* allocate always a minimum block size, else free list management causes memory corruption
...
git-svn-id: trunk@34930 -
2016-11-20 15:44:22 +00:00
florian
dfd261f2d6
* embedded heap manager takes care of ReturnNilIfGrowHeapFails
...
git-svn-id: trunk@33070 -
2016-02-07 18:28:12 +00:00
florian
b8198963f3
* use modeswitch result instead of mode objpas, so the objpas unit is not pulled in
...
git-svn-id: trunk@30752 -
2015-05-01 16:31:07 +00:00
Jeppe Johansen
1aeb07c835
Fixed more small bugs in the embedded heapmgr. Some changes copied from tinyheap.
...
git-svn-id: trunk@29612 -
2015-02-03 19:37:29 +00:00
Jeppe Johansen
85c5e7330a
Make HeapMgr.GetAlignedMem public. This function is useful for embedded targets where alignment > 32(or sizeof(pointer)) bytes is required.
...
Fix RegisterHeapBlock. Calling FreeMem requires the heap manager to be installed, plus it requires the size of the segment to be stored in front of the pointer. Instead use InternalFreeMem
git-svn-id: trunk@29611 -
2015-02-03 00:24:51 +00:00
Jeppe Johansen
e012b4fa23
Inline calls to FindSize which removes a lot of unnecessary calls.
...
git-svn-id: trunk@28735 -
2014-10-04 11:05:25 +00:00
florian
380bc56e32
+ create a default heap on embedded targets and register this default heap
...
* sysutils for the embedded target depends on a working heap manager
git-svn-id: trunk@23853 -
2013-03-16 10:37:18 +00:00
Jeppe Johansen
84ea70fddc
Fixed some minor formating issues
...
Implemented a small heap mananger
Implemented console IO
Changed default LineEnding to CrLf(to ease console IO parsing)
git-svn-id: branches/laksen/arm-embedded@22646 -
2012-10-14 19:10:20 +00:00
florian
375f83c874
* moved heap manager on embedded systems into a separate unit
...
* moved console io on embedded systems into a seperate unit, this unit might setup input/output e.g. to be redirected to a serial port
* cleanup of the embedded system unit
git-svn-id: trunk@19168 -
2011-09-21 20:57:37 +00:00