WHV_EMULATOR_TRANSLATE_GVA_PAGE_CALLBACK
Syntax
typedef HRESULT (CALLBACK *WHV_EMULATOR_TRANSLATE_GVA_PAGE_CALLBACK)(
_In_ VOID* Context,
_In_ WHV_GUEST_VIRTUAL_ADDRESS GvaPage,
_In_ WHV_TRANSLATE_GVA_FLAGS TranslateFlags,
_Out_ WHV_TRANSLATE_GVA_RESULT_CODE* TranslationResult,
_Out_ WHV_GUEST_PHYSICAL_ADDRESS* GpaPage // NOTE: This pointer _must_ be 4K page aligned
);
Remarks
Callback requesting the virtualization stack to translate the Guest Virtual Address GvaPage
that points to the start of a 4K page, with the specified TranslateFlags
. The virtstack should return in TranslationResult
exactly what WHvTranslateGva
returned, along with the resulting address in GpaPage.
NOTE: GpaPage
must be 4K aligned or the current emulation call will fail, with extended status TranslateGvaPageCallbackGpaPageIsNotAligned
bit set.
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈