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
62049366
Commit
62049366
authored
Apr 07, 2011
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: freebsd/386 Syscall9 (fix build)
R=r CC=golang-dev
https://golang.org/cl/4386042
parent
c54ed66c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
src/pkg/syscall/asm_freebsd_386.s
src/pkg/syscall/asm_freebsd_386.s
+30
-0
No files found.
src/pkg/syscall/asm_freebsd_386.s
View file @
62049366
...
...
@@ -61,6 +61,36 @@ ok6:
CALL
runtime
·
exitsyscall
(
SB
)
RET
TEXT
·
Syscall9
(
SB
),7,$0
CALL
runtime
·
entersyscall
(
SB
)
MOVL
4
(
SP
),
AX
//
syscall
entry
//
slide
args
down
on
top
of
system
call
number
LEAL
8
(
SP
),
SI
LEAL
4
(
SP
),
DI
CLD
MOVSL
MOVSL
MOVSL
MOVSL
MOVSL
MOVSL
MOVSL
MOVSL
MOVSL
INT
$
0x80
JAE
ok9
MOVL
$
-
1
,
44
(
SP
)
//
r1
MOVL
$
-
1
,
48
(
SP
)
//
r2
MOVL
AX
,
52
(
SP
)
//
errno
CALL
runtime
·
exitsyscall
(
SB
)
RET
ok9
:
MOVL
AX
,
44
(
SP
)
//
r1
MOVL
DX
,
48
(
SP
)
//
r2
MOVL
$
0
,
52
(
SP
)
//
errno
CALL
runtime
·
exitsyscall
(
SB
)
RET
TEXT
·
RawSyscall
(
SB
),7,$0
MOVL
4
(
SP
),
AX
//
syscall
entry
//
slide
args
down
on
top
of
system
call
number
...
...
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