summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/powerpc
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-04-22 16:44:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-04-22 16:44:04 +0000
commit96981e3ae65dd3621f92c8c93fb9c970ddd07509 (patch)
tree86e8385b104a821c77920420f6dd084d4ca72945 /c/src/exec/score/cpu/powerpc
parentadded stack allocation fields to the cpu table (diff)
downloadrtems-96981e3ae65dd3621f92c8c93fb9c970ddd07509.tar.bz2
added stack allocation fields to the cpu table
Diffstat (limited to 'c/src/exec/score/cpu/powerpc')
-rw-r--r--c/src/exec/score/cpu/powerpc/cpu.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/c/src/exec/score/cpu/powerpc/cpu.h b/c/src/exec/score/cpu/powerpc/cpu.h
index e55b2f9e75..ce365a04ec 100644
--- a/c/src/exec/score/cpu/powerpc/cpu.h
+++ b/c/src/exec/score/cpu/powerpc/cpu.h
@@ -426,12 +426,6 @@ typedef struct CPU_Interrupt_frame {
/*
* The following table contains the information required to configure
* the PowerPC processor specific parameters.
- *
- * NOTE: The interrupt_stack_size field is required if
- * CPU_ALLOCATE_INTERRUPT_STACK is defined as TRUE.
- *
- * The pretasking_hook, predriver_hook, and postdriver_hook,
- * and the do_zero_of_workspace fields are required on ALL CPUs.
*/
typedef struct {
@@ -442,6 +436,10 @@ typedef struct {
boolean do_zero_of_workspace;
unsigned32 interrupt_stack_size;
unsigned32 extra_mpci_receive_server_stack;
+ void * (*stack_allocate_hook)( unsigned32 );
+ void (*stack_free_hook)( void* );
+ /* end of fields required on all CPUs */
+
unsigned32 clicks_per_usec; /* Timer clicks per microsecond */
unsigned32 serial_per_sec; /* Serial clocks per second */
boolean serial_external_clock;