File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/hyperlight_host/src/hypervisor Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ impl From<&CommonSpecialRegisters> for kvm_sregs {
150150#[ cfg( target_os = "windows" ) ]
151151pub ( crate ) const WHP_SREGS_NAMES_LEN : usize = 17 ;
152152#[ cfg( target_os = "windows" ) ]
153- pub ( crate ) const WHP_SREGS_NAMES : [ WHV_REGISTER_NAME ; WHP_SREGS_NAMES_LEN ] = [
153+ pub ( crate ) static WHP_SREGS_NAMES : [ WHV_REGISTER_NAME ; WHP_SREGS_NAMES_LEN ] = [
154154 WHvX64RegisterCs ,
155155 WHvX64RegisterDs ,
156156 WHvX64RegisterEs ,
Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ impl Vm for WhpVm {
177177
178178 // println!("partition: {:?}", self.partition);
179179 // println!("whp_sregs_names: {:?}", WHP_SREGS_NAMES);
180- println ! ( "ptr : {:?}" , WHP_SREGS_NAMES . as_ptr( ) ) ;
180+ // println!("ptr : {:?}", WHP_SREGS_NAMES.as_ptr());
181181 // println!("first value: {:?}", unsafe {
182182 // WHP_SREGS_NAMES.as_ptr().read()
183183 // });
You can’t perform that action at this time.
0 commit comments