Home
last modified time | relevance | path

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

/Kernel-v11.1.0/portable/IAR/RISC-V/
Dport.c168 volatile uint32_t ulHartId; in vPortSetupTimerInterrupt() local
170 __asm volatile ( "csrr %0, 0xf14" : "=r" ( ulHartId ) ); /* 0xf14 is HART ID. */ in vPortSetupTimerInterrupt()
172 …ster = ( volatile uint64_t * ) ( ullMachineTimerCompareRegisterBase + ( ulHartId * sizeof( uint64_… in vPortSetupTimerInterrupt()
/Kernel-v11.1.0/portable/GCC/RISC-V/
Dport.c135 volatile uint32_t ulHartId; in vPortSetupTimerInterrupt() local
137 __asm volatile ( "csrr %0, mhartid" : "=r" ( ulHartId ) ); in vPortSetupTimerInterrupt()
139 …ster = ( volatile uint64_t * ) ( ullMachineTimerCompareRegisterBase + ( ulHartId * sizeof( uint64_… in vPortSetupTimerInterrupt()