Skip to content

Commit 9b7f60a

Browse files
committed
Change semihosting to conditional compilation
1 parent c707ae9 commit 9b7f60a

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • kernel/src/arch/aarch64/virt

kernel/src/arch/aarch64/virt/exit.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,6 @@ pub fn handle_vm_exit(vcpu: &mut Vcpu) -> bool {
116116
VmExitReason::InstructionAbortLowerEL => {
117117
let iss = esr & 0x1FFFFFF;
118118
let ifsc = iss & 0x3F;
119-
120-
if (ifsc & 0x3C) == 0x14 {
121-
semihosting::println!("[EXIT] Stage-2 Translation Fault (Instruction)!");
122-
}
123119
false
124120
}
125121
VmExitReason::TrappedWfiWfe => {

0 commit comments

Comments
 (0)