Black Lives Matter. Support the Equal Justice Initiative.

Source file src/runtime/defs_netbsd_386.go

Documentation: runtime

     1  // Copyright 2009 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  // +build ignore
     7  
     8  /*
     9  Input to cgo.
    10  
    11  GOARCH=386 go tool cgo -cdefs defs_netbsd.go defs_netbsd_386.go >defs_netbsd_386.h
    12  */
    13  
    14  package runtime
    15  
    16  /*
    17  #include <sys/types.h>
    18  #include <machine/mcontext.h>
    19  */
    20  import "C"
    21  
    22  const (
    23  	REG_GS     = C._REG_GS
    24  	REG_FS     = C._REG_FS
    25  	REG_ES     = C._REG_ES
    26  	REG_DS     = C._REG_DS
    27  	REG_EDI    = C._REG_EDI
    28  	REG_ESI    = C._REG_ESI
    29  	REG_EBP    = C._REG_EBP
    30  	REG_ESP    = C._REG_ESP
    31  	REG_EBX    = C._REG_EBX
    32  	REG_EDX    = C._REG_EDX
    33  	REG_ECX    = C._REG_ECX
    34  	REG_EAX    = C._REG_EAX
    35  	REG_TRAPNO = C._REG_TRAPNO
    36  	REG_ERR    = C._REG_ERR
    37  	REG_EIP    = C._REG_EIP
    38  	REG_CS     = C._REG_CS
    39  	REG_EFL    = C._REG_EFL
    40  	REG_UESP   = C._REG_UESP
    41  	REG_SS     = C._REG_SS
    42  )
    43  

View as plain text