/* * Include file for the interface to a PnP BIOS * * Original BIOS code (C) 1998 Christian Schmidt (chr.schmidt@tu-bs.de) * PnP handler parts (c) 1998 Tom Lees <tom@lpsg.demon.co.uk> * Minor reorganizations by David Hinds <dahinds@users.sourceforge.net>
*/
/* * Events that can be received by "get event"
*/ #define PNPEV_ABOUT_TO_CHANGE_CONFIG 0x0001 #define PNPEV_DOCK_CHANGED 0x0002 #define PNPEV_SYSTEM_DEVICE_CHANGED 0x0003 #define PNPEV_CONFIG_CHANGED_FAILED 0x0004 #define PNPEV_UNKNOWN_SYSTEM_EVENT 0xffff /* 0x8000 through 0xfffe are OEM defined */
/* * Messages that should be sent through "send message"
*/ #define PNPMSG_OK 0x00 #define PNPMSG_ABORT 0x01 #define PNPMSG_UNDOCK_DEFAULT_ACTION 0x40 #define PNPMSG_POWER_OFF 0x41 #define PNPMSG_PNP_OS_ACTIVE 0x42 #define PNPMSG_PNP_OS_INACTIVE 0x43
#pragmapack(1) union pnp_bios_install_struct { struct {
u32 signature; /* "$PnP" */
u8 version; /* in BCD */
u8 length; /* length in bytes, currently 21h */
u16 control; /* system capabilities */
u8 checksum; /* all bytes must add up to 0 */
u32 eventflag; /* phys. address of the event flag */
u16 rmoffset; /* real mode entry point */
u16 rmcseg;
u16 pm16offset; /* 16 bit protected mode entry */
u32 pm16cseg;
u32 deviceID; /* EISA encoded system ID or 0 */
u16 rmdseg; /* real mode data segment */
u32 pm16dseg; /* 16 bit pm data segment base */
} fields; char chars[0x21]; /* To calculate the checksum */
}; #pragmapack()
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.