Root/
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_0␉␉2␊ |
13 | #define ACPI_1_0␉␉1␊ |
14 | ␊ |
15 | ␊ |
16 | extern uint64_t acpi10_p;␊ |
17 | extern uint64_t acpi20_p;␊ |
18 | extern uint64_t smbios_p;␊ |
19 | ␊ |
20 | extern int setupAcpi();␊ |
21 | ␊ |
22 | extern EFI_STATUS addConfigurationTable();␊ |
23 | ␊ |
24 | extern EFI_GUID gEfiAcpiTableGuid;␊ |
25 | extern EFI_GUID gEfiAcpi20TableGuid;␊ |
26 | ␊ |
27 | struct p_state ␊ |
28 | {␊ |
29 | ␉union ␊ |
30 | ␉{␊ |
31 | ␉␉uint16_t Control;␊ |
32 | ␉␉struct ␊ |
33 | ␉␉{␊ |
34 | ␉␉␉uint8_t VID;␉// Voltage ID␊ |
35 | ␉␉␉uint8_t FID;␉// Frequency ID␊ |
36 | ␉␉};␊ |
37 | ␉};␊ |
38 | ␉␊ |
39 | ␉uint8_t␉␉CID;␉␉// Compare ID␊ |
40 | ␉uint32_t␉Frequency;␊ |
41 | };␊ |
42 | ␊ |
43 | #endif /* !__LIBSAIO_ACPI_PATCHER_H */␊ |
44 |