Chameleon

Chameleon Svn Source Tree

Root/branches/meklortOld/i386/modules/ACPIPatcher/acpi_patcher.h

Source at commit 1166 created 13 years 10 days ago.
By meklort, Fixed recent Makefile changes. Please do not use /Users/evan/SourceCode/tmp/chameleon/trunk or VPATH. the *only* time you should use /Users/evan/SourceCode/tmp/chameleon/trunk is when setting the SRCROOT variable. Also note that very soon make pkg is going to be removed. The pkg build script in trunk is very out of date. Instead please use the package maker at http://forge.voodooprojects.org/p/chameleonApplications/. Once this is ready for trunk it will be merged.
1/*
2 * Copyright 2008 mackerintel
3 */
4
5#ifndef __LIBSAIO_ACPI_PATCHER_H
6#define __LIBSAIO_ACPI_PATCHER_H
7
8#include "libsaio.h"
9#include "efi.h"
10#include "ACPIPatcher.h"
11
12#define ACPI_2_02
13#define ACPI_1_01
14
15
16extern uint64_t acpi10_p;
17extern uint64_t acpi20_p;
18extern uint64_t smbios_p;
19
20extern int setupAcpi();
21
22extern EFI_STATUS addConfigurationTable();
23
24extern EFI_GUID gEfiAcpiTableGuid;
25extern EFI_GUID gEfiAcpi20TableGuid;
26
27struct p_state
28{
29union
30{
31uint16_t Control;
32struct
33{
34uint8_t VID;// Voltage ID
35uint8_t FID;// Frequency ID
36};
37};
38
39uint8_tCID;// Compare ID
40uint32_tFrequency;
41};
42
43#endif /* !__LIBSAIO_ACPI_PATCHER_H */
44

Archive Download this file

Revision: 1166