github.com/f-secure-foundry/tamago@v0.0.0-20220307101044-d73fcdd7f11b/arm/irq.s (about)

     1  // ARM processor support
     2  // https://github.com/f-secure-foundry/tamago
     3  //
     4  // Copyright (c) F-Secure Corporation
     5  // https://foundry.f-secure.com
     6  //
     7  // Use of this source code is governed by the license
     8  // that can be found in the LICENSE file.
     9  
    10  // func irq_enable()
    11  TEXT ·irq_enable(SB),$0
    12  	WORD	$0xf10801c0 // cpsie aif
    13  	RET
    14  
    15  // func irq_disable()
    16  TEXT ·irq_disable(SB),$0
    17  	WORD	$0xf10c01c0 // cpsid aif
    18  	RET