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
289bbef7
Commit
289bbef7
authored
16 years ago
by
kolya
Browse files
Options
Downloads
Patches
Plain Diff
minor cleanup
parent
f73b8120
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
console.c
+1
-1
1 addition, 1 deletion
console.c
lapic.c
+2
-2
2 additions, 2 deletions
lapic.c
with
3 additions
and
3 deletions
console.c
+
1
−
1
View file @
289bbef7
...
...
@@ -290,7 +290,7 @@ panic(char *s)
int
i
;
uint
pcs
[
10
];
__asm
__volatile
(
"
cli
"
);
cli
(
);
use_console_lock
=
0
;
cprintf
(
"cpu%d: panic: "
,
cpu
());
cprintf
(
s
);
...
...
This diff is collapsed.
Click to expand it.
lapic.c
+
2
−
2
View file @
289bbef7
...
...
@@ -97,8 +97,8 @@ cpu(void)
// Cannot call cpu when interrupts are enabled:
// result not guaranteed to last long enough to be used!
// Would prefer to panic but even printing is chancy here:
// everything, including cprintf, calls cpu,
at least indirectly
// through acquire and release.
//
almost
everything, including cprintf
and panic
, calls cpu,
//
often indirectly
through acquire and release.
if
(
read_eflags
()
&
FL_IF
){
static
int
n
;
if
(
n
++
==
0
)
...
...
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