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.
60 lines
1.5 KiB
60 lines
1.5 KiB
/*++
|
|
|
|
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
|