2009-03-28 Robert Millan <rmh@aybabtu.com>
* conf/i386-pc.rmk (pkglib_MODULES): Add `linux16.mod'. (linux16_mod_SOURCES, linux16_mod_CFLAGS, linux16_mod_LDFLAGS): New variables. Use 16-bit loader. (linux_mod_SOURCES, linux_mod_CFLAGS, linux_mod_LDFLAGS): Use 32-bit loader. * kern/i386/loader.S (grub_linux_boot): Rename to ... (grub_linux16_boot): ... this. Update all users. * loader/i386/linux.c (grub_linux32_boot): Rename to ... (grub_linux_boot): ... this. Update all users. * loader/i386/pc/linux.c (GRUB_MOD_INIT(linux)): Rename to ... (GRUB_MOD_INIT(linux16)): ... this. Rename `linux' and `initrd' commands to `linux16' and `initrd16'. (GRUB_MOD_FINI(linux)): Rename to ... (GRUB_MOD_FINI(linux16)): ... this.
This commit is contained in:
parent
7d074e3ce2
commit
a9368fd30c
7 changed files with 112 additions and 32 deletions
|
@ -30,7 +30,7 @@ extern grub_int32_t EXPORT_VAR(grub_linux_is_bzimage);
|
|||
extern grub_addr_t EXPORT_VAR(grub_os_area_addr);
|
||||
extern grub_size_t EXPORT_VAR(grub_os_area_size);
|
||||
|
||||
grub_err_t EXPORT_FUNC(grub_linux_boot) (void);
|
||||
grub_err_t EXPORT_FUNC(grub_linux16_boot) (void);
|
||||
|
||||
void EXPORT_FUNC(grub_unix_real_boot) (grub_addr_t entry, ...)
|
||||
__attribute__ ((cdecl,noreturn));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue