Chameleon

Chameleon Svn Source Tree

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

1/*
2 * Copyright 2008 mackerintel
3 */
4
5/*
6 * cparm : cleaned, moved into a module
7 */
8
9#ifndef __LIBSAIO_ACPI_PATCHER_H
10#define __LIBSAIO_ACPI_PATCHER_H
11
12#include "libsaio.h"
13#include "efi.h"
14
15#define kAcpiPatcher"AcpiPatcher"/* acpi_patcher.c */
16
17#define kDSDT"DSDT"/* acpi_patcher.c */
18#define kDropSSDT"DropSSDT"/* acpi_patcher.c */
19#define kRestartFix"RestartFix" /* acpi_patcher.c */
20#define kGeneratePStates"GeneratePStates"/* acpi_patcher.c */
21#define kGenerateCStates"GenerateCStates"/* acpi_patcher.c */
22#define kGenerateFACS"GenerateFACS"/* acpi_patcher.c */
23#define kMaxRatio"MaxBusRatio"/* acpi_patcher.c */
24#define kMinRatio"MinBusRatio"/* acpi_patcher.c */
25#definekQSSDT"quickSSDTsearch"/* acpi_patcher.c */
26#definekSpeedstep"EnableSpeedStep"/* acpi_patcher.c */
27#define kEnableC4State"EnableC4State"/* acpi_patcher.c */
28
29#define kFACS"FACS"/* acpi_patcher.c */
30#define kSSDT"SSDT"/* acpi_patcher.c */
31#define kHPET"HPET"/* acpi_patcher.c */
32#define kSBST"SBST"/* acpi_patcher.c */
33#define kECDT"ECDT"/* acpi_patcher.c */
34#define kASFT"ASFT"/* acpi_patcher.c */
35#define kDMAR"DMAR"/* acpi_patcher.c */
36#define kFADT"FADT"/* acpi_patcher.c */
37#define kAPIC"APIC"/* acpi_patcher.c */
38#define kMCFG"MCFG"/* acpi_patcher.c */
39#define kOEMDSDT"oemDSDT"/* acpi_patcher.c */
40#define kOEMSSDT"oemSSDT"/* acpi_patcher.c */
41#define kOEMHPET"oemHPET"/* acpi_patcher.c */
42#define kOEMSBST"oemSBST"/* acpi_patcher.c */
43#define kOEMECDT"oemECDT"/* acpi_patcher.c */
44#define kOEMASFT"oemASFT"/* acpi_patcher.c */
45#define kOEMDMAR"oemDMAR"/* acpi_patcher.c */
46#define kOEMFADT"oemFADT"/* acpi_patcher.c */
47#define kOEMAPIC"oemAPIC"/* acpi_patcher.c */
48#define kOEMMCFG"oemMCFG"/* acpi_patcher.c */
49#define kOEMFACS"oemFACS"/* acpi_patcher.c */
50
51#define kUpdateACPI"UpdateACPI" /* acpi_patcher.c */
52
53#define kEnableASPM"EnableASPM"/* acpi_patcher.c */
54
55extern int setupAcpi();
56
57struct p_state
58{
59union
60{
61uint16_t Control;
62struct
63{
64uint8_t VID;// Voltage ID
65uint8_t FID;// Frequency ID
66};
67};
68
69uint8_tCID;// Compare ID
70uint32_tFrequency;
71};
72
73#endif /* !__LIBSAIO_ACPI_PATCHER_H */
74

Archive Download this file

Revision: 789