mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
parent
68878ca98a
commit
228d1c27b7
@ -459,7 +459,7 @@ typename Sup::Vcpu_impl<T>::Current_state Sup::Vcpu_impl<T>::_handle_npt_ept(VBO
|
|||||||
{
|
{
|
||||||
rc = VINF_EM_RAW_EMULATE_INSTR;
|
rc = VINF_EM_RAW_EMULATE_INSTR;
|
||||||
|
|
||||||
RTGCPHYS const GCPhys = RT_ALIGN(_vcpu.state().qual_secondary.value(), X86_PAGE_SIZE);
|
RTGCPHYS const GCPhys = PAGE_ADDRESS(_vcpu.state().qual_secondary.value());
|
||||||
|
|
||||||
PPGMRAMRANGE const pRam = pgmPhysGetRangeAtOrAbove(&_vm, GCPhys);
|
PPGMRAMRANGE const pRam = pgmPhysGetRangeAtOrAbove(&_vm, GCPhys);
|
||||||
if (!pRam)
|
if (!pRam)
|
||||||
|
Loading…
Reference in New Issue
Block a user