]> Joshua Wise's Git repositories - netwatch.git/blame - include/smi.h
Be more quiet about this whole transmit and receive business. This time, we actually...
[netwatch.git] / include / smi.h
CommitLineData
85bc8ca6
JW
1#ifndef SMI_H
2#define SMI_H
3
4extern void smi_disable(); /* akin to cli / sti */
5extern void smi_enable();
6
7extern void smi_poll();
8extern unsigned long smi_status(); /* Architecturally defined; for debugging only. */
9
07d1dd26
JW
10typedef enum {
11 SMI_EVENT_FAST_TIMER = 0,
8a677ebb 12 SMI_EVENT_DEVTRAP_KBC,
73fb9b4c 13 SMI_EVENT_GBL_RLS,
07d1dd26
JW
14 SMI_EVENT_MAX
15} smi_event_t;
16
17
18typedef void (*smi_handler_t)(smi_event_t);
19
20#define SMI_HANDLER_NONE ((smi_handler_t)0)
21#define SMI_HANDLER_IGNORE ((smi_handler_t)-1)
22
23extern int smi_register_handler(smi_event_t ev, smi_handler_t hnd);
24extern int smi_enable_event(smi_event_t ev);
25extern int smi_disable_event(smi_event_t ev);
26
85bc8ca6 27#endif
This page took 0.021971 seconds and 4 git commands to generate.