evevent.c (77424) | evevent.c (78986) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: evevent - Fixed and General Purpose AcpiEvent 4 * handling and dispatch | 1/****************************************************************************** 2 * 3 * Module Name: evevent - Fixed and General Purpose AcpiEvent 4 * handling and dispatch |
5 * $Revision: 42 $ | 5 * $Revision: 43 $ |
6 * 7 *****************************************************************************/ 8 9/****************************************************************************** 10 * 11 * 1. Copyright Notice 12 * 13 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp. --- 265 unchanged lines hidden (view full) --- 279 * Read the fixed feature status and enable registers, as all the cases 280 * depend on their values. 281 */ 282 283 StatusRegister = AcpiHwRegisterRead (ACPI_MTX_DO_NOT_LOCK, PM1_STS); 284 EnableRegister = AcpiHwRegisterRead (ACPI_MTX_DO_NOT_LOCK, PM1_EN); 285 286 DEBUG_PRINT (TRACE_INTERRUPTS, | 6 * 7 *****************************************************************************/ 8 9/****************************************************************************** 10 * 11 * 1. Copyright Notice 12 * 13 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp. --- 265 unchanged lines hidden (view full) --- 279 * Read the fixed feature status and enable registers, as all the cases 280 * depend on their values. 281 */ 282 283 StatusRegister = AcpiHwRegisterRead (ACPI_MTX_DO_NOT_LOCK, PM1_STS); 284 EnableRegister = AcpiHwRegisterRead (ACPI_MTX_DO_NOT_LOCK, PM1_EN); 285 286 DEBUG_PRINT (TRACE_INTERRUPTS, |
287 ("Fixed AcpiEvent Block: Enable = %08x\tStatus = %08x\n", | 287 ("Fixed AcpiEvent Block: Enable %08X Status %08X\n", |
288 EnableRegister, StatusRegister)); 289 290 291 /* power management timer roll over */ 292 293 if ((StatusRegister & ACPI_STATUS_PMTIMER) && 294 (EnableRegister & ACPI_ENABLE_PMTIMER)) 295 { --- 442 unchanged lines hidden (view full) --- 738 { 739 AcpiGbl_GpeRegisters[i].Status = 740 AcpiOsIn8 (AcpiGbl_GpeRegisters[i].StatusAddr); 741 742 AcpiGbl_GpeRegisters[i].Enable = 743 AcpiOsIn8 (AcpiGbl_GpeRegisters[i].EnableAddr); 744 745 DEBUG_PRINT (TRACE_INTERRUPTS, | 288 EnableRegister, StatusRegister)); 289 290 291 /* power management timer roll over */ 292 293 if ((StatusRegister & ACPI_STATUS_PMTIMER) && 294 (EnableRegister & ACPI_ENABLE_PMTIMER)) 295 { --- 442 unchanged lines hidden (view full) --- 738 { 739 AcpiGbl_GpeRegisters[i].Status = 740 AcpiOsIn8 (AcpiGbl_GpeRegisters[i].StatusAddr); 741 742 AcpiGbl_GpeRegisters[i].Enable = 743 AcpiOsIn8 (AcpiGbl_GpeRegisters[i].EnableAddr); 744 745 DEBUG_PRINT (TRACE_INTERRUPTS, |
746 ("GPE block at %x - Enable: %08x\tStatus: %08x\n", 747 AcpiGbl_GpeRegisters[i].EnableAddr, AcpiGbl_GpeRegisters[i].Status, AcpiGbl_GpeRegisters[i].Enable)); | 746 ("GPE block at %X - Enable %08X Status %08X\n", 747 AcpiGbl_GpeRegisters[i].EnableAddr, 748 AcpiGbl_GpeRegisters[i].Status, 749 AcpiGbl_GpeRegisters[i].Enable)); |
748 749 /* First check if there is anything active at all in this register */ 750 751 EnabledStatusByte = (UINT8) (AcpiGbl_GpeRegisters[i].Status & 752 AcpiGbl_GpeRegisters[i].Enable); 753 754 if (!EnabledStatusByte) 755 { --- 192 unchanged lines hidden --- | 750 751 /* First check if there is anything active at all in this register */ 752 753 EnabledStatusByte = (UINT8) (AcpiGbl_GpeRegisters[i].Status & 754 AcpiGbl_GpeRegisters[i].Enable); 755 756 if (!EnabledStatusByte) 757 { --- 192 unchanged lines hidden --- |