13 #define D_OPEN (1 << 6)
14 #define D_CLS (1 << 5)
15 #define D_LCK (1 << 4)
16 #define G_SMRANE (1 << 3)
17 #define C_BASE_SEG ((0 << 2) | (1 << 1) | (0 << 0))
41 #define IOTRAP(x) (trap_sts & (1 << x))
42 u32 trap_sts, trap_cycle;
49 trap_cycle =
RCBA32(0x1e10);
50 for (i = 16; i < 20; i++) {
51 if (trap_cycle & (1 << i))
52 mask |= (0xff << ((i - 16) << 2));
68 for (i = 0; i < 4; i++)
73 printk(
BIOS_DEBUG,
" read/write: %s\n", (trap_cycle & (1 << 24)) ?
"read" :
"write");
75 if (!(trap_cycle & (1 << 24))) {
#define printk(level,...)
void io_trap_handler(int smif)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
int southbridge_io_trap_handler(int smif)
void southbridge_finalize_all(void)
void southbridge_smi_monitor(void)