Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*++
Copyright (c) 1998 Microsoft Corporation
Module Name:
osnotify.h
Abstract:
This module implements all the callbacks that are NT specific from the AML Interperter
Environment
Kernel mode only
Revision History:
01-Mar-98 Initial Revision [split from callback.h]
--*/
#ifndef _OSNOTIFY_H_
#define _OSNOTIFY_H_
typedef struct _ACPI_FATAL_ERROR_CONTEXT { WORK_QUEUE_ITEM Item; ULONG Param1; ULONG Param2; ULONG Param3; ULONG_PTR Context; } ACPI_FATAL_ERROR_CONTEXT, *PACPI_FATAL_ERROR_CONTEXT;
extern ACPI_FATAL_ERROR_CONTEXT AcpiFatalContext; extern KSPIN_LOCK AcpiFatalLock; extern BOOLEAN AcpiFatalOutstanding;
NTSTATUS EXPORT OSNotifyCreate( IN ULONG ObjType, IN PNSOBJ AcpiObject );
NTSTATUS OSNotifyCreateDevice( IN PNSOBJ AcpiObject, IN ULONGLONG OptionalFlags );
NTSTATUS OSNotifyCreateOperationRegion( IN PNSOBJ AcpiObject );
NTSTATUS OSNotifyCreatePowerResource( IN PNSOBJ AcpiObject );
NTSTATUS OSNotifyCreateProcessor( IN PNSOBJ AcpiObject, IN ULONGLONG OptionalFlags );
NTSTATUS OSNotifyCreateThermalZone( IN PNSOBJ AcpiObject, IN ULONGLONG OptionalFlags );
VOID EXPORT OSNotifyDeviceWakeCallBack( IN PNSOBJ AcpiObject, IN NTSTATUS Status, IN POBJDATA ObjectData, IN PVOID Context );
NTSTATUS EXPORT OSNotifyFatalError( IN ULONG Param1, IN ULONG Param2, IN ULONG Param3, IN ULONG_PTR AmlContext, IN ULONG_PTR Context );
VOID OSNotifyFatalErrorWorker( IN PVOID Context );
#endif
|