github.com/usbarmory/tamago@v0.0.0-20240508072735-8612bbe1e454/arm/debug.s (about)

     1  // ARM processor support
     2  // https://github.com/usbarmory/tamago
     3  //
     4  // Copyright (c) WithSecure Corporation
     5  // https://foundry.withsecure.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 read_dbgauthstatus() uint32
    11  TEXT ·read_dbgauthstatus(SB),$0-4
    12  	// ARM Architecture Reference Manual - ARMv7-A and ARMv7-R edition
    13  	//
    14  	// C11.11.1 DBGAUTHSTATUS, Authentication Status register
    15  	MRC	14, 0, R0, C7, C14, 6
    16  	MOVW	R0, ret+0(FP)
    17  
    18  	RET