00001 #ifndef splcoddef_h 00002 #define splcoddef_h 00003 00004 #define SPL_C_EMB 32 00005 #define SPL_C_MCHECK 33 00006 #define SPL_C_MEGA 34 00007 #define SPL_C_HWCLK 36 00008 #define SPL_C_INVALIDATE 38 00009 #define SPL_C_PERFMON 40 00010 #define SPL_C_POOL 42 00011 #define SPL_C_MAILBOX 44 00012 #define SPL_C_IOLOCK11 46 00013 #define SPL_C_IOLOCK10 47 00014 #define SPL_C_IOLOCK9 48 00015 #define SPL_C_SCHED 50 00016 #define SPL_C_MMG 52 00017 #define SPL_C_IO_MISC 54 00018 #define SPL_C_PORT 55 00019 #define SPL_C_TIMER 56 00020 #define SPL_C_TX_SYNCH 57 00021 #define SPL_C_IOLOCK8 58 00022 #define SPL_C_LCKMGR 59 00023 #define SPL_C_FILSYS 60 00024 #define SPL_C_QUEUEAST 62 00025 #define SPL_C_SCS 58 00026 #define SPL__MIN_INDEX 32 00027 #define SPL__MAX_INDEX 62 00028 #define SPL__NUM_LOCKS 31 00029 00030 00031 00032 #define SMP_M_ENABLED 0x1 00033 #define SMP_M_START_CPU 0x2 00034 #define SMP_M_CRASH_CPU 0x4 00035 #define SMP_M_TODR 0x8 00036 #define SMP_M_UNMOD_DRIVER 0x10 00037 #define SMP_M_TODR_ACK 0x20 00038 #define SMP_M_SYNCH 0x40 00039 #define SMP_M_BENIGN 0x80 00040 #define SMP_M_MINIMUM_ACQUIRE 0x100 00041 #define SMP_M_READ_SCC 0x200 00042 #define SMP_M_READ_SCC_ACK 0x400 00043 #define SMP_M_CLOCKS_SYNCH 0x800 00044 #define SMP_M_DISPLAY_TRANSITIONS 0x1000 00045 #define SMP_M_OVERRIDE 0x1 00046 #define SMP_M_FOREVER 0x2 00047 #define SMP_M_FKB_FRU_CHANGE 0x1 00048 #define SMP_M_FKB_DOORBELL 0x2 00049 #define SMP_S_SMPDEF 4 00050 00051 struct _smp { 00052 struct { 00053 unsigned smp_v_enabled : 1; 00054 unsigned smp_v_start_cpu : 1; 00055 unsigned smp_v_crash_cpu : 1; 00056 unsigned smp_v_todr : 1; 00057 unsigned smp_v_unmod_driver : 1; 00058 unsigned smp_v_todr_ack : 1; 00059 unsigned smp_v_synch : 1; 00060 unsigned smp_v_benign : 1; 00061 unsigned smp_v_minimum_acquire : 1; 00062 unsigned smp_v_read_scc : 1; 00063 unsigned smp_v_read_scc_ack : 1; 00064 unsigned smp_v_clocks_synch : 1; 00065 00066 unsigned smp_v_display_transitions : 1; 00067 unsigned smp_v_fill_0_ : 3; 00068 }; 00069 struct { 00070 unsigned smp_v_override : 1; 00071 unsigned smp_v_forever : 1; 00072 00073 unsigned smp_v_fill_1_ : 6; 00074 }; 00075 struct { 00076 unsigned smp_v_fkb_fru_change : 1; 00077 unsigned smp_v_fkb_doorbell : 1; 00078 unsigned smp_v_fill_2_ : 6; 00079 }; 00080 }; 00081 00082 #endif 00083 00084