Verifies that the virtual address specified was allocated with ApuAlloc, is valid and that the corresponding APU physical address has the specified alignment.
bool ApuIsVirtualAddressValid(
const void *virtualAddress,
UINT32 physicalAlignmentInBytes
)
virtualAddress
Type: void *
[in] The virtual address.
physicalAlignmentInBytes
Type: UINT32
[in] The expected alignment of the physical address.
Type: bool
Returns true if the virtual address is valid, false otherwise.
Header: Declared in apu.h.
Library: Use acphal.lib.