x86_64: prepare shared kernel/verify_cpu.S
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
977d5654cb
commit
e0a84f689b
@ -174,7 +174,7 @@ no_longmode:
|
|||||||
hlt
|
hlt
|
||||||
jmp 1b
|
jmp 1b
|
||||||
|
|
||||||
#include "../../kernel/verify_cpu.S"
|
#include "../../kernel/verify_cpu_64.S"
|
||||||
|
|
||||||
/* Be careful here startup_64 needs to be at a predictable
|
/* Be careful here startup_64 needs to be at a predictable
|
||||||
* address so I can export it in an ELF header. Bootloaders
|
* address so I can export it in an ELF header. Bootloaders
|
||||||
|
@ -269,7 +269,7 @@ no_longmode:
|
|||||||
movb $0xbc,%al ; outb %al,$0x80
|
movb $0xbc,%al ; outb %al,$0x80
|
||||||
jmp no_longmode
|
jmp no_longmode
|
||||||
|
|
||||||
#include "../verify_cpu.S"
|
#include "../verify_cpu_64.S"
|
||||||
|
|
||||||
/* This code uses an extended set of video mode numbers. These include:
|
/* This code uses an extended set of video mode numbers. These include:
|
||||||
* Aliases for standard modes
|
* Aliases for standard modes
|
||||||
|
@ -126,7 +126,7 @@ startup_64:
|
|||||||
no_longmode:
|
no_longmode:
|
||||||
hlt
|
hlt
|
||||||
jmp no_longmode
|
jmp no_longmode
|
||||||
#include "verify_cpu.S"
|
#include "verify_cpu_64.S"
|
||||||
|
|
||||||
# Careful these need to be in the same 64K segment as the above;
|
# Careful these need to be in the same 64K segment as the above;
|
||||||
tidt:
|
tidt:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user