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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應