mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-25 03:30:39 +00:00
16 lines
211 B
ArmAsm
16 lines
211 B
ArmAsm
|
.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
|