diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-10-14 01:04:26 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-10-14 01:04:26 +0000 |
commit | 7a9e3739a66bd0fadfdc611c72e879fcc6f9ef01 (patch) | |
tree | 1a7a1f773f6474e1d1926cdb25c2e1c034279a1b /sys/arch/i386/include | |
parent | 86da1a87f10fc8abf5c927a5180c26db793cf0ec (diff) |
Support for bios memory maps.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/biosvar.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/arch/i386/include/biosvar.h b/sys/arch/i386/include/biosvar.h index 94a24b087d2..0eb4ee8a081 100644 --- a/sys/arch/i386/include/biosvar.h +++ b/sys/arch/i386/include/biosvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: biosvar.h,v 1.15 1997/10/12 23:55:12 mickey Exp $ */ +/* $OpenBSD: biosvar.h,v 1.16 1997/10/14 01:04:25 weingart Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -54,6 +54,15 @@ #define BIOSM_F144K 0xf0 /* floppy ds/hd 18 spt 3.50" */ #define BIOSM_OTHER 0xf0 /* any other */ +/* + * BIOS memory maps + */ +#define BIOS_MAP_END 0x00 /* End of array XXX - special */ +#define BIOS_MAP_FREE 0x01 /* Usable memory */ +#define BIOS_MAP_RES 0x02 /* Reseved memory */ +#define BIOS_MAP_ACPI 0x03 /* ACPI Reclaim memory */ +#define BIOS_MAP_NVS 0x04 /* ACPI NVS memory */ + /* * CTL_BIOS definitions. */ @@ -115,6 +124,12 @@ struct EDD_CB { u_int64_t edd_daddr; /* starting block */ }; +struct BIOS_MAP { + u_int32_t addr; /* Beginning of block */ + u_int32_t size; /* Size of block */ + int type; /* Type of block */ +}; + #ifdef _KERNEL #include <machine/bus.h> |