rmh
2fcb4892a8
Oops, wrong version number.
2008-02-03 18:48:06 +00:00
rmh
cb120a6952
* control (grub-ieee1275): Remove versioned dependency on powerpc-ibm-utils.
2008-02-03 18:45:03 +00:00
rmh
c722adb392
New CVS snapshot.
2008-02-03 18:36:06 +00:00
robertmh
e0ca067708
2008-02-03 Robert Millan <rmh@aybabtu.com>
...
* util/i386/pc/grub-mkrescue.in: Rewrite most of image generation to
use `cdboot.img' for cdrom images.
2008-02-03 18:30:20 +00:00
robertmh
3b3f662905
2008-02-03 Robert Millan <rmh@aybabtu.com>
...
* util/grub.d/00_header.in: Issue scripting commands for GRUB to
only setup gfxterm when `font' command has succeeded.
2008-02-03 18:27:41 +00:00
robertmh
d42b36722f
2008-02-03 Robert Millan <rmh@aybabtu.com>
...
* loader/multiboot_loader.c [GRUB_MACHINE_LINUXBIOS]
(grub_rescue_cmd_multiboot_loader)
(grub_rescue_cmd_module_loader): Enable multiboot1 calls.
2008-02-03 18:26:00 +00:00
proski
fa370ea61b
2008-02-03 Pavel Roskin <proski@gnu.org>
...
* a/kern/i386/pc/startup.S (grub_chainloader_real_boot): Pop
%edx and %esi from stack only after grub_gate_a20() is called.
grub_gate_a20() clobbers %edx.
2008-02-03 18:04:36 +00:00
rmh
d17777a7b9
- Detect/Enable PNG background when it is present.
2008-02-03 15:19:06 +00:00
rmh
22065e0884
grub.d/05_debian_theme: Add runtime error detection.
2008-02-03 14:48:17 +00:00
okuji
f2a76e1d19
2008-02-03 Yoshinori K. Okuji <okuji@enbug.org>
...
* configure.ac (AC_INIT): Bumped to 1.96.
* DISTLIST: Added boot/i386/pc/cdboot.S, bus/pci.c,
commands/lspci.c,disk/memdisk.c, include/grub/pci.h,
include/grub/i386/pc/pci.h, video/readers/jpeg.c, and
video/readers/png.c.
2008-02-03 13:57:54 +00:00
bean
9be665dd11
2008-01-31 Bean <bean123ch@gmail.com>
...
* conf/i386-pc.rmk (pkglib_IMAGES): Add cdboot.img.
(cdboot_img_SOURCES): New variable.
(cdboot_img_ASFLAGS): New variable.
(cdboot_img_LDFLAGS): New variable.
* boot/i386/pc/cdboot.S: New file.
* disk/i386/pc/biosdisk.c (cd_start): New variable.
(cd_count): Likewise.
(grub_biosdisk_get_drive): Add support for cd device.
(grub_biosdisk_call_hook): Likewise.
(grub_biosdisk_iterate): Likewise.
(grub_biosdisk_open): Likewise.
(GRUB_BIOSDISK_CDROM_RETRY_COUNT): New macro.
(grub_biosdisk_rw): Support reading from cd device.
(GRUB_MOD_INIT): Iterate cd devices.
* include/grub/i386/pc/biosdisk.h (GRUB_BIOSDISK_FLAG_CDROM): New macro.
(GRUB_BIOSDISK_MACHINE_CDROM_START): Likewise.
(GRUB_BIOSDISK_MACHINE_CDROM_END): Likewise.
* kern/i386/pc/init.c (make_install_device): Check for cd device.
2008-02-03 08:27:15 +00:00
robertmh
4020aa53c0
2008-02-02 Robert Millan <rmh@aybabtu.com>
...
* commands/read.c: New file.
* conf/common.rmk (pkglib_MODULES): Add `commands/read.c'.
(read_mod_SOURCES): New variable.
(read_mod_CFLAGS): Likewise.
(read_mod_LDFLAGS): Likewise.
2008-02-02 20:35:08 +00:00
rmh
aa86af6acb
Fix po-debconf errors. Thanks Thomas Huriaux. ( Closes : #402972 )
2008-02-02 17:12:49 +00:00
robertmh
e03a11328e
2008-02-02 Robert Millan <rmh@aybabtu.com>
...
* normal/main.c (grub_normal_execute): Check for `menu->size' when
determining whether menu has to be displayed.
2008-02-02 16:48:52 +00:00
marco_g
58c6922006
2008-02-02 Marco Gerards <marco@gnu.org>
...
* bus/pci.c: New file.
* include/grub/pci.h: Likewise.
* include/grub/i386/pc/pci.h: Likewise.
* commands/lspci.c: Likewise.
* conf/i386-pc.rmk (pkglib_MODULES): Add `pci.mod' and
`lspci.mod'.
(pci_mod_SOURCES): New variable.
(pci_mod_CFLAGS): Likewise.
(pci_mod_LDFLAGS): Likewise.
(lspci_mod_SOURCES): Likewise.
(lspci_mod_CFLAGS): Likewise.
(lspci_mod_LDFLAGS): Likewise.
2008-02-02 15:33:05 +00:00
bean
c004e1b477
2008-02-02 Bean <bean123ch@gmail.com>
...
* fs/ufs.c (INODE_BLKSZ): Fix incorrect value.
(grub_ufs_get_file_block): Fix indirect block calculation problem.
* fs/xfs.c (grub_xfs_sblock): New member log2_dirblk.
(grub_xfs_btree_node): New structure.
(grub_xfs_btree_root): New structure.
(grub_xfs_inode): New members nblocks, extsize, nextents and btree.
(GRUB_XFS_EXTENT_OFFSET): Use exts instead of inode->data.extents.
(GRUB_XFS_EXTENT_BLOCK): Likewise.
(GRUB_XFS_EXTENT_SIZE): Likewise.
(grub_xfs_read_block): Support btree format type.
(grub_xfs_iterate_dir): Use NESTED_FUNC_ATTR in call_hook.
Use directory block as basic unit.
* fs/fshelp.c (grub_fshelp_read_file): Bug fix for sparse block.
* aclocal.m4 (grub_i386_CHECK_REGPARM_BUG): Define NESTED_FUNC_ATTR as
__attribute__ ((__regparm__ (1))).
2008-02-02 14:15:31 +00:00
robertmh
f95562bf52
2008-02-01 Robert Millan <rmh@aybabtu.com>
...
Correct a mistake in previous commit.
* conf/i386-pc.rmk (normal/execute.c_DEPENDENCIES): Move to the
top.
(normal/command.c_DEPENDENCIES): New variable.
2008-02-01 18:54:52 +00:00
rmh
5e40110b08
New CVS snapshot.
2008-02-01 16:08:21 +00:00
rmh
92eab3583b
* patches/01_regparm.diff: Fix CPU context corruption affecting fs/xfs.c.
...
(Closes : #463081 , #419766 , #462159 )
* patches/02_libgcc_powerpc_hack.diff: Fix FTBFS on powerpc. (Closes : #457491 )
* patches/disable_xfs.diff: Actually remove this time...
2008-02-01 16:01:05 +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
60b6be74b9
2008-02-01 Robert Millan <rmh@aybabtu.com>
...
* kern/disk.c (grub_disk_read, grub_disk_write): Add grub_dprintf()
call at beginning of function.
2008-02-01 00:50:19 +00:00
proski
d2c11005c6
Better describe the last change made to conf/powerpc-ieee1275.rmk
2008-01-31 20:12:16 +00:00
proski
078522ab28
2008-01-31 Pavel Roskin <proski@gnu.org>
...
* util/powerpc/ieee1275/grub-mkrescue.in: New file.
* conf/powerpc-ieee1275.rmk: Add grub-mkrescue support for
PowerPC.
* DISTLIST: Add util/powerpc/ieee1275/grub-mkrescue.in.
2008-01-31 17:09:39 +00:00
rmh
424560f41a
presubj: Improve notice.
2008-01-31 11:32:30 +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
ae5a9cd7b2
2008-01-30 Tristan Gingold <gingold@free.fr>
...
* kern/rescue.c: Silently accept empty lines.
2008-01-30 14:42:09 +00:00
bean
70bc2ef25c
2008-01-29 Bean <bean123ch@gmail.com>
...
* boot/i386/pc/lnxboot.S (data_start): Code cleanup.
(real_code_2): Code cleanup and change comment style.
(move_memory): Avoid using 32-bit address mode.
2008-01-29 10:59:56 +00:00
bean
6a4d50ead0
2008-01-29 Bean <bean123ch@gmail.com>
...
* conf/i386-pc.rmk (pkglib_MODULES): Add `png.mod'.
(png_mod_SOURCES): New variable.
(png_mod_CFLAGS): Likewise.
(png_mod_LDFLAGS): Likewise.
* video/readers/png.c: New file.
2008-01-29 09:45:06 +00:00
robertmh
11cc30ac40
2008-01-28 Robert Millan <rmh@aybabtu.com>
...
* include/grub/i386/linuxbios/kernel.h (GRUB_MOD_GAP): New macro.
* kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Remove
`ifndef GRUB_MOD_GAP' hack.
* util/elf/grub-mkimage.c (add_segments): Likewise.
2008-01-28 16:58:13 +00:00
robertmh
962ca13330
* util/elf/grub-mkimage.c (add_segments): Likewise.
2008-01-27 23:16:58 +00:00
rmh
16ef61bd69
Oops, lost the midnight train.
2008-01-27 23:03:39 +00:00
robertmh
3abc589f93
2008-01-27 Robert Millan <rmh@aybabtu.com>
...
* kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Skip
`GRUB_MOD_GAP' for platforms in which it's not defined.
2008-01-27 23:00:49 +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
2216b10148
2008-01-27 Robert Millan <rmh@aybabtu.com>
...
* NEWS: Add a few items.
2008-01-27 22:02:02 +00:00
rmh
a68505b055
Update changelog for new CVS
2008-01-27 21:57:07 +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
rmh
b90780bced
* Bring back grub-emu; it can help a lot with debugging feedback.
...
- control
- rules
2008-01-27 21:10:11 +00:00
proski
3f51de772d
* include/grub/powerpc/ieee1275/kernel.h: Introduce GRUB_MOD_GAP
...
to create a gap between _end and the modules added to the image
with grub-mkrescue. That fixes "CLAIM failed" on PowerMAC.
* kern/powerpc/ieee1275/init.c: Use GRUB_MOD_GAP.
* util/elf/grub-mkimage.c (add_segments): Likewise.
2008-01-27 20:30:58 +00:00
rmh
03c920eb87
- patches/disable_xfs.diff: Remove. grub-probe is smart enough to detect
...
buggy GRUB filesystems now.
2008-01-27 09:08:07 +00:00
proski
2033f53e0a
* kern/dl.c (grub_dl_load): Don't abort if prefix is not set,
...
just return an error.
2008-01-26 20:34:58 +00:00
bean
22da1f6f0f
2008-01-26 Bean <bean123ch@gmail.com>
...
* fs/reiserfs.c (grub_fshelp_node): New member next_offset.
(grub_reiserfs_get_item): Save offset of the next item.
(grub_reiserfs_iterate_dir): Use next_offset to find next item.
2008-01-26 13:28:37 +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
b95f71b5a3
2008-01-25 Robert Millan <rmh@aybabtu.com>
...
Revert my previous commits (based on wrong assumption of how grub_errno
works).
* kern/disk.c (grub_disk_open): Stop reseting grub_errno.
* kern/file.c (grub_file_open): Likewise.
2008-01-25 20:57:40 +00:00
rmh
54e03c1c1d
- patches/disable_ata.diff: Remove. ATA module isn't auto-loaded in
...
rescue floppies now.
2008-01-24 17:01:22 +00:00
rmh
34655c0a19
* New CVS snapshot.
2008-01-24 16:59:33 +00:00
proski
d08bbb491e
* include/grub/ieee1275/ieee1275.h: Introduce flag for firmwares
...
that hang if GRUB tries to setup colors.
* term/ieee1275/ofconsole.c (grub_ofconsole_init): Don't set
colors for firmwares that don't support it.
* kern/powerpc/ieee1275/cmain.c (grub_ieee1275_set_flag):
Recognize Open Hack'Ware, set flags to work around its
limitations.
2008-01-24 08:21:43 +00:00
robertmh
605e36ed3e
2008-01-24 Robert Millan <rmh@aybabtu.com>
...
* kern/file.c (grub_file_open): Do not account previous failures of
unrelated functions when grub_errno is checked for.
Reported by Oleg Strikov.
2008-01-24 00:06:55 +00:00
bean
bac332a11a
2008-01-24 Bean <bean123ch@gmail.com>
...
* fs/ufs.c (GRUB_UFS_VOLNAME_LEN): New macro.
(grub_ufs_sblock): New member volume name.
(grub_ufs_find_file): Fix string copy bug.
(grub_ufs_label): Implement this function properly.
* fs/hfs.c (grub_hfs_cnid_type): New enum.
(grub_hfs_iterate_records): Use the correct file number for extents
and catalog file. Fix problem in next index calculation.
(grub_hfs_find_node): Replace recursive function call with loop.
(grub_hfs_iterate_dir): Replace recursive function call with loop.
2008-01-23 20:21:18 +00:00
robertmh
15c80c098c
2008-01-23 Robert Millan <rmh@aybabtu.com>
...
* include/grub/i386/ieee1275/loader.h: Include `<grub/types.h>',
`<grub/symbol.h>' and `<grub/multiboot.h>'.
(grub_multiboot2_real_boot): New function prototype.
* include/grub/i386/pc/memory.h: Include `<grub/machine/machine.h>'.
[!GRUB_MACHINE_IEEE1275] (grub_lower_mem, grub_upper_mem): Disable.
* kern/i386/ieee1275/init.c (grub_os_area_addr)
(grub_os_area_size, grub_lower_mem, grub_upper_mem): Remove variables.
2008-01-23 19:21:19 +00:00
robertmh
305338fdf5
2008-01-23 Robert Millan <rmh@aybabtu.com>
...
* kern/mm.c (grub_mm_init_region): Replace grub_dprintf() call with
#ifdef'ed out grub_printf().
2008-01-23 14:57:40 +00:00