mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-14 02:02:39 +08:00
updartes from Tony Bennett
This commit is contained in:
1 parent
767a6c614c
commit
d0b7c4e61e
5 files changed
+235
-702
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -216,26 +216,12 @@ typedef struct {
|
||||
void (*predriver_hook)( void );
|
||||
void (*postdriver_hook)( void );
|
||||
void (*idle_task)( void );
|
||||
|
||||
/* HPPA simulator is slow enough; don't waste time
|
||||
* zeroing memory that is already zero
|
||||
*/
|
||||
boolean do_zero_of_workspace;
|
||||
|
||||
unsigned32 interrupt_stack_size;
|
||||
unsigned32 extra_mpci_receive_server_stack;
|
||||
|
||||
/*
|
||||
* Control of external interrupts.
|
||||
* We keep a table of external vector numbers (0 - 31)
|
||||
* The table is sorted by priority, that is: the first entry
|
||||
* in the table indicates the vector that is highest priorty.
|
||||
* The handler function is stored in _ISR_Vector_Table[] and
|
||||
* is set by rtems_interrupt_catch()
|
||||
*/
|
||||
|
||||
unsigned32 external_interrupts; /* # of external interrupts we use */
|
||||
unsigned32 external_interrupt[HPPA_EXTERNAL_INTERRUPTS];
|
||||
void * (*stack_allocate_hook)( unsigned32 );
|
||||
void (*stack_free_hook)( void * );
|
||||
/* end of fields required on all CPUs */
|
||||
|
||||
hppa_rtems_isr_entry spurious_handler;
|
||||
|
||||
@@ -249,9 +235,6 @@ EXTERN unsigned32 _CPU_Default_gr27;
|
||||
EXTERN void *_CPU_Interrupt_stack_low;
|
||||
EXTERN void *_CPU_Interrupt_stack_high;
|
||||
|
||||
/* entry points */
|
||||
void hppa_external_interrupt_spurious_handler(unsigned32, CPU_Interrupt_frame *);
|
||||
|
||||
#endif /* ! ASM */
|
||||
|
||||
/*
|
||||
@@ -285,15 +268,12 @@ void hppa_external_interrupt_spurious_handler(unsigned32, CPU_Interrupt_frame *)
|
||||
|
||||
/*
|
||||
* HPPA has 32 interrupts, then 32 external interrupts
|
||||
* Rtems (_ISR_Vector_Table) is aware of the first 64
|
||||
* A BSP may reserve more.
|
||||
* Rtems (_ISR_Vector_Table) is aware ONLY of the first 32
|
||||
* The BSP is aware of the external interrupts and possibly more.
|
||||
*
|
||||
* External interrupts all come thru the same vector (4)
|
||||
* The external handler is the only person aware of the other
|
||||
* interrupts (genie, rhino, etc)
|
||||
*/
|
||||
|
||||
#define CPU_INTERRUPT_NUMBER_OF_VECTORS (HPPA_INTERRUPT_MAX)
|
||||
#define CPU_INTERRUPT_NUMBER_OF_VECTORS (HPPA_INTERNAL_INTERRUPTS)
|
||||
#define CPU_INTERRUPT_MAXIMUM_VECTOR_NUMBER (CPU_INTERRUPT_NUMBER_OF_VECTORS - 1)
|
||||
|
||||
/*
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1,7 +1,4 @@
|
||||
/*
|
||||
* @(#)hppa.h 1.17 - 95/12/13
|
||||
*
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
* Definitions for HP PA Risc
|
||||
|
||||
+93
-269
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user