Kevin O'Connor | 4f790aa | 2013-09-14 23:04:08 -0400 | [diff] [blame] | 1 | #ifndef __PNPHEADER_H |
2 | #define __PNPHEADER_H | ||||
3 | |||||
4 | #define PNP_SIGNATURE 0x506e5024 // $PnP | ||||
5 | |||||
6 | struct pnpheader { | ||||
7 | u32 signature; | ||||
8 | u8 version; | ||||
9 | u8 length; | ||||
10 | u16 control; | ||||
11 | u8 checksum; | ||||
12 | u32 eventloc; | ||||
13 | u16 real_ip; | ||||
14 | u16 real_cs; | ||||
15 | u16 prot_ip; | ||||
16 | u32 prot_base; | ||||
17 | u32 oemid; | ||||
18 | u16 real_ds; | ||||
19 | u32 prot_database; | ||||
20 | } PACKED; | ||||
21 | |||||
22 | #define FUNCTION_NOT_SUPPORTED 0x82 | ||||
23 | |||||
24 | #endif // pnpheader.h |