MOS Source Code
Loading...
Searching...
No Matches
trap.cpp File Reference
Include dependency graph for trap.cpp:

Go to the source code of this file.

Functions

platform_regs_triscv64_trap_handler (platform_regs_t *regs, reg_t scause, reg_t stval, reg_t sepc)

Variables

clocksource_t goldfish

Function Documentation

◆ riscv64_trap_handler()

platform_regs_t * riscv64_trap_handler ( platform_regs_t * regs,
reg_t scause,
reg_t stval,
reg_t sepc )

Definition at line 15 of file trap.cpp.

Here is the call graph for this function:

Variable Documentation

◆ goldfish

clocksource_t goldfish
extern

Definition at line 100 of file riscv64_platform.cpp.

Referenced by platform_startup_late(), and riscv64_trap_handler().