Skip to content

Commit

Permalink
Remove Page Audit Report Generator Print (#96)
Browse files Browse the repository at this point in the history
## Description

The PTE GCD type may be None, so attempts to log it will cause a runtime
exception.

## Breaking change?

No

## How This Was Tested

Running the script

## Integration Instructions

N/A
  • Loading branch information
TaylorBeebe committed Dec 9, 2022
1 parent 9d4e9e6 commit 8ebc6f0
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -138,7 +138,6 @@ def Parse(self):

if pte.GcdType is None:
pte.GcdType = mr.GcdType
logging.info("pte.GcdType: %d"% (pte.GcdType))
else:
logging.error("Multiple memory types found for one region " + pte.pteDebugStr() +" " + mr.MemoryRangeToString())
self.ErrorMsg.append("Multiple memory types found for one region. Base: 0x%X. GCD Memory Type: %d and %d"% (pte.PhysicalStart, pte.GcdType,mr.GcdType))
Expand Down

0 comments on commit 8ebc6f0

Please sign in to comment.