Skip to content

Commit d8afde3

Browse files
committed
fixup! [host/mem/mgr] changes SandboxMemoryManager API to interact w/ CGM
1 parent 53ee452 commit d8afde3

File tree

1 file changed

+2
-2
lines changed
  • src/hyperlight_host/src/mem

1 file changed

+2
-2
lines changed

src/hyperlight_host/src/mem/mgr.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ where
112112
pub(crate) fn new(
113113
shared_mem: S,
114114
load_addr: RawPtr,
115-
entrypoint_exe_offset: Offset,
115+
entry_offset: Offset,
116116
memory_sections: SandboxMemorySections,
117117
init_rsp: u64,
118118
#[cfg(target_os = "windows")] lib: Option<LoadedLib>,
119119
) -> Self {
120120
Self {
121121
shared_mem,
122122
load_addr,
123-
entrypoint_offset: entrypoint_exe_offset,
123+
entrypoint_offset: entry_offset,
124124
memory_sections,
125125
snapshots: Arc::new(Mutex::new(Vec::new())),
126126
stack_guard: Self::create_stack_guard(),

0 commit comments

Comments
 (0)