Chameleon

Chameleon Svn Source Tree

Root/branches/ErmaC/Enoch/i386/libsaio/acpi_patcher.h

1/*
2 * Copyright 2008 mackerintel
3 * 2010 mojodojo
4 */
5
6#ifndef __LIBSAIO_ACPI_PATCHER_H
7#define __LIBSAIO_ACPI_PATCHER_H
8
9#include "libsaio.h"
10
11uint64_t acpi10_p;
12uint64_t acpi20_p;
13uint64_t smbios_p;
14
15extern int setupAcpi();
16
17extern EFI_STATUS addConfigurationTable();
18
19extern EFI_GUID gEfiAcpiTableGuid;
20extern EFI_GUID gEfiAcpi20TableGuid;
21
22struct p_state
23{
24union
25{
26uint16_t Control;
27struct
28{
29uint8_t VID;// Voltage ID
30uint8_t FID;// Frequency ID
31};
32};
33
34uint8_tCID;// Compare ID
35uint32_tFrequency;
36};
37
38#endif /* !__LIBSAIO_ACPI_PATCHER_H */
39

Archive Download this file

Revision: 2871