diff options
author | msmith <msmith@FreeBSD.org> | 2000-09-30 20:12:27 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-09-30 20:12:27 +0000 |
commit | 43b494595ef50e9426434fd028f71567c7fc2e36 (patch) | |
tree | 04488cdbfa2a244cc961901253683a6d7f5405b8 /sys/amd64/include | |
parent | 8cc643d7ff3e76e0d1cadc99dbd6ad666b8a0171 (diff) | |
download | FreeBSD-src-43b494595ef50e9426434fd028f71567c7fc2e36.zip FreeBSD-src-43b494595ef50e9426434fd028f71567c7fc2e36.tar.gz |
More updates to the ACPI code:
- Move all register I/O into acpi_io.c
- Move event handling into acpi_event.c
- Reorganise headers into acpivar/acpireg/acpiio
- Move find-RSDT and find-ACPI-owned-memory into acpi_machdep
- Allocate all resources (except those detailed only by AML)
as real resources. Add infrastructure that will make adding
resource support to AML code easy.
- Remove all ACPI #ifdefs in non-ACPI code
- Removed unnecessary includes
- Minor style and commenting fixes
Reviewed by: iwasaki
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 1d8b893..9df5a0d 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)); + |