forked from Imagelibrary/rtems
2009-03-05 Till Straumann <strauman@slac.stanford.edu>
* bootcard.c: use aligned heap_start (instead of original heap_start) when calculating default heap size (to take into account loss due to alignment).
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-03-05 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
* bootcard.c: use aligned heap_start (instead of
|
||||
original heap_start) when calculating default heap
|
||||
size (to take into account loss due to alignment).
|
||||
|
||||
2008-09-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* clockdrv_shell.c: The Shared Memory Driver no longer requires the
|
||||
|
||||
@@ -82,7 +82,7 @@ char *rtems_progname;
|
||||
* work area up to the work space start as heap area.
|
||||
*/
|
||||
heap_size_default = (size_t) ((char *) Configuration.work_space_start
|
||||
- (char *) work_area_start);
|
||||
- (char *) heap_start);
|
||||
|
||||
/* Keep it as a multiple of 16 bytes */
|
||||
heap_size_default &= ~((size_t) 0xf);
|
||||
|
||||
Reference in New Issue
Block a user