Skip to content

Commit af2fa17

Browse files
committed
exclude multiline comment
Signed-off-by: Slice <sergey.slice@gmail.com>
1 parent 528f8fa commit af2fa17

2 files changed

Lines changed: 15 additions & 13 deletions

File tree

Library/OcAcpiLib/AcpiParser.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ ParseScopeOrDevice (
228228
UINT32 *CurrentPath;
229229
UINT8 *ScopeEnd;
230230
UINT8 *ScopeName;
231-
UINT8 *ScopeNameStart;
231+
// UINT8 *ScopeNameStart;
232232
UINT8 ScopeNameLength;
233233
UINT8 IsRootPath;
234234
EFI_STATUS Status;
@@ -269,7 +269,7 @@ ParseScopeOrDevice (
269269
return EFI_DEVICE_ERROR;
270270
}
271271

272-
ScopeNameStart = ScopeName;
272+
// ScopeNameStart = ScopeName;
273273

274274
if (Context->CurrentOpcode > ScopeEnd) {
275275
return EFI_DEVICE_ERROR;

Library/OcAcpiLib/AcpiParser.h

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,19 @@ typedef struct {
5555
/**
5656
Print new entry name.
5757
**/
58-
#define CONTEXT_ENTER(Context, Name) \
59-
// DEBUG (( \
60-
// DEBUG_VERBOSE, \
61-
// "%a 0x%x (looking for %c%c%c%c)\n", \
62-
// (Name), \
63-
// (UINT32) ((Context)->CurrentOpcode - (Context)->TableStart), \
64-
// ((CHAR8 *) (Context)->CurrentIdentifier)[3], \
65-
// ((CHAR8 *) (Context)->CurrentIdentifier)[2], \
66-
// ((CHAR8 *) (Context)->CurrentIdentifier)[1], \
67-
// ((CHAR8 *) (Context)->CurrentIdentifier)[0] \
68-
// ));
58+
#define CONTEXT_ENTER(Context, Name)
59+
/*
60+
DEBUG (( \
61+
DEBUG_VERBOSE, \
62+
"%a 0x%x (looking for %c%c%c%c)\n", \
63+
(Name), \
64+
(UINT32) ((Context)->CurrentOpcode - (Context)->TableStart), \
65+
((CHAR8 *) (Context)->CurrentIdentifier)[3], \
66+
((CHAR8 *) (Context)->CurrentIdentifier)[2], \
67+
((CHAR8 *) (Context)->CurrentIdentifier)[1], \
68+
((CHAR8 *) (Context)->CurrentIdentifier)[0] \
69+
));
70+
*/
6971

7072
#define PRINT_ACPI_NAME(Str, Name, Length) \
7173
DEBUG (( \

0 commit comments

Comments
 (0)