mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
Rename sched_process_timer to nxsched_process_timer. That is the appropriate name for an internal sched/ function (still many named incorrectly).
This commit is contained in:
@@ -157,7 +157,7 @@
|
||||
<ul>
|
||||
<a href="#osstart">4.7.1 <code>nx_start()</code></a><br>
|
||||
<a href="#listmgmt">4.7.2 OS List Management APIs</a><br>
|
||||
<a href="#schedprocesstimer">4.7.3 <code>sched_process_timer()</code></a><br>
|
||||
<a href="#schedprocesstimer">4.7.3 <code>nxsched_process_timer()</code></a><br>
|
||||
<a href="#schedtimerexpiration">4.7.4 <code>sched_timer_expiration()</code></a><br>
|
||||
<a href="#schedalarmexpiration">4.7.5 <code>sched_alarm_expiration()</code></a><br>
|
||||
<a href="#irqdispatch">4.7.6 <code>irq_dispatch()</code></a>
|
||||
@@ -3945,11 +3945,11 @@ void lpwork_restorepriority(uint8_t reqprio);
|
||||
<b><i>To be provided</i></b>
|
||||
</p>
|
||||
|
||||
<h3><a name="schedprocesstimer">4.7.3 <code>sched_process_timer()</code></a></h3>
|
||||
<h3><a name="schedprocesstimer">4.7.3 <code>nxsched_process_timer()</code></a></h3>
|
||||
<p><b>Function Prototype</b>:</p>
|
||||
<ul><pre>
|
||||
#include <nuttx/arch.h>
|
||||
void sched_process_timer(void);
|
||||
void nxsched_process_timer(void);
|
||||
</pre></ul>
|
||||
|
||||
<p><b>Description</b>.
|
||||
|
||||
@@ -94,7 +94,7 @@ static int a1x_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ static int am335x_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ static int c5471_timerisr(int irq, uint32_t *regs, FAR void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Sleep until an interrupt occurs to save power */
|
||||
|
||||
@@ -113,7 +113,7 @@ static int dm320_timerisr(int irq, uint32_t *regs, FAR void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ static int efm32_timerisr(int irq, uint32_t *regs, FAR void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ static int imx_timerisr(int irq, uint32_t *regs, FAR void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
ret = OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ static void imx_output_compare(uint32_t sr, uint32_t of)
|
||||
{
|
||||
/* Process timer interrupt event */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -125,7 +125,7 @@ static int imxrt_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Sleep until an interrupt occurs to save power */
|
||||
|
||||
@@ -94,7 +94,7 @@ static int kinetis_timerisr(int irq, uint32_t *regs, FAR void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -174,7 +174,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -109,7 +109,7 @@ static int kl_timerisr(int irq, uint32_t *regs, FAR void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* DVFS and LED control must be done with local interrupts disabled */
|
||||
|
||||
@@ -387,7 +387,7 @@ int up_timerisr(int irq, uint32_t *regs, FAR void *arg)
|
||||
putreg32(1 << 1, rMT00STS);
|
||||
#endif
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
|
||||
#ifdef CONFIG_LCA_SOUNDSKIP_CHECK
|
||||
extern void lca_check_soundskip(void);
|
||||
|
||||
@@ -92,7 +92,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* If the g_dma_inprogress is zero, then there is no DMA in progress. This
|
||||
|
||||
@@ -109,7 +109,7 @@ static int lpc11_timerisr(int irq, uint32_t *regs, FAR void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* If the g_dma_inprogress is zero, then there is no DMA in progress. This
|
||||
|
||||
@@ -95,7 +95,7 @@ static int lpc17_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ static int lpc214x_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
|
||||
/* Clear the MR0 match interrupt */
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ static int lpc23xx_timerisr(int irq, uint32_t * regs, FAR void *arg)
|
||||
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
|
||||
/* Clear the MR0 match interrupt */
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ static int lpc31_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -94,7 +94,7 @@ static int lpc43_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -106,7 +106,7 @@ static int lpc54_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -93,7 +93,7 @@ static int max326_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
uint32_t i;
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ static int moxart_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
|
||||
putreg32(cmp, TM1_ADDR + COUNTER_TIMER);
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -104,7 +104,7 @@ static int nrf52_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -160,7 +160,7 @@ static int nuc_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Sleep until an interrupt occurs to save power */
|
||||
|
||||
@@ -66,7 +66,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Sleep until an interrupt occurs to save power */
|
||||
|
||||
@@ -116,7 +116,7 @@ static int sam_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ static int sam_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
|
||||
while (picnt-- > 0)
|
||||
{
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
}
|
||||
|
||||
return OK;
|
||||
|
||||
@@ -170,7 +170,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -99,7 +99,7 @@ static int sam_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -94,7 +94,7 @@ static int sam_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ static int sam_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* Perform IDLE mode power management */
|
||||
|
||||
@@ -102,7 +102,7 @@ static int stm32_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ void up_idle(void)
|
||||
* "fake" timer interrupts. Hopefully, something will wake up.
|
||||
*/
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
#else
|
||||
|
||||
/* If the g_dma_inprogress is zero, then there is no DMA in progress. This
|
||||
|
||||
@@ -111,7 +111,7 @@ static int stm32_timerisr(int irq, uint32_t *regs, FAR void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ static int stm32_timerisr(int irq, uint32_t *regs, void *arg)
|
||||
{
|
||||
/* Process timer interrupt */
|
||||
|
||||
sched_process_timer();
|
||||
nxsched_process_timer();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user