Commit a6d6552426dcbf726e5549f08b70c9318d6be14b
1 parent
322f9d01
Enable power button even generation.
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
3 changed files
with
21 additions
and
0 deletions
pc-bios/bios-pq/0015_enable-power-button-even-generation.patch
0 → 100644
1 | +Enable power button event generation. | |
2 | + | |
3 | +Signed-off-by: Gleb Natapov <gleb@redhat.com> | |
4 | +Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> | |
5 | + | |
6 | +diff --git a/bios/rombios32.c b/bios/rombios32.c | |
7 | +index 81e3bad..9986531 100644 | |
8 | +--- a/bios/rombios32.c | |
9 | ++++ b/bios/rombios32.c | |
10 | +@@ -1767,8 +1767,8 @@ void acpi_bios_init(void) | |
11 | + fadt->plvl3_lat = cpu_to_le16(0xfff); // C3 state not supported | |
12 | + fadt->gpe0_blk = cpu_to_le32(0xafe0); | |
13 | + fadt->gpe0_blk_len = 4; | |
14 | +- /* WBINVD + PROC_C1 + PWR_BUTTON + SLP_BUTTON + FIX_RTC */ | |
15 | +- fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 4) | (1 << 5) | (1 << 6)); | |
16 | ++ /* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC */ | |
17 | ++ fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6)); | |
18 | + acpi_build_table_header((struct acpi_table_header *)fadt, "FACP", | |
19 | + sizeof(*fadt), 1); | |
20 | + | ... | ... |
pc-bios/bios-pq/series
pc-bios/bios.bin
No preview for this file type