Changeset b4f43549 in rtems
- Timestamp:
- 02/16/05 17:05:47 (17 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- cc043dc
- Parents:
- afe666f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/cpu/powerpc/rtems/score/cpu.h
rafe666f rb4f43549 61 61 #include <rtems/new-exceptions/cpu.h> 62 62 #endif 63 64 /* 65 * Should be large enough to run all RTEMS tests. This insures 66 * that a "reasonable" small application should not have any problems. 67 */ 68 69 #define CPU_STACK_MINIMUM_SIZE (1024*8) 70 71 /* 72 * CPU's worst alignment requirement for data types on a byte boundary. This 73 * alignment does not take into account the requirements for the stack. 74 */ 75 76 #define CPU_ALIGNMENT (PPC_ALIGNMENT) 77 78 /* 79 * This number corresponds to the byte alignment requirement for the 80 * heap handler. This alignment requirement may be stricter than that 81 * for the data types alignment specified by CPU_ALIGNMENT. It is 82 * common for the heap to follow the same alignment requirement as 83 * CPU_ALIGNMENT. If the CPU_ALIGNMENT is strict enough for the heap, 84 * then this should be set to CPU_ALIGNMENT. 85 * 86 * NOTE: This does not have to be a power of 2. It does have to 87 * be greater or equal to than CPU_ALIGNMENT. 88 */ 89 90 #define CPU_HEAP_ALIGNMENT (PPC_ALIGNMENT) 91 92 /* 93 * This number corresponds to the byte alignment requirement for memory 94 * buffers allocated by the partition manager. This alignment requirement 95 * may be stricter than that for the data types alignment specified by 96 * CPU_ALIGNMENT. It is common for the partition to follow the same 97 * alignment requirement as CPU_ALIGNMENT. If the CPU_ALIGNMENT is strict 98 * enough for the partition, then this should be set to CPU_ALIGNMENT. 99 * 100 * NOTE: This does not have to be a power of 2. It does have to 101 * be greater or equal to than CPU_ALIGNMENT. 102 */ 103 104 #define CPU_PARTITION_ALIGNMENT (PPC_ALIGNMENT) 105 106 /* 107 * This number corresponds to the byte alignment requirement for the 108 * stack. This alignment requirement may be stricter than that for the 109 * data types alignment specified by CPU_ALIGNMENT. If the CPU_ALIGNMENT 110 * is strict enough for the stack, then this should be set to 0. 111 * 112 * NOTE: This must be a power of 2 either 0 or greater than CPU_ALIGNMENT. 113 */ 114 115 #define CPU_STACK_ALIGNMENT (PPC_STACK_ALIGNMENT) 116 63 117 64 118 #ifndef ASM
Note: See TracChangeset
for help on using the changeset viewer.