Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSEP551
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
cffa9543
Commit
cffa9543
authored
17 years ago
by
rsc
Browse files
Options
Downloads
Patches
Plain Diff
nits
parent
5573c8f2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
BUGS
+0
-16
0 additions, 16 deletions
BUGS
bootasm.S
+2
-2
2 additions, 2 deletions
bootasm.S
defs.h
+3
-3
3 additions, 3 deletions
defs.h
runoff
+7
-2
7 additions, 2 deletions
runoff
toc.ftr
+5
-6
5 additions, 6 deletions
toc.ftr
with
17 additions
and
29 deletions
BUGS
+
0
−
16
View file @
cffa9543
proc.c:
as a consequence of the implementation of proc_kill,
any loop calling sleep should check for p->killed
and be able to break out with an error return.
it is better if you check *before* sleep.
syscall.c:
cannot convince runoff1 to split the extern lists
to fill previous page completely.
formatting:
file.c filewrite leaks onto next page
need to fix PAGEBREAK mechanism
fs.c: grep XXX
sysfile.c: why does mknod take a type argument?
This diff is collapsed.
Click to expand it.
bootasm.S
+
2
−
2
View file @
cffa9543
...
...
@@ -67,11 +67,11 @@ protcseg:
#
Set
up
the
stack
pointer
and
call
into
C
.
movl
$start
,
%
esp
call
bootmain
call
bootmain
#
If
bootmain
returns
(
it
shouldn
't), loop.
spin
:
jmp
spin
jmp
spin
#
Bootstrap
GDT
.
p2align
2
#
force
4
byte
alignment
...
...
This diff is collapsed.
Click to expand it.
defs.h
+
3
−
3
View file @
cffa9543
...
...
@@ -96,16 +96,16 @@ int pipewrite(struct pipe*, char*, int);
// proc.c
struct
proc
*
copyproc
(
struct
proc
*
);
void
exit
(
void
);
int
growproc
(
int
);
int
kill
(
int
);
void
pinit
(
void
);
void
procdump
(
void
);
void
exit
(
void
);
int
kill
(
int
);
int
wait
(
void
);
void
scheduler
(
void
)
__attribute__
((
noreturn
));
void
setupsegs
(
struct
proc
*
);
void
sleep
(
void
*
,
struct
spinlock
*
);
void
userinit
(
void
);
int
wait
(
void
);
void
wakeup
(
void
*
);
void
yield
(
void
);
...
...
This diff is collapsed.
Click to expand it.
runoff
+
7
−
2
View file @
cffa9543
...
...
@@ -109,15 +109,20 @@ perl -e '
if (/^([0-9]+) #define +([A-za-z0-9_]+) +?\(.*/) {
print "$1 $2\n"
}
elsif (/^([0-9]+) #define +([A-Za-z0-9_]+) +([^ ]+)/) {
print "$1 $2 $3\n";
}
elsif (/^([0-9]+) #define +([A-Za-z0-9_]+)/) {
print "$1 $2\n";
}
if(/^^([0-9]+) \.globl ([a-zA-Z0-9_]+)/){
$isglobl{$2} = 1;
}
if(/^^([0-9]+) ([a-zA-Z0-9_]+):$/ && $isglobl{$2}){
print "$1 $2\n";
}
if (/\(/) {
next;
}
...
...
This diff is collapsed.
Click to expand it.
toc.ftr
+
5
−
6
View file @
cffa9543
...
...
@@ -6,10 +6,9 @@ on the same line as the name, the line number (or, in a few cases, numbers)
where the name is defined. Successive lines in an entry list the line
numbers where the name is used. For example, this entry:
namei 4610
0333 4610 4709 4758
4808 4857 4866 5264
5277 5362 5410 5490
swtch 2256
0311 1928 1962 2255
2256
indicates that
namei
is defined on line
4610
and is mentioned on
twel
ve lines
on sheets 03,
46, 47, 48, 52, 53
, and
54
.
indicates that
swtch
is defined on line
2256
and is mentioned on
fi
ve lines
on sheets 03,
19
, and
22
.
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