jeroen
cc2e748a08
2004-04-30 Jeroen Dekkers <jeroen@dekkers.cx>
...
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add normal/arg.c,
commands/ls.c, commands/terminal.c, commands/boot.c,
commands/cmp.c and commands/cat.c.
(grubof_LDFLAGS): Add -nostdlib -static-libgcc -lgcc.
* kern/powerpc/ieee1275/init.c: Include "grub/env.h" instead of
"env.h"
2004-04-30 20:46:40 +00:00
jeroen
8c8cc20511
2004-03-14 Jeroen Dekkers <jeroen@dekkers.cx>
...
* Makefile.in: Update copyright.
* genmodsrc.sh: Likewise.
* gensymlist.sh: Likewise.
* term/i386/pc/vga.c: Indent correctly.
* util/i386/pc/pupa-mkimage.c (usage): Use PACKAGE_BUGREPORT as
bugreporting address.
* util/i386/pc/pupa-setup.c (usage): Likewise,
(main): Call pupa_ext2_init and pupa_ext2_fini.
* fs/fat.c (log2): Renamed to ...
(fat_log2): ... this.
All callers changed.
* kern/misc.c (memcpy): Alias to pupa_memmove.
* loader/i386/pc/multiboot.c (pupa_rescue_cmd_multiboot): Fix
lvalue cast.
* util/console.c (pupa_ncurses_fini): Return 0.
* util/i386/pc/biosdisk.c (pupa_util_biosdisk_open)[__linux__]:
Move fail label here.
[__GNU__]: Don't warn when using stat.
(open_device)[!__linux__]: Check if FD < 0 instead of !FD.
(pupa_util_biosdisk_get_pupa_dev)[__GNU__]: Change type of N to
long int. Use strtol instead of strtoul.
2004-03-14 17:48:25 +00:00
jeroen
e6eced7150
2004-02-15 Jeroen Dekkers <jeroen@dekkers.cx>
...
* fs/ext2.c (pupa_ext2_read_file): Correct the value of BLOCKEND
when it is EXT2_BLOCK_SIZE (data). New argument READ_HOOK, all
callers changed. Set DATA->DISK->READ_HOOK to READ_HOOK before
reading and reset it after reading.
(pupa_ext2_close): Return PUPA_ERR_NONE.
* include/pupa/i386/pc/linux.h (PUPA_LINUX_INITRD_MAX_ADDRESS):
Correct value.
(struct linux_kernel_header): Add kernel_version and
initrd_addr_max.
* loader/i386/pc/linux.c (pupa_rescue_cmd_linux): Check whether
pupa_file_read succeeds.
(pupa_rescue_cmd_initrd): Implement.
2004-02-15 10:09:11 +00:00
jeroen
9a5c1adeaa
2003-11-16 Jeroen Dekkers <jeroen@dekkers.cx>
...
* conf/i386-pc.rmk (pkgdata_MODULES): Add _multiboot.mod.
(_multiboot_mod_SOURCES): New variable.
(_multiboot_mod_CFLAGS): Likewise.
* loader/i386/pc/multiboot.c: New file.
* include/pupa/i386/pc/multiboot.h: Likewise.
* kern/i386/pc/startup.S: Include pupa/machine/multiboot.h.
(pupa_multiboot_real_boot): New function.
* include/pupa/i386/pc/loader.h: Include pupa/machine/multiboot.h.
(pupa_multiboot_real_boot): New prototype.
(pupa_rescue_cmd_multiboot): Likewise
(pupa_rescue_cmd_module): Likewise.
* kern/loader.c (pupa_loader_set): Continue when
pupa_loader_unload_func() fails.
(pupa_loader_unset): New function.
* include/pupa/loader.h (pupa_loader_unset): New prototype.
* kern/misc.c (pupa_stpcpy): New function.
* include/pupa/misc.h (pupa_stpcpy): New prototype.
2003-11-16 16:36:39 +00:00