aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware/acpi/acpi_rsdt.c
blob: 56390ef2cab2ed8e516c86e33e922051b052929f (plain)
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
/*
 * 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 "acpi2_0.h"

ACPI_2_0_RSDT Rsdt={	
		{
				ACPI_2_0_RSDT_SIGNATURE,
				sizeof (ACPI_TABLE_HEADER), // udpated later
				ACPI_2_0_RSDT_REVISION,
				0x0, 				  //Checksum, updated later
				ACPI_OEM_ID, 
				ACPI_OEM_TABLE_ID,
				ACPI_OEM_REVISION,
				ACPI_CREATOR_ID,
				ACPI_CREATOR_REVISION,
		},
		{0x0, 0x0}
};

ACPI_2_0_XSDT Xsdt={
		{
				ACPI_2_0_XSDT_SIGNATURE,
				sizeof (ACPI_TABLE_HEADER),  //update later
				ACPI_2_0_XSDT_REVISION,
				0x0, 				  //Checksum, update later
				ACPI_OEM_ID, 
				ACPI_OEM_TABLE_ID,
				ACPI_OEM_REVISION,
				ACPI_CREATOR_ID,
				ACPI_CREATOR_REVISION,
		},
		{0x0, 0x0},
};


ACPI_2_0_RSDP Rsdp={
		ACPI_2_0_RSDP_SIGNATURE,
		0x00, // Checksum, updated in later
		ACPI_OEM_ID,  // OEM ID,
		ACPI_OEM_REVISION, 
		0x0, // RSDT address, updated later
		sizeof (ACPI_2_0_RSDP),
		0x0, // XSDT address, updated later
		0x0, // Extended Checksum, update later
		{
				0x0, // Reserved
				0x0, // Reserved
				0x0, // Reserved
		}
};