forked from Imagelibrary/rtems
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/startup/bspgetworkarea.c: Change size_t to ssize_t on bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits which would limit the work area to 64K.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* shared/startup/bspgetworkarea.c: Change size_t to ssize_t on
|
||||||
|
bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits
|
||||||
|
which would limit the work area to 64K.
|
||||||
|
|
||||||
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-09-22 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* shared/console/inch.c, shared/startup/panic.c: Use standardized
|
* shared/console/inch.c, shared/startup/panic.c: Use standardized
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ extern uintptr_t _bsp_sbrk_init(uintptr_t, uintptr_t*);
|
|||||||
* Heap.
|
* Heap.
|
||||||
*/
|
*/
|
||||||
void bsp_get_work_area(
|
void bsp_get_work_area(
|
||||||
void **work_area_start,
|
void **work_area_start,
|
||||||
size_t *work_area_size,
|
ssize_t *work_area_size,
|
||||||
void **heap_start,
|
void **heap_start,
|
||||||
size_t *heap_size
|
ssize_t *heap_size
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
uintptr_t work_size;
|
uintptr_t work_size;
|
||||||
|
|||||||
Reference in New Issue
Block a user