hwxfsleep.c (233250) | hwxfsleep.c (238381) |
---|---|
1/****************************************************************************** 2 * 3 * Name: hwxfsleep.c - ACPI Hardware Sleep/Wake External Interfaces 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2012, Intel Corp. --- 87 unchanged lines hidden (view full) --- 96 97ACPI_STATUS 98AcpiSetFirmwareWakingVector ( 99 UINT32 PhysicalAddress) 100{ 101 ACPI_FUNCTION_TRACE (AcpiSetFirmwareWakingVector); 102 103 | 1/****************************************************************************** 2 * 3 * Name: hwxfsleep.c - ACPI Hardware Sleep/Wake External Interfaces 4 * 5 *****************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2012, Intel Corp. --- 87 unchanged lines hidden (view full) --- 96 97ACPI_STATUS 98AcpiSetFirmwareWakingVector ( 99 UINT32 PhysicalAddress) 100{ 101 ACPI_FUNCTION_TRACE (AcpiSetFirmwareWakingVector); 102 103 |
104 /* 105 * According to the ACPI specification 2.0c and later, the 64-bit 106 * waking vector should be cleared and the 32-bit waking vector should 107 * be used, unless we want the wake-up code to be called by the BIOS in 108 * Protected Mode. Some systems (for example HP dv5-1004nr) are known 109 * to fail to resume if the 64-bit vector is used. 110 */ 111 |
|
104 /* Set the 32-bit vector */ 105 106 AcpiGbl_FACS->FirmwareWakingVector = PhysicalAddress; 107 108 /* Clear the 64-bit vector if it exists */ 109 110 if ((AcpiGbl_FACS->Length > 32) && (AcpiGbl_FACS->Version >= 1)) 111 { --- 367 unchanged lines hidden --- | 112 /* Set the 32-bit vector */ 113 114 AcpiGbl_FACS->FirmwareWakingVector = PhysicalAddress; 115 116 /* Clear the 64-bit vector if it exists */ 117 118 if ((AcpiGbl_FACS->Length > 32) && (AcpiGbl_FACS->Version >= 1)) 119 { --- 367 unchanged lines hidden --- |