Chameleon

Chameleon Svn Source Tree

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

Source at commit 1146 created 12 years 10 months ago.
By azimutz, Sync with trunk (r1145). Add nVidia dev id's, 0DF4 for "GeForce GT 450M" (issue 99) and 1251 for "GeForce GTX 560M" (thanks to oSxFr33k for testing).
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: 1146