Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSEP551
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krishna Vinnakota
CSEP551
Commits
949e5590
Commit
949e5590
authored
15 years ago
by
rsc
Browse files
Options
Downloads
Patches
Plain Diff
usys.S: put before init.c, STUB -> SYSCALL
parent
90bab908
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
runoff.list
+1
-1
1 addition, 1 deletion
runoff.list
usys.S
+21
-21
21 additions, 21 deletions
usys.S
with
22 additions
and
22 deletions
runoff.list
+
1
−
1
View file @
949e5590
...
...
@@ -66,8 +66,8 @@ timer.c
# user-level
initcode.S
init.c
usys.S
init.c
sh.c
This diff is collapsed.
Click to expand it.
usys.S
+
21
−
21
View file @
949e5590
#include "syscall.h"
#include "traps.h"
#define S
TUB
(name) \
#define S
YSCALL
(name) \
.
globl
name
; \
name
:
\
movl
$SYS_
##
name
,
%
eax
; \
int
$T_SYSCALL
; \
ret
S
TUB
(
fork
)
S
TUB
(
exit
)
S
TUB
(
wait
)
S
TUB
(
pipe
)
S
TUB
(
read
)
S
TUB
(
write
)
S
TUB
(
close
)
S
TUB
(
kill
)
S
TUB
(
exec
)
S
TUB
(
open
)
S
TUB
(
mknod
)
S
TUB
(
unlink
)
S
TUB
(
fstat
)
S
TUB
(
link
)
S
TUB
(
mkdir
)
S
TUB
(
chdir
)
S
TUB
(
dup
)
S
TUB
(
getpid
)
S
TUB
(
sbrk
)
S
TUB
(
sleep
)
S
YSCALL
(
fork
)
S
YSCALL
(
exit
)
S
YSCALL
(
wait
)
S
YSCALL
(
pipe
)
S
YSCALL
(
read
)
S
YSCALL
(
write
)
S
YSCALL
(
close
)
S
YSCALL
(
kill
)
S
YSCALL
(
exec
)
S
YSCALL
(
open
)
S
YSCALL
(
mknod
)
S
YSCALL
(
unlink
)
S
YSCALL
(
fstat
)
S
YSCALL
(
link
)
S
YSCALL
(
mkdir
)
S
YSCALL
(
chdir
)
S
YSCALL
(
dup
)
S
YSCALL
(
getpid
)
S
YSCALL
(
sbrk
)
S
YSCALL
(
sleep
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment