projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbbbda1
)
For some reason i386-elf-as doesn't like 512/4, so replace it by 128.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 13 Sep 2004 22:58:51 +0000
(22:58 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 13 Sep 2004 22:58:51 +0000
(22:58 +0000)
Actually, replace it by 256 and use insw instead of insl.
src/threads/loader.S
patch
|
blob
|
history
diff --git
a/src/threads/loader.S
b/src/threads/loader.S
index 7dfb7e006f7d9bb2d3cdee074632741667a2a051..e87a6c6530a3c3b2550b9376c94750d25942d5e3 100644
(file)
--- a/
src/threads/loader.S
+++ b/
src/threads/loader.S
@@
-253,9
+253,9
@@
read_sector:
# Transfer sector.
- movl $
512 / 4
, %ecx
+ movl $
256
, %ecx
movl $0x1f0, %edx
- rep ins
l
+ rep ins
w
# Next sector.