Chameleon

Chameleon Svn Source Tree

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

Source at commit 656 created 13 years 4 months ago.
By meklort, ACPI patcher update, now in sync with trunk. Slight makefile change.
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: 656