Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches
clint_hwreg_t Struct Reference

#include <clint.h>

Data Fields

u32 MSIP [HART_COUNT]
 Offset: 0x0000, Software Interrupt Pending for each hart *‍/.
u32 reserved0 [(0x4000 - 4 *HART_COUNT)/4U]
 Reserved Space (0x0C to 0x3FFF) *‍/.
clint_mtimecmp_hwreg_t MTIMECMP [HART_COUNT]
 Offset: 0x4000, MTIMECMP for each hart *‍/.
u32 reserved1 [(0xBFF8U - 0x4000 - 8 *HART_COUNT)/4U]
 Reserved Space (0x4000 to 0xBFF7) *‍/.
u32 MTIME_LOW
 Offset: 0xBFF8, MTIME Low *‍/.
u32 MTIME_HIGH

Detailed Description

CLINT hardware register map.

Definition at line 83 of file clint.h.

Field Documentation

◆ MSIP

u32 clint_hwreg_t::MSIP[HART_COUNT]

Offset: 0x0000, Software Interrupt Pending for each hart *‍/.

Definition at line 85 of file clint.h.

◆ MTIME_HIGH

u32 clint_hwreg_t::MTIME_HIGH

Offset: 0xBFFC, MTIME High

Definition at line 90 of file clint.h.

◆ MTIME_LOW

u32 clint_hwreg_t::MTIME_LOW

Offset: 0xBFF8, MTIME Low *‍/.

Definition at line 89 of file clint.h.

◆ MTIMECMP

clint_mtimecmp_hwreg_t clint_hwreg_t::MTIMECMP[HART_COUNT]

Offset: 0x4000, MTIMECMP for each hart *‍/.

Definition at line 87 of file clint.h.

◆ reserved0

u32 clint_hwreg_t::reserved0[(0x4000 - 4 *HART_COUNT)/4U]

Reserved Space (0x0C to 0x3FFF) *‍/.

Definition at line 86 of file clint.h.

◆ reserved1

u32 clint_hwreg_t::reserved1[(0xBFF8U - 0x4000 - 8 *HART_COUNT)/4U]

Reserved Space (0x4000 to 0xBFF7) *‍/.

Definition at line 88 of file clint.h.


The documentation for this struct was generated from the following file:
  • C:/Users/JasonLau/Downloads/workspace_local/GitLab/efx_IP/efx_soc_rv64/embedded_sw/software/standalone/driver/clint/clint.h