Home
last modified time | relevance | path

Searched refs:hart (Results 1 – 1 of 1) sorted by relevance

/optee_os-3.20.0/core/arch/riscv/include/kernel/
A Dclint.h17 #define CLINT_MSIP(hart) (CLINT_BASE + (4 * (hart))) argument
19 #define CLINT_MTIMECMP(hart)(CLINT_BASE + 0x4000 + (8 * (hart))) argument
23 static inline void clint_ipi_send(unsigned long hart) in clint_ipi_send() argument
25 assert(hart < CFG_TEE_CORE_NB_CORE); in clint_ipi_send()
26 io_write32(CLINT_MSIP(hart), 1); in clint_ipi_send()
29 static inline void clint_ipi_clear(unsigned long hart) in clint_ipi_clear() argument
31 assert(hart < CFG_TEE_CORE_NB_CORE); in clint_ipi_clear()
32 io_write32(CLINT_MSIP(hart), 0); in clint_ipi_clear()

Completed in 2 milliseconds