Chameleon

Chameleon Svn Source Tree

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

Source at commit 576 created 13 years 6 months ago.
By meklort, Retrieve and store the machine's smbios product name. Load machin.DSDT.aml file if it exists.
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
11extern uint64_t acpi10_p;
12extern uint64_t acpi20_p;
13extern uint64_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: 576