You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain drivers used RawPtr and others used u64. To unify these in
preperation for a refactor, they are replaced them with u64 instead.
The removed types were mostly unused and provided minimal benefit over a simple u64. In
the future we should think about introducing some type to abstract over
phys/virtual addresses etc instead.
Signed-off-by: Ludvig Liljenberg <[email protected]>
_surrogate_process:SurrogateProcess,// we need to keep a reference to the SurrogateProcess for the duration of the driver since otherwise it will dropped and the memory mapping will be unmapped and the surrogate process will be returned to the pool
283
282
entrypoint:u64,
284
-
orig_rsp:GuestPtr,
283
+
orig_rsp:u64,
285
284
interrupt_handle:Arc<WindowsInterruptHandle>,
286
285
mem_mgr:Option<MemMgrWrapper<HostSharedMemory>>,
287
286
host_funcs:Option<Arc<Mutex<FunctionRegistry>>>,
@@ -361,7 +360,7 @@ impl HypervWindowsDriver {
361
360
processor: proc,
362
361
_surrogate_process: surrogate_process,
363
362
entrypoint,
364
-
orig_rsp:GuestPtr::try_from(RawPtr::from(rsp))?,
363
+
orig_rsp: rsp,
365
364
sandbox_regions: mem_regions,
366
365
mmap_regions:Vec::new(),
367
366
interrupt_handle: interrupt_handle.clone(),
@@ -600,7 +599,7 @@ impl Hypervisor for HypervWindowsDriver {
0 commit comments