Chameleon Applications

Chameleon Applications Svn Source Tree

Root/branches/iFabio/Test/i386/libsaio/acpi_patcher.h

Source at commit 166 created 13 years 7 months ago.
By ifabio, Trunk the "i386/boot2/boot.h" to match with "chameleon trunk 568". Add suggest from scrax (hidden and active option for bdmesg and doc). On test, the icon for the installer...(need feedback I use a dirty method :P). Revised the background (I delete the white background) need more work on the chameleon title.
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
10uint64_t acpi10_p;
11uint64_t acpi20_p;
12uint64_t smbios_p;
13
14extern int setupAcpi();
15
16extern EFI_STATUS addConfigurationTable();
17
18extern EFI_GUID gEfiAcpiTableGuid;
19extern EFI_GUID gEfiAcpi20TableGuid;
20
21struct p_state
22{
23union
24{
25uint16_t Control;
26struct
27{
28uint8_t VID;// Voltage ID
29uint8_t FID;// Frequency ID
30};
31};
32
33uint8_tCID;// Compare ID
34uint32_tFrequency;
35};
36
37#endif /* !__LIBSAIO_ACPI_PATCHER_H */
38

Archive Download this file

Revision: 166