Root/
Source at commit 2381 created 10 years 21 days ago. By ifabio, Apply patch: (Credits to Thomas Jansen aka tja) - Reading options from all devices during boot. The options for the boot menu are only read from the devices rd(0,0) or bt(0,0). Consequently, boot menu options (e.g. "Quiet Boot", "Timeout", etc.) in plists on other devices (like most users have) are ignored. This patch extends the list of paths to search for the options plist on all devices that can be found. | |
---|---|
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 | ␊ |
10 | uint64_t acpi10_p;␊ |
11 | uint64_t acpi20_p;␊ |
12 | uint64_t smbios_p;␊ |
13 | ␊ |
14 | extern int setupAcpi();␊ |
15 | ␊ |
16 | extern EFI_STATUS addConfigurationTable();␊ |
17 | ␊ |
18 | extern EFI_GUID gEfiAcpiTableGuid;␊ |
19 | extern EFI_GUID gEfiAcpi20TableGuid;␊ |
20 | ␊ |
21 | struct p_state ␊ |
22 | {␊ |
23 | ␉union ␊ |
24 | ␉{␊ |
25 | ␉␉uint16_t Control;␊ |
26 | ␉␉struct ␊ |
27 | ␉␉{␊ |
28 | ␉␉␉uint8_t VID;␉// Voltage ID␊ |
29 | ␉␉␉uint8_t FID;␉// Frequency ID␊ |
30 | ␉␉};␊ |
31 | ␉};␊ |
32 | ␉␊ |
33 | ␉uint8_t␉␉CID;␉␉// Compare ID␊ |
34 | ␉uint32_t␉Frequency;␊ |
35 | };␊ |
36 | ␊ |
37 | #endif /* !__LIBSAIO_ACPI_PATCHER_H */␊ |
38 |