From 1b75cf7ea2bdf88a0e7f627d33e1f31b0380dabc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berkan=20Yal=C3=A7in?= Date: Sun, 15 Nov 2026 18:22:45 +0000 Subject: [PATCH] README.md aktualisiert --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 92d1bc1..f2ba93a 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,12 @@ oid vmexit_passthrough_handler::handle_ldtr_tr_access(vcpu_t& vp) noexcept cr3_guard _{ vp.guest_cr3() }; + // notice how regardless of the executed instruction, even for memory destinations, it only cares about the lower bits, i.e u16 auto& low_word = instruction_info.access_type == vmx::instruction_info_t::access_memory ? *reinterpret_cast(vp.exit_instruction_info_guest_va()) // instruction_info.access_type == vmx::instruction_info::access_register - : reinterpret_cast(vp.context().gp_register[instruction_info.register_1]); // notice how it only cares about the lower bits, i.e u16 + : reinterpret_cast(vp.context().gp_register[instruction_info.register_1]); switch (instruction_info.instruction) {