diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-06-12 14:03:09 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-06-12 14:03:09 +0100 |
commit | 79e96982cade240531d7d84fa5b966b2b64c04af (patch) | |
tree | 2fcf4f3e09ddde43b9a3be3aa2b5204d08cb9622 /xen/arch/x86/boot/trampoline.S | |
parent | 1b0d4ab994bfcb2dda4cf4a0f0f385d1d6c90954 (diff) | |
download | xen-79e96982cade240531d7d84fa5b966b2b64c04af.tar.gz xen-79e96982cade240531d7d84fa5b966b2b64c04af.tar.bz2 xen-79e96982cade240531d7d84fa5b966b2b64c04af.zip |
x86: Gather BIOS EDD info during boot.
Still needs plumbing to dom0.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/boot/trampoline.S')
-rw-r--r-- | xen/arch/x86/boot/trampoline.S | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xen/arch/x86/boot/trampoline.S b/xen/arch/x86/boot/trampoline.S index ed63518b40..492d42aaab 100644 --- a/xen/arch/x86/boot/trampoline.S +++ b/xen/arch/x86/boot/trampoline.S @@ -142,17 +142,19 @@ trampoline_boot_cpu_entry: mov %ax,%es mov %ax,%ss - /* Stack grows down from 0x9200. Initialise IDT and enable irqs. */ - mov $0x2000,%sp + /* Stack grows down from 0x93000. Initialise IDT and enable irqs. */ + mov $0x3000,%sp lidt bootsym(rm_idt) sti /* * Do real-mode work: * 1. Get memory map. - * 2. Set video mode. + * 2. Get Enhanced Disk Drive (EDD) information. + * 3. Set video mode. */ call get_memory_map + call get_edd call video /* Disable irqs before returning to protected mode. */ @@ -187,4 +189,5 @@ skip_realmode: rm_idt: .word 256*4-1, 0, 0 #include "mem.S" +#include "edd.S" #include "video.S" |