git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement APIC, RTC, basic ACPI parser and timer support
[lunaix-os.git]
/
lunaix-os
/
arch
/
x86
/
boot.S
diff --git
a/lunaix-os/arch/x86/boot.S
b/lunaix-os/arch/x86/boot.S
index ddcd8917989411caf83eceb74e0030d522318c9d..8ba78cc39ab8443004b394545a786061c7995369 100644
(file)
--- a/
lunaix-os/arch/x86/boot.S
+++ b/
lunaix-os/arch/x86/boot.S
@@
-18,7
+18,7
@@
/* 根据System V ABI,栈地址必须16字节对齐 */
/* 这里只是一个临时栈,在_hhk_init里面我们会初始化内核专用栈 */
stack_bottom:
- .skip 16318, 0
+ .skip 16318
* 2
, 0
stack_top:
@@
-42,6
+42,7
@@
*/
start_:
cld
+ # 确保屏蔽所有外中断,直到我们准备好PIC为止
cli
movl $stack_top, %esp