Module riscv64

Module riscv64 

Source

Re-exportsยง

pub use registers::IntRegisters;
pub use earlycon::*;

Modulesยง

boot
context
Kernel context switching for RISC-V 64-bit
earlycon
Early console driver for RISC-V64 architecture.
fdt
fpu
Floating-Point Unit and Vector context for RISC-V 64-bit
instruction
interrupt
RISC-V specific interrupt control functions
kernel
mmio
MMIO access helpers for RISC-V.
registers
RISC-V 64-bit register module.
switch
RISC-V kernel context switching implementation
timer
trap
vcpu
VCPU module for RISC-V 64-bit architecture.
vm
Virtual memory module for RISC-V architecture.

Structsยง

Riscv64
Trapframe

Constantsยง

NO_VECTOR_OWNER ๐Ÿ”’
Per-hart ownership of the live Vector register file.

Staticsยง

CPUS ๐Ÿ”’
VECTOR_OWNER ๐Ÿ”’
VECTOR_OWNER_DIRTY ๐Ÿ”’
Whether the live vector register file contains state that is newer than the saved per-task context of VECTOR_OWNER.

Functionsยง

configure_user_entry
Apply user-entry options for the upcoming sret.
disable_interrupt
enable_interrupt
first_switch_to_user
RISC-V: perform the very first transition into a runnable user task.
get_cpu
get_device_memory_areas
Returns the device memory areas for RISC-V QEMU virt platform. These areas contain memory-mapped I/O devices and should be mapped with device memory attributes (non-cacheable, no speculation).
get_kernel_trap_handler
get_kernel_trapvector_paddr
get_user_trap_handler
get_user_trapvector_paddr
get_vector_owner ๐Ÿ”’
get_vector_owner_dirty ๐Ÿ”’
io_mb
Full barrier for device/MMIO (I/O) operations.
io_rmb
Read barrier for device/MMIO (I/O) operations.
io_wmb
Write barrier for device/MMIO (I/O) operations.
mb
Full memory barrier for normal memory (RAM).
mmio_fence
Backward-compatible alias for a full device/MMIO barrier.
reboot
rmb
Read memory barrier for normal memory (RAM).
set_arch
set_next_mode
set_trapvector
set_vector_owner ๐Ÿ”’
set_vector_owner_dirty ๐Ÿ”’
shutdown
shutdown_with_code
trap_init ๐Ÿ”’
wmb
Write memory barrier for normal memory (RAM).

Type Aliasesยง

Arch