mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-08 19:30:39 +00:00
Added irq_barrier to part13-interrupts just to be sure
This commit is contained in:
parent
3faf8d10ff
commit
9566e13a7f
3 changed files with 7 additions and 0 deletions
|
@ -120,6 +120,7 @@ void main(void)
|
|||
|
||||
irq_init_vectors();
|
||||
enable_interrupt_controller();
|
||||
irq_barrier();
|
||||
irq_enable();
|
||||
timer_init();
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ enum vc_irqs {
|
|||
|
||||
void irq_init_vectors();
|
||||
void irq_enable();
|
||||
void irq_barrier();
|
||||
void irq_disable();
|
||||
void enable_interrupt_controller();
|
||||
void disable_interrupt_controller();
|
||||
|
|
|
@ -13,3 +13,8 @@ irq_enable:
|
|||
irq_disable:
|
||||
msr daifset, #2
|
||||
ret
|
||||
|
||||
.globl irq_barrier
|
||||
irq_barrier:
|
||||
dsb sy
|
||||
ret
|
||||
|
|
Loading…
Reference in a new issue