Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356233
b: refs/heads/master
c: fa2bbce
h: refs/heads/master
i:
  356231: 69c8d43
v: v3
  • Loading branch information
Yinghai Lu authored and H. Peter Anvin committed Jan 29, 2013
1 parent d6dd691 commit dcc5dcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: aece27851d44bde62fc0587e06f5e8e27fd96e5f
refs/heads/master: fa2bbce985ca97943305cdc81d9626e6810ed7f2
6 changes: 5 additions & 1 deletion trunk/arch/x86/kernel/head64.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ void __init x86_64_start_kernel(char * real_mode_data)
}
load_idt((const struct desc_ptr *)&idt_descr);

copy_bootdata(__va(real_mode_data));

if (console_loglevel == 10)
early_printk("Kernel alive\n");

Expand All @@ -97,7 +99,9 @@ void __init x86_64_start_kernel(char * real_mode_data)

void __init x86_64_start_reservations(char *real_mode_data)
{
copy_bootdata(__va(real_mode_data));
/* version is always not zero if it is copied */
if (!boot_params.hdr.version)
copy_bootdata(__va(real_mode_data));

memblock_reserve(__pa_symbol(&_text),
__pa_symbol(&__bss_stop) - __pa_symbol(&_text));
Expand Down

0 comments on commit dcc5dcb

Please sign in to comment.