Source file src/runtime/defs_netbsd_arm.go

     1  // Copyright 2013 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build ignore
     6  
     7  /*
     8  Input to cgo.
     9  
    10  GOARCH=arm go tool cgo -cdefs defs_netbsd.go defs_netbsd_arm.go >defs_netbsd_arm.h
    11  */
    12  
    13  package runtime
    14  
    15  /*
    16  #include <sys/types.h>
    17  #include <machine/mcontext.h>
    18  */
    19  import "C"
    20  
    21  const (
    22  	REG_R0   = C._REG_R0
    23  	REG_R1   = C._REG_R1
    24  	REG_R2   = C._REG_R2
    25  	REG_R3   = C._REG_R3
    26  	REG_R4   = C._REG_R4
    27  	REG_R5   = C._REG_R5
    28  	REG_R6   = C._REG_R6
    29  	REG_R7   = C._REG_R7
    30  	REG_R8   = C._REG_R8
    31  	REG_R9   = C._REG_R9
    32  	REG_R10  = C._REG_R10
    33  	REG_R11  = C._REG_R11
    34  	REG_R12  = C._REG_R12
    35  	REG_R13  = C._REG_R13
    36  	REG_R14  = C._REG_R14
    37  	REG_R15  = C._REG_R15
    38  	REG_CPSR = C._REG_CPSR
    39  )
    40  

View as plain text