Chameleon

Chameleon Svn Source Tree

Root/branches/slice/rev749/libsaio/acpi_patcher.h

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
12extern void *new_dsdt;
13extern uint64_t smbios_p;
14
15extern int setupAcpi();
16
17extern EFI_STATUS addConfigurationTable();
18extern int search_and_get_acpi_fd(const char *, const char **);
19
20extern EFI_GUID gEfiAcpiTableGuid;
21extern EFI_GUID gEfiAcpi20TableGuid;
22
23struct p_state
24{
25union
26{
27uint16_t Control;
28struct
29{
30uint8_t VID;// Voltage ID
31uint8_t FID;// Frequency ID
32};
33};
34
35uint8_tCID;// Compare ID
36uint32_tFrequency;
37};
38
39#endif /* !__LIBSAIO_ACPI_PATCHER_H */
40

Archive Download this file

Revision: 1169