windows-nt/Source/XPSP1/NT/base/busdrv/acpi/tools/unasm/scope.h

61 lines
1.4 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
scope.h
Abstract:
Defines the structures used by the parser
Author:
Michael Tsang
Stephane Plante
Environment:
Any
Revision History:
--*/
#ifndef _SCOPE_H_
#define _SCOPE_H_
PUNASM_AMLTERM
ScopeFindExtendedOpcode(
IN PSTACK *Stack
);
#define ScopeFindLocalScope(Stack, LocalScope, RootScope, Status) \
Status = StackTop( Stack, LocalScope ); \
if (!NT_SUCCESS(Status)) { \
\
return Status; \
\
} \
Status = StackRoot( Stack, RootScope ); \
if (!NT_SUCCESS(Status)) { \
\
return Status; \
\
}
NTSTATUS
ScopeParser(
IN PUCHAR Start,
IN ULONG Length,
IN ULONG BaseAddress,
IN ULONG IndentLevel
);
NTSTATUS
ScopePrint(
IN PSTACK *Stack
);
#endif