Skip to content

Commit c961baa

Browse files
Copilotsangho2
andcommitted
Convert all remaining bitfield structures to use modular-bitfield
Co-authored-by: sangho2 <3938640+sangho2@users.noreply.github.com>
1 parent bd76bf6 commit c961baa

File tree

5 files changed

+287
-319
lines changed

5 files changed

+287
-319
lines changed

BITFIELD_IMPROVEMENTS.md

Lines changed: 0 additions & 165 deletions
This file was deleted.

litebox_platform_lvbs/src/mshv/hvcall.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ pub fn init() -> Result<(), HypervError> {
129129
debug_serial_println!("HV_X64_MSR_SIMP: {:#x}", rdmsr(HV_X64_MSR_SIMP));
130130

131131
let mut sint = HvSynicSint::new();
132-
sint.set_vector(u64::from(HYPERVISOR_CALLBACK_VECTOR));
133-
sint.set_auto_eoi();
132+
sint.set_vector_u64(u64::from(HYPERVISOR_CALLBACK_VECTOR));
133+
sint.set_auto_eoi_flag();
134134

135135
wrmsr(HV_X64_MSR_SINT0, sint.as_uint64());
136136
if get_core_id() == 0 {

0 commit comments

Comments
 (0)