diff options
| author | Mike Smith <msmith@FreeBSD.org> | 2000-09-30 20:12:27 +0000 |
|---|---|---|
| committer | Mike Smith <msmith@FreeBSD.org> | 2000-09-30 20:12:27 +0000 |
| commit | 96f5284585e607865edb3e61d295e468e954afea (patch) | |
| tree | 05d4c764085fab48ce2fea8b4939df329194e6ef /sys/amd64/include | |
| parent | bde5ba9dc0f0b25c209f5805090ca87988519ae1 (diff) | |
Notes
Diffstat (limited to 'sys/amd64/include')
| -rw-r--r-- | sys/amd64/include/pc/bios.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/amd64/include/pc/bios.h b/sys/amd64/include/pc/bios.h index 1d8b893dcd55..9df5a0dcaae6 100644 --- a/sys/amd64/include/pc/bios.h +++ b/sys/amd64/include/pc/bios.h @@ -218,3 +218,16 @@ extern int bios16(struct bios_args *, char *, ...); extern int bios16_call(struct bios_regs *, char *); extern int bios32(struct bios_regs *, u_int, u_short); extern void set_bios_selectors(struct bios_segments *, int); + +/* + * Int 15:E820 'SMAP' structure + * + * XXX add constants for type + */ +#define SMAP_SIG 0x534D4150 /* 'SMAP' */ +struct bios_smap { + u_int64_t base; + u_int64_t length; + u_int32_t type; +} __attribute__ ((packed)); + |
