ia64/xen-unstable

view tools/firmware/acpi/acpi_madt.c @ 6392:bca2fd76995e

Add EXT3 as built-in filesystem for x86/64 domU.
author kaf24@firebug.cl.cam.ac.uk
date Wed Aug 24 15:21:48 2005 +0000 (2005-08-24)
parents bc8bb3a26ccc
children 739154e26fb7 f8e7af29daa1 06d84bf87159
line source
1 /*
2 * Copyright (c) 2004, Intel Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15 * Place - Suite 330, Boston, MA 02111-1307 USA.
16 *
17 */
18 #include "acpi_madt.h"
20 //
21 // Multiple APIC Description Table
22 //
24 ACPI_MULTIPLE_APIC_DESCRIPTION_TABLE Madt = {
25 {
26 {
27 ACPI_MULTIPLE_APIC_DESCRIPTION_TABLE_SIGNATURE,
28 sizeof (ACPI_MULTIPLE_APIC_DESCRIPTION_TABLE),
29 ACPI_2_0_MADT_REVISION,
30 0x00, // Checksum
31 ACPI_OEM_ID,
32 ACPI_OEM_TABLE_ID,
33 ACPI_OEM_REVISION,
34 ACPI_CREATOR_ID,
35 ACPI_CREATOR_REVISION,
36 },
37 ACPI_LOCAL_APIC_ADDRESS,
38 ACPI_MULTIPLE_APIC_FLAGS,
39 },
40 //
41 // LOCAL APIC Entries for 4 processors.
42 //
43 {
44 {
45 ACPI_PROCESSOR_LOCAL_APIC,
46 sizeof (ACPI_LOCAL_APIC_STRUCTURE),
47 0x00,
48 0x00,
49 0x00000001,
50 },
52 {
53 ACPI_PROCESSOR_LOCAL_APIC,
54 sizeof (ACPI_LOCAL_APIC_STRUCTURE),
55 0x01,
56 0x00,
57 0x00000000
58 },
60 {
61 ACPI_PROCESSOR_LOCAL_APIC,
62 sizeof (ACPI_LOCAL_APIC_STRUCTURE),
63 0x02,
64 0x00,
65 0x00000000
66 },
68 {
69 ACPI_PROCESSOR_LOCAL_APIC,
70 sizeof (ACPI_LOCAL_APIC_STRUCTURE),
71 0x03,
72 0x00,
73 0x00000000
74 }
75 }
76 ,
78 //
79 // IO APIC
80 //
81 {
82 {
83 ACPI_IO_APIC,
84 sizeof (ACPI_IO_APIC_STRUCTURE),
85 0x00,
86 0x00,
87 ACPI_IO_APIC_ADDRESS_1,
88 0x0000
89 }
90 }
91 };