mirror of
https://github.com/golang/go
synced 2024-11-20 04:54:44 -07:00
5963dbac08
tested on linux/amd64, linux/386, linux/arm, darwin/amd64, darwin/386. freebsd untested; will finish in a separate CL. for now all the panics are errorStrings. richer structures can be added as necessary once the mechanism is shaked out. R=r CC=golang-dev https://golang.org/cl/906041
25 lines
700 B
C
25 lines
700 B
C
// Copyright 2009 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
/*
|
|
* Input to godefs
|
|
godefs -f -m64 defs.c >amd64/defs.h
|
|
godefs -f -m64 defs1.c >>amd64/defs.h
|
|
*/
|
|
|
|
#include <ucontext.h>
|
|
|
|
typedef __sigset_t $Usigset;
|
|
typedef struct _libc_fpxreg $Fpxreg;
|
|
typedef struct _libc_xmmreg $Xmmreg;
|
|
typedef struct _libc_fpstate $Fpstate;
|
|
typedef struct _fpxreg $Fpxreg1;
|
|
typedef struct _xmmreg $Xmmreg1;
|
|
typedef struct _fpstate $Fpstate1;
|
|
typedef struct _fpreg $Fpreg1;
|
|
typedef struct sigaltstack $Sigaltstack;
|
|
typedef mcontext_t $Mcontext;
|
|
typedef ucontext_t $Ucontext;
|
|
typedef struct sigcontext $Sigcontext;
|