Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43113
b: refs/heads/master
c: 3df0af0
h: refs/heads/master
i:
  43111: a4e36f8
v: v3
  • Loading branch information
Yinghai Lu authored and Andi Kleen committed Dec 7, 2006
1 parent eeb32e1 commit 4149986
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0741f4d207a644482d7a040f05cd264c98cf7ee8
refs/heads/master: 3df0af0eb064a16bbdbe81b46bc72a4089f88d54
6 changes: 4 additions & 2 deletions trunk/arch/x86_64/kernel/head64.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ void __init x86_64_start_kernel(char * real_mode_data)
{
int i;

for (i = 0; i < 256; i++)
/* clear bss before set_intr_gate with early_idt_handler */
clear_bss();

for (i = 0; i < IDT_ENTRIES; i++)
set_intr_gate(i, early_idt_handler);
asm volatile("lidt %0" :: "m" (idt_descr));
clear_bss();

early_printk("Kernel alive\n");

Expand Down

0 comments on commit 4149986

Please sign in to comment.