riscv: Fix esprv_intc_int_set_threshold() naming

This commit fixes the function declaration naming from esprv_intc_set_threshold()
to esprv_intc_int_set_threshold(), thus allowing the underlying ROM funciton to be
exposed via the header.
This commit is contained in:
Darian Leung 2022-07-27 16:54:24 +08:00
parent 0c97fbd5ba
commit abf0bc13e6
3 changed files with 1 additions and 3 deletions

View File

@ -406,7 +406,6 @@ void vPortYieldFromISR( void )
// ----------------- Scheduler Start/End ------------------- // ----------------- Scheduler Start/End -------------------
extern void esprv_intc_int_set_threshold(int); // FIXME, this function is in ROM only
BaseType_t xPortStartScheduler(void) BaseType_t xPortStartScheduler(void)
{ {
uxInterruptNesting = 0; uxInterruptNesting = 0;

View File

@ -88,7 +88,6 @@ StackType_t *xIsrStackTop = &xIsrStack[0] + (configISR_STACK_SIZE & (~((portPOIN
// ----------------- Scheduler Start/End ------------------- // ----------------- Scheduler Start/End -------------------
extern void esprv_intc_int_set_threshold(int); // FIXME, this function is in ROM only
BaseType_t xPortStartScheduler(void) BaseType_t xPortStartScheduler(void)
{ {
uxInterruptNesting = 0; uxInterruptNesting = 0;

View File

@ -115,7 +115,7 @@ int esprv_intc_int_get_priority(int rv_int_num);
* *
* @param priority_threshold Interrupt priority threshold, 0 to 7 * @param priority_threshold Interrupt priority threshold, 0 to 7
*/ */
void esprv_intc_set_threshold(int priority_threshold); void esprv_intc_int_set_threshold(int priority_threshold);
/** /**
* @brief Get interrupt unmask * @brief Get interrupt unmask