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

* sp09/screen01.c, sp09/screen12.c, sp25/system.h, sp25/task1.c,
	sp28/init.c, sp39/init.c, sp41/init.c, spfatal01/testcase.h,
	spfatal08/testcase.h: Change size_t to ssize_t on all Heap, Workspace
	and Region calls. On 16-bit architectures, size_t can be 16-bits
	which would limit sizes to 64K. Also address constants which
	overflowed on 16-bit integer targets.
This commit is contained in:
Joel Sherrill
2008-10-02 20:57:28 +00:00
parent 4c09f4b3fe
commit 82478ffc7d
10 changed files with 34 additions and 22 deletions

View File

@@ -29,7 +29,7 @@ rtems_initialization_tasks_table Initialization_tasks[] = {
#define FATAL_ERROR_EXPECTED_IS_INTERNAL TRUE
#define FATAL_ERROR_EXPECTED_ERROR INTERNAL_ERROR_WORKSPACE_ALLOCATION
char Workspace[ 64 * 1024 ] CPU_STRUCTURE_ALIGNMENT;
char Workspace[ 256 ] CPU_STRUCTURE_ALIGNMENT;
void force_error()
{