Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
e37892c3
Commit
e37892c3
authored
Mar 25, 2011
by
Devon H. O'Dell
Committed by
Andrew Gerrand
Mar 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freebsd-386: update defs
R=golang-dev, adg CC=golang-dev
https://golang.org/cl/4273102
parent
1b2c3e66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
src/pkg/runtime/freebsd/386/defs.h
src/pkg/runtime/freebsd/386/defs.h
+19
-2
No files found.
src/pkg/runtime/freebsd/386/defs.h
View file @
e37892c3
...
...
@@ -61,6 +61,9 @@ enum {
BUS_OBJERR
=
0x3
,
SEGV_MAPERR
=
0x1
,
SEGV_ACCERR
=
0x2
,
ITIMER_REAL
=
0
,
ITIMER_VIRTUAL
=
0x1
,
ITIMER_PROF
=
0x2
,
};
// Types
...
...
@@ -154,7 +157,9 @@ struct Mcontext {
int32
mc_ownedfp
;
int32
mc_spare1
[
1
];
int32
mc_fpstate
[
128
];
int32
mc_spare2
[
8
];
int32
mc_fsbase
;
int32
mc_gsbase
;
int32
mc_spare2
[
6
];
};
typedef
struct
Ucontext
Ucontext
;
...
...
@@ -165,6 +170,18 @@ struct Ucontext {
StackT
uc_stack
;
int32
uc_flags
;
int32
__spare__
[
4
];
byte
pad0
[
12
];
byte
pad_godefs_0
[
12
];
};
typedef
struct
Timeval
Timeval
;
struct
Timeval
{
int32
tv_sec
;
int32
tv_usec
;
};
typedef
struct
Itimerval
Itimerval
;
struct
Itimerval
{
Timeval
it_interval
;
Timeval
it_value
;
};
#pragma pack off
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment