2008-11-12 Robert Millan <rmh@aybabtu.com>
commit084ed4b5961333cf4ba652272d40465fbb336a07
authorRobert Millan <rmh@aybabtu.com>
Tue, 11 Nov 2008 23:27:18 +0000 (11 23:27 +0000)
committerRobert Millan <rmh@aybabtu.com>
Tue, 11 Nov 2008 23:27:18 +0000 (11 23:27 +0000)
tree1843c907fb12c9b62bebc8a2bb538fb61b9e3782
parent0c6ce6b127f20b832b6103419f332fd9215d6b71
2008-11-12  Robert Millan  <rmh@aybabtu.com>

        Use newly-added Multiboot support in coreboot.

        * conf/i386-coreboot.rmk (kernel_elf_SOURCES): Replace
        `kern/i386/coreboot/mmap.c' with `kern/i386/multiboot_mmap.c'.

        * kern/i386/coreboot/startup.S: Enable Multiboot header, fix its
        alignment, set `MULTIBOOT_MEMORY_INFO' flag.
        (codestart): Store the MBI in `startup_multiboot_info' when we're
        being loaded using Multiboot.

        * kern/i386/coreboot/init.c (grub_machine_init): Move
        grub_at_keyboard_init() call to beginning of function (useful for
        debugging).  Call grub_machine_mmap_init() before attempting to use
        grub_machine_mmap_iterate().
        (grub_lower_mem, grub_upper_mem): Move from here ...
        * kern/i386/multiboot_mmap.c (grub_lower_mem, grub_upper_mem): ... to
        here (new file).

        * include/grub/i386/coreboot/memory.h (grub_machine_mmap_init): New
        function prototype.

git-svn-id: svn://svn.savannah.gnu.org/grub/trunk/grub2@1910 d0de0278-0dc1-4c01-8a07-af38b3205e46
ChangeLog
DISTLIST
conf/i386-coreboot.mk
conf/i386-coreboot.rmk
include/grub/i386/coreboot/memory.h
kern/i386/coreboot/init.c
kern/i386/coreboot/startup.S
kern/i386/multiboot_mmap.c [new file with mode: 0644]