bean
86cb4f54b4
2008-03-31 Bean <bean123ch@gmail.com>
...
* conf/common.rmk (pkgdata_MODULES): Add afs.mod.
(grub_probe_SOURCES): Add fs/afs.c.
(grub_fstest_SOURCES): Likewise.
(afs_mod_SOURCES): New variable.
(afs_mod_CFLAGS): Likewise.
(afs_mod_LDFLAGS): Likewise.
* conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/afs.c.
(grub_emu_SOURCES): Likewise.
* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* fs/afs.c: New file.
2008-03-31 11:18:00 +00:00
robertmh
7dc15d8e6a
2008-02-28 Robert Millan <rmh@aybabtu.com>
...
* conf/i386-linuxbios.rmk (pkglib_MODULES): Add aout.mod.
(aout_mod_SOURCES): New variable.
(aout_mod_CFLAGS): Likewise.
(aout_mod_LDFLAGS): Likewise.
* conf/i386-ieee1275.rmk: Likewise.
2008-02-28 13:04:35 +00:00
bean
0d16e571f1
2008-02-24 Bean <bean123ch@gmail.com>
...
* fs/iso9660.c (GRUB_ISO9660_VOLDESC_BOOT): New macro.
(GRUB_ISO9660_VOLDESC_PRIMARY): Likewise.
(GRUB_ISO9660_VOLDESC_SUPP): Likewise.
(GRUB_ISO9660_VOLDESC_PART): Likewise.
(GRUB_ISO9660_VOLDESC_END): Likewise.
(grub_iso9660_primary_voldesc): New member escape.
(grub_iso9660_data): New member joliet.
(grub_iso9660_convert_string): New function.
(grub_iso9660_mount): Detect joliet extension.
(grub_iso9660_iterate_dir): Convert filename when joliet is detected.
(grub_iso9660_iso9660_label): Likewise.
* conf/common.rmk (pkgdata_MODULES): Add udf.mod.
(grub_setup_SOURCES): Add fs/udf.c.
(grub_fstest_SOURCES): Likewise.
(udf_mod_SOURCES): New variable.
(udf_mod_CFLAGS): Likewise.
(udf_mod_LDFLAGS): Likewise.
* conf/i386-pc.rmk (grub_setup_SOURCES): Add fs/udf.c.
(grub_emu_SOURCES): Likewise.
* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* fs/udf.c: New file.
2008-02-24 15:34:15 +00:00
robertmh
8a594a17c7
2008-02-24 Robert Millan <rmh@aybabtu.com>
...
* conf/i386-efi.rmk (normal/function.c_DEPENDENCIES)
(normal/lexer.c_DEPENDENCIES): New variables.
* conf/i386-ieee1275.rmk (normal/function.c_DEPENDENCIES)
(normal/lexer.c_DEPENDENCIES): Likewise.
* conf/i386-linuxbios.rmk (normal/function.c_DEPENDENCIES)
(normal/lexer.c_DEPENDENCIES): Likewise.
* conf/i386-pc.rmk (normal/function.c_DEPENDENCIES)
(normal/lexer.c_DEPENDENCIES): Likewise.
* conf/powerpc-ieee1275.rmk (normal/function.c_DEPENDENCIES)
(normal/lexer.c_DEPENDENCIES): Likewise.
* conf/sparc64-ieee1275.rmk (normal/function.c_DEPENDENCIES)
(normal/lexer.c_DEPENDENCIES): Likewise.
2008-02-24 15:06:30 +00:00
boeglin
f714229e34
2008-02-12 Alexandre Boeglin <alex@boeglin.org>
...
* conf/i386-efi.rmk (grub_emu_SOURCES): Replace commands/i386/pc/halt.c and
reboot.c by commands/halt.c and reboot.c.
(grub_install_SOURCES): Add halt.mod and reboot.mod.
(halt_mod_SOURCES): New variable.
(halt_mod_CFLAGS): Likewise.
(halt_mod_LDFLAGS): Likewise.
(reboot_mod_SOURCES): Likewise.
(reboot_mod_CFLAGS): Likewise.
(reboot_mod_LDFLAGS): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Replace commands/ieee1275/halt.c
and reboot.c by commands/halt.c and reboot.c.
(halt_mod_SOURCES): Likewise.
(reboot_mod_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_emu_SOURCES): Replace commands/i386/pc/reboot.c by
commands/reboot.c.
(reboot_mod_SOURCES): Likewise.
* commands/i386/pc/reboot.c: merge this file ...
* commands/ieee1275/reboot.c: ... and this file ...
* commands/reboot.c: ... to this file.
Add some precompiler directive to include the correct header for each
machine.
* commands/ieee1275/halt.c: move this file ...
* commands/halt.c: ... to here.
Add some precompiler directive to include the correct header for each
machine.
* include/grub/efi/efi.h (grub_reboot): New function declaration.
(grub_halt): Likewise.
* kern/efi/efi.c (grub_reboot): New function.
(grub_halt): Likewise.
2008-02-12 23:47:07 +00:00
robertmh
bf7486424d
2008-02-10 Robert Millan <rmh@aybabtu.com>
...
* conf/i386-efi.rmk (grub_emu_SOURCES): Add `disk/raid.c' and
`disk/lvm.c'.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_setup_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Move `disk/raid.c' and
`disk/lvm.c' to the end of the list.
* conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_emu_SOURCES): Likewise.
2008-02-10 20:00:37 +00:00
robertmh
7d31f41fc6
2008-02-01 Robert Millan <rmh@aybabtu.com>
...
* conf/i386-efi.rmk (normal/execute.c_DEPENDENCIES): Move to the
top.
(normal/command.c_DEPENDENCIES): New variable.
(grub-emu_DEPENDENCIES, normal_mod_DEPENDENCIES): Remove variables.
* conf/i386-ieee1275.rmk: Likewise.
* conf/i386-linuxbios.rmk: Likewise.
* conf/i386-pc.rmk: Likewise.
* conf/sparc64-ieee1275.rmk: Likewise.
* conf/powerpc-ieee1275.rmk: Likewise.
(grub_emu_SOURCES): Add `fs/fshelp.c'.
* genmk.rb: Add `$(#{src}_DEPENDENCIES)' in targets that require it.
2008-02-01 15:45:17 +00:00
robertmh
ccaa8a5f50
2008-01-30 Robert Millan <rmh@aybabtu.com>
...
* conf/i386-pc.rmk (sbin_UTILITIES): Remove `grub-probe'.
(util/grub-probe.c_DEPENDENCIES, grub_probe_SOURCES): Moved from here ...
* conf/common.rmk (util/grub-probe.c_DEPENDENCIES)
(grub_probe_SOURCES): ... to here.
* conf/i386-efi.rmk (sbin_UTILITIES): Remove `grub-probe'.
(util/grub-probe.c_DEPENDENCIES, grub_probe_SOURCES): Remove.
* conf/i386-ieee1275.rmk: Likewise.
* conf/i386-linuxbios.rmk: Likewise.
* conf/powerpc-ieee1275.rmk: Likewise.
2008-01-30 15:32:56 +00:00
robertmh
e1907778a1
2008-01-27 Robert Millan <rmh@aybabtu.com>
...
Get grub-emu to build again (including parallel builds).
* conf/i386-pc.rmk (util/grub-emu.c_DEPENDENCIES): Remove variable.
Split into ...
(util/grub-emu.c_DEPENDENCIES): ... this, ...
(normal/execute.c_DEPENDENCIES): ... this, ...
(grub-emu_DEPENDENCIES): ... and this.
* conf/i386-efi.rmk: Likewise.
* conf/i386-linuxbios.rmk: Likewise.
* conf/i386-ieee1275.rmk: Likewise.
* conf/powerpc-ieee1275.rmk: Likewise.
(grub_emu_SOURCES): Remove duplicated `kern/file.c'.
2008-01-27 22:44:02 +00:00
robertmh
f75172d9e7
2008-01-27 Robert Millan <rmh@aybabtu.com>
...
Fix parallel builds with grub-emu. Based on earlier commit for
grub-probe and grub-setup.
* conf/i386-pc.rmk (grub-emu_DEPENDENCIES): Renamed to ...
(util/grub-emu.c_DEPENDENCIES): ... this.
* conf/i386-efi.rmk (grub-emu_DEPENDENCIES): Renamed to ...
(util/grub-emu.c_DEPENDENCIES): ... this.
* conf/i386-linuxbios.rmk (grub-emu_DEPENDENCIES): Renamed to ...
(util/grub-emu.c_DEPENDENCIES): ... this.
* conf/i386-ieee1275.rmk (grub-emu_DEPENDENCIES): Renamed to ...
(util/grub-emu.c_DEPENDENCIES): ... this.
* conf/powerpc-ieee1275.rmk (grub-emu_DEPENDENCIES): Renamed to ...
(util/grub-emu.c_DEPENDENCIES): ... this.
2008-01-27 21:35:44 +00:00
robertmh
2a9525e6c3
2008-01-25 Robert Millan <rmh@aybabtu.com>
...
* conf/i386-pc.rmk (grub_setup_SOURCES, grub_emu_SOURCES): Regroup to
make all filesystem sources appear together (possibly fixing omissions
while at it).
* conf/i386-efi.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-linuxbios.rmk (grub_emu_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Likewise.
* conf/i386-pc.rmk (grub_probe_SOURCES): Likewise. Additionally,
add `kern/file.c'.
* conf/i386-efi.rmk (grub_probe_SOURCES): Likewise.
* conf/i386-ieee1275.rmk (grub_probe_SOURCES): Likewise.
* conf/i386-linuxbios.rmk (grub_probe_SOURCES): Likewise.
* conf/powerpc-ieee1275.rmk (grub_probe_SOURCES): Likewise.
* util/grub-probe.c: Include `<grub/file.h>' and `<sys/stat.h>'.
(probe): Add a sanity check to make sure of our ability to read
requested files when probing for filesystem type.
* genmk.rb: Update copyright year (2007).
* include/grub/fs.h (grub_fat_init, grub_fat_fini, grub_ext2_init)
(grub_ext2_fini, grub_ufs_init, grub_ufs_fini, grub_minix_init)
(grub_minix_fini, grub_hfs_init, grub_hfs_fini, grub_jfs_init)
(grub_jfs_fini, grub_xfs_init, grub_xfs_fini, grub_affs_init)
(grub_affs_fini, grub_sfs_init, grub_sfs_fini, grub_iso9660_init)
: Remove function prototypes.
2008-01-25 22:33:57 +00:00
robertmh
5882ae4b0e
2008-01-23 Robert Millan <rmh@aybabtu.com>
...
* conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add
`term/i386/pc/at_keyboard.c'.
(pkglib_MODULES): Add `serial.mod'.
(serial_mod_SOURCES): New variable.
(serial_mod_CFLAGS): Likewise.
(serial_mod_LDFLAGS): Likewise.
* include/grub/i386/ieee1275/console.h: Add `<grub/symbol.h>'. Remove
`<grub/powerpc/ieee1275/console.h>'.
(grub_keyboard_controller_init): New function prototype.
(grub_console_checkkey): Likewise.
(grub_console_getkey): Likewise.
* kern/powerpc/ieee1275/init.c (grub_machine_init): Initialize AT
keyboard on i386.
* term/ieee1275/ofconsole.c (grub_ofconsole_term): On i386, use
grub_ofconsole_checkkey() and grub_ofconsole_getkey() for input.
2008-01-23 11:57:22 +00:00
robertmh
dbb475a441
2008-01-23 Robert Millan <rmh@aybabtu.com>
...
* conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add `machine/loader.h'
and `machine/memory.h'.
(pkglib_MODULES): Add `multiboot.mod' and `_multiboot.mod'.
(_multiboot_mod_SOURCES): New variable.
(_multiboot_mod_CFLAGS): Likewise.
(_multiboot_mod_LDFLAGS): Likewise.
(multiboot_mod_SOURCES): Likewise.
(multiboot_mod_CFLAGS): Likewise.
(multiboot_mod_LDFLAGS): Likewise.
* include/grub/i386/ieee1275/loader.h: New file.
* include/grub/i386/ieee1275/machine.h: Likewise.
* include/grub/i386/ieee1275/memory.h: Likewise.
* include/grub/i386/pc/init.h (grub_os_area_addr): Remove (redundant)
variable declaration.
(grub_os_area_size): Likewise.
* kern/i386/ieee1275/init.c (grub_os_area_addr, grub_os_area_size)
(grub_lower_mem, grub_upper_mem): New variables.
(grub_stop_floppy): New function (just to make
grub_multiboot2_real_boot() happy).
* kern/i386/ieee1275/startup.S: Include `<grub/machine/memory.h>',
`<grub/cpu/linux.h>', `<multiboot.h>' and `<multiboot2.h>'.
(grub_stop): New function.
Include `"../realmode.S"' and `"../loader.S"'.
* loader/multiboot_loader.c: Include `<grub/machine/machine.h>'.
Replace `__i386__' #ifdefs with `GRUB_MACHINE_PCBIOS'.
* loader/powerpc/ieee1275/multiboot2.c (grub_mb2_arch_boot): On i386,
rely on grub_multiboot2_real_boot() for final boot.
2008-01-23 09:57:26 +00:00
robertmh
3d04eab83e
2008-01-15 Robert Millan <rmh@aybabtu.com>
...
* configure.ac: Add `i386-ieee1275' to the list of supported targets.
* conf/i386-ieee1275.rmk: New file.
* include/grub/i386/ieee1275/console.h: Likewise.
* include/grub/i386/ieee1275/ieee1275.h: Likewise.
* include/grub/i386/ieee1275/kernel.h: Likewise.
* include/grub/i386/ieee1275/time.h: Likewise.
* kern/i386/ieee1275/init.c: Likewise.
* kern/i386/ieee1275/startup.S: Likewise.
2008-01-15 20:05:44 +00:00