Go to the source code of this file.
Defines | |
| #define | BIOS_SEG 0xf000 |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| int | find_pnp_bios (void) |
| Locate Plug-and-Play BIOS. | |
Definition in file pnpbios.h.
| #define BIOS_SEG 0xf000 |
Definition at line 13 of file pnpbios.h.
Referenced by bios_find_smbios(), is_pnp_bios(), undi_load(), and undinet_probe().
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |
| int find_pnp_bios | ( | void | ) |
Locate Plug-and-Play BIOS.
| pnp_offset | Offset of PnP BIOS structure within BIOS segment |
Definition at line 96 of file pnpbios.c.
References is_pnp_bios().
Referenced by undi_load(), and undinet_probe().
00096 { 00097 static int pnp_offset = 0; 00098 00099 if ( pnp_offset ) 00100 return pnp_offset; 00101 00102 for ( pnp_offset = 0 ; pnp_offset < 0x10000 ; pnp_offset += 0x10 ) { 00103 if ( is_pnp_bios ( pnp_offset ) == 0 ) 00104 return pnp_offset; 00105 } 00106 00107 pnp_offset = -1; 00108 return pnp_offset; 00109 }
1.5.7.1