diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2007-10-28 21:23:49 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2007-10-28 21:23:49 +0000 |
| commit | 8518d50a634be0a29d3c3a56c74b6b98509704a5 (patch) | |
| tree | 7b9079349353dab6e5c41cb3230d6c339d05d93e /sys/amd64/include/pc | |
| parent | f10b1ebc7874753acbf8482e8510b86ce9c2047e (diff) | |
Notes
Diffstat (limited to 'sys/amd64/include/pc')
| -rw-r--r-- | sys/amd64/include/pc/bios.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/amd64/include/pc/bios.h b/sys/amd64/include/pc/bios.h index ffad3695f754..782d4bfc6634 100644 --- a/sys/amd64/include/pc/bios.h +++ b/sys/amd64/include/pc/bios.h @@ -38,10 +38,16 @@ extern u_int32_t bios_sigsearch(u_int32_t start, u_char *sig, int siglen, /* * Int 15:E820 'SMAP' structure - * - * XXX add constants for type */ + #define SMAP_SIG 0x534D4150 /* 'SMAP' */ + +#define SMAP_TYPE_MEMORY 1 +#define SMAP_TYPE_RESERVED 2 +#define SMAP_TYPE_ACPI_RECLAIM 3 +#define SMAP_TYPE_ACPI_NVS 4 +#define SMAP_TYPE_ACPI_ERROR 5 + struct bios_smap { u_int64_t base; u_int64_t length; |
