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
c9ee77b8
Commit
c9ee77b8
authored
15 years ago
by
Russ Cox
Browse files
Options
Downloads
Patches
Plain Diff
formatting tweaks
parent
d26025d1
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
proc.c
+2
-1
2 additions, 1 deletion
proc.c
trap.c
+2
-1
2 additions, 1 deletion
trap.c
with
4 additions
and
2 deletions
proc.c
+
2
−
1
View file @
c9ee77b8
...
...
@@ -94,7 +94,7 @@ usegment(void)
popcli
();
}
//PAGEBREAK:
15
//PAGEBREAK:
32
// Look in the process table for an UNUSED proc.
// If found, change state to EMBRYO and return it.
// Otherwise return 0.
...
...
@@ -139,6 +139,7 @@ found:
return
p
;
}
//PAGEBREAK: 32
// Set up first user process.
void
userinit
(
void
)
...
...
This diff is collapsed.
Click to expand it.
trap.c
+
2
−
1
View file @
c9ee77b8
...
...
@@ -73,7 +73,8 @@ trap(struct trapframe *tf)
cpu
->
id
,
tf
->
cs
,
tf
->
eip
);
lapiceoi
();
break
;
//PAGEBREAK: 13
default:
if
(
proc
==
0
||
(
tf
->
cs
&
3
)
==
0
){
// In kernel, it must be our mistake.
...
...
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