Module rvemu::bus[][src]

The bus module contains the system bus which can access the memroy or memory-mapped peripheral devices.

Structs

Bus

The system bus.

Constants

CLINT_BASE

The address which the core-local interruptor (CLINT) starts. It contains the timer and generates per-hart software interrupts and timer interrupts.

DRAM_BASE

The address which DRAM starts.

MROM_BASE

The address which the mask ROM starts.

PLIC_BASE

The address which the platform-level interrupt controller (PLIC) starts. The PLIC connects all external interrupts in the system to all hart contexts in the system, via the external interrupt source in each hart.

UART_BASE

The address which UART starts. QEMU puts UART registers here in physical memory.

UART_SIZE

The size of UART.

VIRTIO_BASE

The address which virtio starts.