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