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