56#define PNP_BIOS_SIGNATURE \
57 ( ( '$' << 0 ) + ( 'P' << 8 ) + ( 'n' << 16 ) + ( 'P' << 24 ) )
80 len =
u.pnp_bios.length;
82 for ( i = 0 ; i <
len ; i++ ) {
102 static int pnp_offset = 0;
107 for ( pnp_offset = 0 ; pnp_offset < 0x10000 ; pnp_offset += 0x10 ) {
uint16_t offset
Offset to command line.
union @104331263140136355135267063077374276003064103115 u
#define DBG(...)
Print a debugging message.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define EINVAL
Invalid argument.
static int is_pnp_bios(unsigned int offset)
Test address for PnP BIOS structure.
#define PNP_BIOS_SIGNATURE
Signature for a PnP BIOS structure.
int find_pnp_bios(void)
Locate Plug-and-Play BIOS.
uint8_t checksum
Checksum.
uint32_t signature
Signature.
uint8_t version
Version as BCD (e.g.
uint16_t control
System capabilities.
uint8_t length
Length of this structure.