Removed obsolete ACPI_OBJECT_TYPE8 typedef and changed all references

to ACPI_OBJECT_TYPE


date	2001.12.12.20.41.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 16:47:28 +00:00
parent 246542d0c2
commit dfb300ea04
2 changed files with 15 additions and 11 deletions

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: evxface - External interfaces for ACPI events
* $Revision: 1.117 $
* $Revision: 1.119 $
*
*****************************************************************************/
@ -352,7 +352,7 @@ AcpiInstallNotifyHandler (
* Caller will only receive notifications specific to the target object.
* Note that only certain object types can receive notifications.
*/
else
else
{
/*
* These are the ONLY objects that can receive ACPI notifications
@ -397,7 +397,7 @@ AcpiInstallNotifyHandler (
/* Attach new object to the Node */
Status = AcpiNsAttachObject (Device, ObjDesc, (UINT8) DeviceNode->Type);
Status = AcpiNsAttachObject (Device, ObjDesc, DeviceNode->Type);
if (ACPI_FAILURE (Status))
{
goto UnlockAndExit;
@ -488,7 +488,7 @@ AcpiRemoveNotifyHandler (
/*
* Root Object
*/
if (Device == ACPI_ROOT_OBJECT)
if (Device == ACPI_ROOT_OBJECT)
{
ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "Removing notify handler for ROOT object.\n"));
@ -501,13 +501,13 @@ AcpiRemoveNotifyHandler (
goto UnlockAndExit;
}
if (HandlerType == ACPI_SYSTEM_NOTIFY)
if (HandlerType == ACPI_SYSTEM_NOTIFY)
{
AcpiGbl_SysNotify.Node = NULL;
AcpiGbl_SysNotify.Handler = NULL;
AcpiGbl_SysNotify.Context = NULL;
}
else
else
{
AcpiGbl_DrvNotify.Node = NULL;
AcpiGbl_DrvNotify.Handler = NULL;
@ -518,7 +518,7 @@ AcpiRemoveNotifyHandler (
/*
* All Other Objects
*/
else
else
{
/*
* These are the ONLY objects that can receive ACPI notifications

View File

@ -2,7 +2,7 @@
*
* Module Name: evxfregn - External Interfaces, ACPI Operation Regions and
* Address Spaces.
* $Revision: 1.41 $
* $Revision: 1.44 $
*
*****************************************************************************/
@ -156,7 +156,7 @@ AcpiInstallAddressSpaceHandler (
ACPI_OPERAND_OBJECT *HandlerObj;
ACPI_NAMESPACE_NODE *Node;
ACPI_STATUS Status = AE_OK;
ACPI_OBJECT_TYPE8 Type;
ACPI_OBJECT_TYPE Type;
UINT16 Flags = 0;
@ -228,10 +228,14 @@ AcpiInstallAddressSpaceHandler (
Setup = AcpiEvPciBarRegionSetup;
break;
case ACPI_ADR_SPACE_DATA_TABLE:
Handler = AcpiExDataTableSpaceHandler;
Setup = NULL;
break;
default:
Status = AE_NOT_EXIST;
goto UnlockAndExit;
break;
}
}
@ -305,7 +309,7 @@ AcpiInstallAddressSpaceHandler (
/* Attach the new object to the Node */
Status = AcpiNsAttachObject (Node, ObjDesc, (UINT8) Type);
Status = AcpiNsAttachObject (Node, ObjDesc, Type);
if (ACPI_FAILURE (Status))
{
AcpiUtRemoveReference (ObjDesc);