Skip to content

[Feature]: Expand the allowable memory types for IVMD validation to include EfiReservedMemoryType #800

@spbrogan

Description

@spbrogan

Feature Overview

In the IVRS variant of the DMA audit test the IVMD is validated against the UEFI memory map and it is required to match EfiACPIMemoryNVS memory type. See this line: https://github.com/microsoft/mu_plus/blob/d0d305b620baced42adf16b2387af9412fdc0ef9/UefiTestingPkg/AuditTests/DMAProtectionAudit/UEFI/IVRS/DMAProtectionTestArch.c#L110C7-L110C60

Solution Overview

It should be allowed to match EfiReservedMemoryType as well like the VTd variant.
See MemoryTypes here: https://github.com/microsoft/mu_basecore/blob/08b359878a681afd532e1606a37d5ac33111c65e/BaseTools/Source/C/Include/Common/UefiMultiPhase.h#L48

Alternatives Considered

No response

Urgency

High

Are you going to implement the feature request?

Someone else needs to implement the feature

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions