diff options
Diffstat (limited to 'private/mvdm/softpc.new/host/inc/mips/pig/cpuint_c.h')
-rw-r--r-- | private/mvdm/softpc.new/host/inc/mips/pig/cpuint_c.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/private/mvdm/softpc.new/host/inc/mips/pig/cpuint_c.h b/private/mvdm/softpc.new/host/inc/mips/pig/cpuint_c.h new file mode 100644 index 000000000..7046a8326 --- /dev/null +++ b/private/mvdm/softpc.new/host/inc/mips/pig/cpuint_c.h @@ -0,0 +1,42 @@ +#ifndef _CpuInt_c_h +#define _CpuInt_c_h +#define ChipType (228) +#define WaferRevision (1) +#define nQuickTickerThreads (4) +struct InterruptREC +{ + IBOOL Activity; + IBOOL Reset; + IBOOL PoolsGettingTooBig; + IBOOL Hardware; + IBOOL Interval; + IBOOL AsynchIO; + IBOOL QuickTickerScan; + IBOOL SRCI; + IBOOL Disabled; +}; +struct QuickTickerThreadREC +{ + IBOOL Activity; + IUH triggerPoint; + IUH elapsed; +}; +struct QuickTickerREC +{ + IUH triggerPoint; + IUH elapsed; + IUH perTickDelta; + IUH averageRate; + IUH averageError; + struct QuickTickerThreadREC *threads; +}; +enum CPU_INT_TYPE +{ + CPU_HW_RESET = 0, + CPU_TIMER_TICK = 1, + CPU_HW_INT = 2, + CPU_SAD_INT = 3, + CPU_SIGIO_EVENT = 4, + CPU_NPX_INT = 5 +}; +#endif /* ! _CpuInt_c_h */ |