summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/utinit.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-12-21 06:56:46 +0000
committermsmith <msmith@FreeBSD.org>2000-12-21 06:56:46 +0000
commit68d9171019852e7a4325965a2539a5a2eb7571da (patch)
tree2458e6231a59dcc15edb1bbd6f34f1d68982dc76 /sys/contrib/dev/acpica/utinit.c
parentf4b6d0429cccf6d1c0e3d90a616abbeacd13ad15 (diff)
downloadFreeBSD-src-68d9171019852e7a4325965a2539a5a2eb7571da.zip
FreeBSD-src-68d9171019852e7a4325965a2539a5a2eb7571da.tar.gz
Update to the Intel 20001215 ACPI CA snapshot.
Diffstat (limited to 'sys/contrib/dev/acpica/utinit.c')
-rw-r--r--sys/contrib/dev/acpica/utinit.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/sys/contrib/dev/acpica/utinit.c b/sys/contrib/dev/acpica/utinit.c
index 1c5a0a9..b42ba3e 100644
--- a/sys/contrib/dev/acpica/utinit.c
+++ b/sys/contrib/dev/acpica/utinit.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: cminit - Common ACPI subsystem initialization
- * $Revision: 89 $
+ * $Revision: 91 $
*
*****************************************************************************/
@@ -9,8 +9,8 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999, Intel Corp. All rights
- * reserved.
+ * Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
+ * All rights reserved.
*
* 2. License
*
@@ -146,7 +146,7 @@
static ACPI_STATUS
AcpiCmFadtRegisterError (
NATIVE_CHAR *RegisterName,
- UINT64 Value)
+ UINT32 Value)
{
REPORT_ERROR (
@@ -191,28 +191,28 @@ AcpiCmValidateFadt (
if (!AcpiGbl_FADT->Pm1CntLen)
{
Status = AcpiCmFadtRegisterError ("PM1_CNT_LEN",
- (UINT32) AcpiGbl_FADT->Pm1CntLen);
+ 0);
}
- if (!AcpiGbl_FADT->XPm1aEvtBlk.Address)
+ if (!ACPI_VALID_ADDRESS (AcpiGbl_FADT->XPm1aEvtBlk.Address))
{
Status = AcpiCmFadtRegisterError ("PM1a_EVT_BLK",
- AcpiGbl_FADT->XPm1aEvtBlk.Address);
+ 0);
}
- if (!AcpiGbl_FADT->XPm1aCntBlk.Address)
+ if (!ACPI_VALID_ADDRESS (AcpiGbl_FADT->XPm1aCntBlk.Address))
{
Status = AcpiCmFadtRegisterError ("PM1a_CNT_BLK",
- AcpiGbl_FADT->XPm1aCntBlk.Address);
+ 0);
}
- if (!AcpiGbl_FADT->XPmTmrBlk.Address)
+ if (!ACPI_VALID_ADDRESS (AcpiGbl_FADT->XPmTmrBlk.Address))
{
Status = AcpiCmFadtRegisterError ("PM_TMR_BLK",
- AcpiGbl_FADT->XPmTmrBlk.Address);
+ 0);
}
- if ((AcpiGbl_FADT->XPm2CntBlk.Address &&
+ if ((ACPI_VALID_ADDRESS (AcpiGbl_FADT->XPm2CntBlk.Address) &&
!AcpiGbl_FADT->Pm2CntLen))
{
Status = AcpiCmFadtRegisterError ("PM2_CNT_LEN",
@@ -228,14 +228,14 @@ AcpiCmValidateFadt (
/* length of GPE blocks must be a multiple of 2 */
- if (AcpiGbl_FADT->XGpe0Blk.Address &&
+ if (ACPI_VALID_ADDRESS (AcpiGbl_FADT->XGpe0Blk.Address) &&
(AcpiGbl_FADT->Gpe0BlkLen & 1))
{
Status = AcpiCmFadtRegisterError ("GPE0_BLK_LEN",
(UINT32) AcpiGbl_FADT->Gpe0BlkLen);
}
- if (AcpiGbl_FADT->XGpe1Blk.Address &&
+ if (ACPI_VALID_ADDRESS (AcpiGbl_FADT->XGpe1Blk.Address) &&
(AcpiGbl_FADT->Gpe1BlkLen & 1))
{
Status = AcpiCmFadtRegisterError ("GPE1_BLK_LEN",
OpenPOWER on IntegriCloud