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
8c8b748a
Commit
8c8b748a
authored
17 years ago
by
rsc
Browse files
Options
Downloads
Patches
Plain Diff
now spllo is okay
parent
b5dcebdb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
trap.c
+2
-8
2 additions, 8 deletions
trap.c
with
2 additions
and
8 deletions
trap.c
+
2
−
8
View file @
8c8b748a
...
...
@@ -83,14 +83,8 @@ trap(struct trapframe *tf)
cp
->
pid
,
cp
->
name
,
tf
->
trapno
,
tf
->
err
,
cpu
(),
tf
->
eip
);
cp
->
killed
=
1
;
}
// Undo splhi but do not enable interrupts.
// If you change this to spllo() you can get a
// triple fault by just typing too fast at the prompt.
// An interrupt stops us right here, and when that
// interrupt tries to return, somehow the segment
// registers are all invalid.
--
cpus
[
cpu
()].
nsplhi
;
spllo
();
// Force process exit if it has been killed and is in user space.
// (If it is still executing in the kernel, let it keep running
...
...
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