#include "romfile.h" // romfile_loadint
#include "stacks.h" // farcall16big
#include "std/optionrom.h" // struct rom_header
+#include "std/pnpbios.h" // PNP_SIGNATURE
#include "string.h" // memset
#include "util.h" // get_pnp_offset
#include "config.h" // BUILD_BIOS_ADDR
#include "farptr.h" // SET_FARVAR
#include "output.h" // dprintf
+#include "std/pnpbios.h" // PNP_SIGNATURE
#include "string.h" // checksum
#include "util.h" // pnp_init
-struct pnpheader {
- u32 signature;
- u8 version;
- u8 length;
- u16 control;
- u8 checksum;
- u32 eventloc;
- u16 real_ip;
- u16 real_cs;
- u16 prot_ip;
- u32 prot_base;
- u32 oemid;
- u16 real_ds;
- u32 prot_database;
-} PACKED;
-
extern struct pnpheader PNPHEADER;
extern char pnp_string[];
char pnp_string[] __aligned(2) VARFSEG = " $PnP";
#endif
-#define FUNCTION_NOT_SUPPORTED 0x82
-
// BBS - Get Version and Installation Check
static u16
handle_pnp60(u16 *args)