rpi4-osdev/part14-spi-ethernet-interrupt/kernel/utils.S

21 lines
263 B
ArmAsm
Raw Normal View History

.globl irq_init_vectors
irq_init_vectors:
adr x0, vectors
msr vbar_el1, x0
ret
.globl irq_enable
irq_enable:
msr daifclr, #2
ret
.globl irq_disable
irq_disable:
msr daifset, #2
ret
.globl irq_barrier
irq_barrier:
dsb sy
ret