sim: set timer irq as real timer

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2022-12-13 21:39:22 +08:00
committed by Masayuki Ishikawa
parent 64a54d2dfd
commit 5744c62443
7 changed files with 62 additions and 17 deletions
+1
View File
@@ -115,6 +115,7 @@ int up_cpu_index(void);
* leave_critical section(), are probably what you really want.
*/
irqstate_t up_irq_flags(void);
irqstate_t up_irq_save(void);
void up_irq_restore(irqstate_t flags);