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:
Till Straumann
2009-03-05 21:11:36 +00:00
parent f1f7563ae8
commit dec6367305
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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);