1/*- 2 * Copyright (c) 1997 Michael Smith 3 * Copyright (c) 1998 Jonathan Lemon 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 10 unchanged lines hidden (view full) --- 19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 * |
27 * $FreeBSD: head/sys/i386/include/pc/bios.h 191111 2009-04-15 17:31:22Z jkim $ |
28 */ 29 30#ifndef _MACHINE_PC_BIOS_H_ 31#define _MACHINE_PC_BIOS_H_ 32 33/* 34 * Signature structure for the BIOS32 Service Directory header 35 */ --- 240 unchanged lines hidden (view full) --- 276#define SMAP_SIG 0x534D4150 /* 'SMAP' */ 277 278#define SMAP_TYPE_MEMORY 1 279#define SMAP_TYPE_RESERVED 2 280#define SMAP_TYPE_ACPI_RECLAIM 3 281#define SMAP_TYPE_ACPI_NVS 4 282#define SMAP_TYPE_ACPI_ERROR 5 283 |
284#define SMAP_XATTR_ENABLED 0x00000001 285#define SMAP_XATTR_NON_VOLATILE 0x00000002 286#define SMAP_XATTR_MASK (SMAP_XATTR_ENABLED | SMAP_XATTR_NON_VOLATILE) 287 |
288struct bios_smap { 289 u_int64_t base; 290 u_int64_t length; 291 u_int32_t type; 292} __packed; 293 294struct bios_oem_signature { 295 char * anchor; /* search anchor string in BIOS memory */ --- 17 unchanged lines hidden --- |