projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4df618
)
Need to turn off interrupts again after calling into BIOS.
author
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 18 Jan 2005 18:11:11 +0000
(18:11 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Tue, 18 Jan 2005 18:11:11 +0000
(18:11 +0000)
src/threads/loader.S
patch
|
blob
|
history
diff --git
a/src/threads/loader.S
b/src/threads/loader.S
index 2bfe1a45304c8756fb1cba4b14bd30af076c6320..95ef9d9cbd349c7c104b9acb626b6c0a9fa4c169 100644
(file)
--- a/
src/threads/loader.S
+++ b/
src/threads/loader.S
@@
-119,6
+119,7
@@
start:
mov ah, 0x88
int 0x15
jc panic
+ cli # BIOS might have enabled interrupts
add eax, 1024 # Total kB memory
cmp eax, 0x10000 # Cap at 64 MB
jbe 1f