MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / drain_uart_output

Method drain_uart_output

crates/virtual-machine/src/virtual_machine.rs:269–271  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

267 pub fn peek_csrs(&self) -> CsrSnapshot {
268 self.cpu.peek_csrs()
269 }
270
271 /// Debug translation: read-only Sv39 walk in the current CPU context,
272 /// skipping permission checks and A/D updates. M-mode and Bare are identity.
273 pub fn debug_translate(&self, vaddr: u64) -> Option<u64> {
274 let csrs = self.cpu.peek_csrs();

Callers 6

maybe_tickMethod · 0.80
stepMethod · 0.80
step_nMethod · 0.80
step_n_instructionsMethod · 0.80
step_to_next_functionMethod · 0.80
kernel_asm_diagFunction · 0.80

Calls 2

drain_outputMethod · 0.80
uart_mutMethod · 0.80

Tested by 1

kernel_asm_diagFunction · 0.64