diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1998-02-24 22:02:12 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1998-02-24 22:02:12 +0000 |
commit | 56d872e11254cc8a8ca03e06d9b6ae78fb8a078a (patch) | |
tree | 62ecd9bb0df576d25332aa156fe27087dac7f799 /sys/arch/i386/include | |
parent | b3cbc0b9e486970f437889ce506f6275f8ebcb1e (diff) |
First commit of /boot changes/fixes. More to come.
Add BIOS PCI probe stuff.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/biosvar.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h index c737c55d4fd..906792f708b 100644 --- a/sys/arch/i386/include/biosvar.h +++ b/sys/arch/i386/include/biosvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: biosvar.h,v 1.26 1998/01/09 12:14:40 niklas Exp $ */ +/* $OpenBSD: biosvar.h,v 1.27 1998/02/24 22:02:07 weingart Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -130,7 +130,16 @@ typedef struct _bios_apminfo { u_int apm_entry; } bios_apminfo_t; -#define BOOTARG_CKSUMLEN 3 /* u_int32_t */ +#define BOOTARG_CKSUMLEN 3 /* u_int32_t */ + +#define BOOTARG_PCIINFO 4 +typedef struct _bios_pciinfo { + /* PCI BIOS v2.0+ - Installation check values */ + u_int32_t pci_chars; /* Characteristics (%eax) */ + u_int32_t pci_rev; /* BCD Revision (%ebx) */ + u_int32_t pci_entry32; /* PM entry point for PCI BIOS */ + u_int32_t pci_lastbus; /* Number of last PCI bus */ +} bios_pciinfo_t; #if defined(_KERNEL) || defined (_STANDALONE) |