2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>

* shared/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:
Joel Sherrill
2008-10-02 19:12:54 +00:00
parent b4fa916b3c
commit c7932deda1
2 changed files with 10 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2008-10-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/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-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* shared/bspclean.c: Removed.

View File

@@ -21,10 +21,10 @@
* Heap.
*/
void bsp_get_work_area(
void **work_area_start,
size_t *work_area_size,
void **heap_start,
size_t *heap_size
void **work_area_start,
ssize_t *work_area_size,
void **heap_start,
ssize_t *heap_size
)
{
/* Tells us where to put the workspace in case remote debugger is present. */