MCPcopy Create free account
hub / github.com/F-Stack/f-stack / print_registers

Function print_registers

freebsd/arm64/arm64/trap.c:345–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345static void
346print_registers(struct trapframe *frame)
347{
348 u_int reg;
349
350 for (reg = 0; reg < nitems(frame->tf_x); reg++) {
351 printf(" %sx%d: %16lx\n", (reg < 10) ? " " : "", reg,
352 frame->tf_x[reg]);
353 }
354 printf(" sp: %16lx\n", frame->tf_sp);
355 printf(" lr: %16lx\n", frame->tf_lr);
356 printf(" elr: %16lx\n", frame->tf_elr);
357 printf("spsr: %8x\n", frame->tf_spsr);
358}
359
360void
361do_el1h_sync(struct thread *td, struct trapframe *frame)

Callers 7

align_abortFunction · 0.85
external_abortFunction · 0.85
data_abortFunction · 0.85
do_el1h_syncFunction · 0.85
do_el0_syncFunction · 0.85
do_serrorFunction · 0.85
unhandled_exceptionFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected