2009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>

* startup/bspgetworkarea.c: Make bsp_mem_size available for page table
	initialization.
This commit is contained in:
Joel Sherrill
2009-12-11 20:53:03 +00:00
parent fa62f19c1c
commit e0d83f696a
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2009-12-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspgetworkarea.c: Make bsp_mem_size available for page table
initialization.
2009-12-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h, startup/bspgetworkarea.c: Rework bsp_size_memory() to

View File

@@ -49,7 +49,7 @@ static uintptr_t rtemsWorkAreaStart;
/*
* Board's memory size easily be overridden by application.
*/
static uint32_t bsp_mem_size = 0;
uint32_t bsp_mem_size = 0;
/* Size of stack used during initialization. Defined in 'start.s'. */
extern uint32_t _stack_size;
@@ -118,6 +118,7 @@ void bsp_size_memory(void)
#endif
}
bsp_mem_size = topAddr;
}