Root/
Source at commit 1158 created 13 years 16 days ago. By azimutz, Match nvidia.c with the one on my branch (Chazi) adding dev id's from issue 99 and Asus G74SX (0DF4, 1251). | |
---|---|
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 |