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