upgrade jump api in boot1 to use asked jump format

This commit is contained in:
bunnie 2026-02-15 03:35:54 +08:00
parent 1a43540037
commit 6d77efc02e
No known key found for this signature in database

View file

@ -115,7 +115,7 @@ pub fn try_boot(or_die: bool, csprng: &mut Csprng) {
if use_skipping {
disable_clock_skipping();
}
bao1x_hal::sigcheck::jump_to((target ^ u32::from_le_bytes(tag)) as usize);
bao1x_hal::sigcheck::jump_to(target as usize, u32::from_le_bytes(tag) as usize);
}
Err(e) => crate::println!("Image did not validate: {:?}", e),
}