We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
verify_higher_half
1 parent f890cc1 commit e030cf5Copy full SHA for e030cf5
tests/test_kernels/higher_half/src/bin/verify_higher_half.rs
@@ -22,7 +22,7 @@ fn kernel_main(boot_info: &'static mut BootInfo) -> ! {
22
// verify that the stack is located in the higher half of the address space.
23
let stack_addr = &rip;
24
assert_eq!(
25
- (boot_info as *const _ as usize) & 0xffff800000000000,
+ (stack_addr as *const _ as usize) & 0xffff800000000000,
26
0xffff800000000000
27
);
28
0 commit comments