acpi.c (244167) | acpi.c (245652) |
---|---|
1/*- 2 * Copyright (c) 2012 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2012 NetApp, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: projects/bhyve/usr.sbin/bhyve/acpi.c 244167 2012-12-13 01:58:11Z grehan $ | 26 * $FreeBSD: head/usr.sbin/bhyve/acpi.c 244167 2012-12-13 01:58:11Z grehan $ |
27 */ 28 29/* 30 * bhyve ACPI table generator. 31 * 32 * Create the minimal set of ACPI tables required to boot FreeBSD (and 33 * hopefully other o/s's) by writing out ASL template files for each of 34 * the tables and the compiling them to AML with the Intel iasl compiler. --- 9 unchanged lines hidden (view full) --- 44 * XSDT -> 0xf0480 (36 bytes + 8*N table addrs, 2 used) 45 * MADT -> 0xf0500 (depends on #CPUs) 46 * FADT -> 0xf0600 (268 bytes) 47 * FACS -> 0xf0780 (64 bytes) 48 * DSDT -> 0xf0800 (variable - can go up to 0x100000) 49 */ 50 51#include <sys/cdefs.h> | 27 */ 28 29/* 30 * bhyve ACPI table generator. 31 * 32 * Create the minimal set of ACPI tables required to boot FreeBSD (and 33 * hopefully other o/s's) by writing out ASL template files for each of 34 * the tables and the compiling them to AML with the Intel iasl compiler. --- 9 unchanged lines hidden (view full) --- 44 * XSDT -> 0xf0480 (36 bytes + 8*N table addrs, 2 used) 45 * MADT -> 0xf0500 (depends on #CPUs) 46 * FADT -> 0xf0600 (268 bytes) 47 * FACS -> 0xf0780 (64 bytes) 48 * DSDT -> 0xf0800 (variable - can go up to 0x100000) 49 */ 50 51#include <sys/cdefs.h> |
52__FBSDID("$FreeBSD: projects/bhyve/usr.sbin/bhyve/acpi.c 244167 2012-12-13 01:58:11Z grehan $"); | 52__FBSDID("$FreeBSD: head/usr.sbin/bhyve/acpi.c 244167 2012-12-13 01:58:11Z grehan $"); |
53 54#include <sys/param.h> 55#include <sys/errno.h> 56#include <sys/stat.h> 57 58#include <paths.h> 59#include <stdio.h> 60#include <stdlib.h> --- 784 unchanged lines hidden --- | 53 54#include <sys/param.h> 55#include <sys/errno.h> 56#include <sys/stat.h> 57 58#include <paths.h> 59#include <stdio.h> 60#include <stdlib.h> --- 784 unchanged lines hidden --- |