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

     1  // RISC-V 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 halt()
    11  TEXT ·halt(SB),$0
    12  	// wait forever in low-power state
    13  	WORD $0x10500073 // wfi