projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c35f2
)
Turn on cache as first step of post.
author
Kevin O'Connor
<kevin@koconnor.net>
Sun, 26 Oct 2008 03:06:23 +0000
(23:06 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sun, 26 Oct 2008 03:06:23 +0000
(23:06 -0400)
This is needed on kvm.
src/romlayout.S
patch
|
blob
|
history
diff --git
a/src/romlayout.S
b/src/romlayout.S
index 3eaf725d69d13805ea607a93ee054c0569b4b212..dabee9a31d7ff5c199c8df94bd7694ef82d69491 100644
(file)
--- a/
src/romlayout.S
+++ b/
src/romlayout.S
@@
-126,6
+126,11
@@
ORG 0xe05b
post16:
+ // enable cache
+ movl %cr0, %eax
+ andl $0x9fffffff, %eax
+ movl %eax, %cr0
+
// init the stack pointer
RESET_STACK