proski
f0f8bbe243
2009-05-26 Pavel Roskin <proski@gnu.org>
...
* genmk.rb: Avoid shadowing variable `s', rename the outer `s'
to `str'.
2009-05-26 23:19:42 +00:00
proski
cd0d5e3040
2009-05-26 Pavel Roskin <proski@gnu.org>
...
* util/getroot.c (grub_util_get_dev_abstraction): Mark os_dev as
possibly unused.
2009-05-26 20:47:00 +00:00
proski
bf6a5fb2a8
2009-05-22 Pavel Roskin <proski@gnu.org>
...
* aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Remove.
* configure.ac: Don't call grub_I386_CHECK_REGPARM_BUG. Define
NESTED_FUNC_ATTR using AH_BOTTOM. Use regparm(1) only when
compiling for the i386 targets, but not for the utilities.
2009-05-22 21:15:31 +00:00
proski
96b1619a75
2009-05-22 Pavel Roskin <proski@gnu.org>
...
* include/grub/i386/pc/kernel.h (grub_boot_drive): Change type
to grub_uint8_t.
(grub_root_drive): Likewise.
* kern/i386/pc/startup.S (grub_boot_drive): Change size to byte,
remove alignment.
(grub_root_drive): Change size to byte.
(grub_start_addr): Remove.
(grub_end_addr): Likewise.
(grub_apm_bios_info): Likewise.
2009-05-22 19:52:43 +00:00
proski
d6da58e631
Fix spacing and excessively long lines
2009-05-19 22:51:50 +00:00
proski
18f547ad4d
Spacing fixes
2009-05-18 13:52:36 +00:00
proski
cb5a0f40a3
2009-05-16 Pavel Roskin <proski@gnu.org>
...
* script/lua/grub_lib.c (grub_lua_getenv): Make name and value
const to avoid a warning.
(grub_lua_setenv): Likewise.
* script/lua/grub_main.c (grub_lua_parse_line): Use size_t for
lmsg to fix a warning.
2009-05-17 00:37:10 +00:00
proski
5cb5c9c210
Remove incorrect comment that the code must be position independent.
2009-05-15 14:47:44 +00:00
proski
3834887fb2
2009-05-14 Pavel Roskin <proski@gnu.org>
...
* commands/i386/pc/drivemap_int13h.S: Eliminate unconditional
jump. This saves two bytes, so the typical case of 2 swapped
drives would fit 32 bytes.
2009-05-14 13:43:13 +00:00
proski
ac96388340
2009-05-13 Pavel Roskin <proski@gnu.org>
...
* loader/i386/multiboot.c (grub_multiboot): Cast mmap_addr to
grub_uint32_t to avoid a warning.
2009-05-14 03:59:10 +00:00
proski
8090fc012a
2009-05-13 Pavel Roskin <proski@gnu.org>
...
* loader/i386/linux.c (allocate_pages): When assigning
real_mode_mem, cast through grub_size_t to fix a warning. The
code already makes sure that the value would fit a pointer.
(grub_linux_setup_video): Cast render_target->data to
grub_size_t to fix a warning.
2009-05-14 03:48:08 +00:00
proski
4246b8a9e8
2009-05-13 Javier Martín <lordhabbit@gmail.com>
...
* commands/i386/pc/drivemap.c: New file - implement drivemap
command.
* commands/i386/pc/drivemap_int13h.S: New file - int13 handler.
* conf/i386-pc.rmk: Add drivemap.c and drivemap_int13h.S.
2009-05-14 01:23:49 +00:00
proski
6f6a8b2869
2009-05-13 Pavel Roskin <proski@gnu.org>
...
* util/i386/pc/grub-setup.c (setup): Remove unused variable
embedding_area_exists.
2009-05-13 21:28:25 +00:00
proski
0ab3a9a46d
2009-05-13 Pavel Roskin <proski@gnu.org>
...
* loader/i386/pc/multiboot2.c: Add necessary includes for
grub_multiboot2_real_boot().
2009-05-13 20:52:35 +00:00
proski
a2c8c5f8f6
2009-05-13 Pavel Roskin <proski@gnu.org>
...
* fs/iso9660.c (grub_iso9660_iterate_dir): The file mode in the
PX record is always little-endian. We only need the lower 2
bytes of the mode.
2009-05-13 20:09:09 +00:00
proski
faec96afc8
2009-05-13 Pavel Roskin <proski@gnu.org>
...
* fs/cpio.c: Use the same name "struct head" for tar and cpio to
facilitate code reuse.
(grub_cpio_mount): Use "struct head", not a char buffer. This
fixes a warning reported by gcc 4.4.
2009-05-13 19:16:55 +00:00
proski
238e871fff
2009-05-13 Pavel Roskin <proski@gnu.org>
...
* kernel/disk.c (grub_disk_read): Use void pointer for the
buffer.
(grub_disk_write): Use const void pointer for the buffer.
Adjust all callers. Remove unnecessary casts.
2009-05-13 18:58:38 +00:00
proski
752473c2b0
2009-05-08 Pavel Roskin <proski@gnu.org>
...
* disk/raid.c (grub_raid_block_xor): Make buf2 constant, it's
not modified.
2009-05-08 19:29:04 +00:00
proski
041b8094ac
2009-05-08 Pavel Roskin <proski@gnu.org>
...
* disk/raid6_recover.c (grub_raid6_recover): Fix warnings about
uninitialized err[0] and err[1]. Rename them to bad1 and bad2.
Initialize them with -1. Add sanity check for bad1. Eliminate
nerr variable.
2009-05-08 19:21:26 +00:00
proski
119494b506
2009-05-05 Pavel Roskin <proski@gnu.org>
...
* include/grub/dl.h [GRUB_UTIL]: Provide inline implementations
of grub_dl_ref() and grub_dl_unref().
* commands/parttool.c: Remove preprocessor conditionals around
grub_dl_ref() and grub_dl_unref().
* fs/affs.c: Likewise.
* fs/afs.c: Likewise.
* fs/cpio.c: Likewise.
* fs/ext2.c: Likewise.
* fs/fat.c: Likewise.
* fs/hfs.c: Likewise.
* fs/hfsplus.c: Likewise.
* fs/iso9660.c: Likewise.
* fs/jfs.c: Likewise.
* fs/minix.c: Likewise.
* fs/ntfs.c: Likewise.
* fs/reiserfs.c: Likewise.
* fs/sfs.c: Likewise.
* fs/udf.c: Likewise.
* fs/ufs.c: Likewise.
* fs/xfs.c: Likewise.
* include/grub/dl.h: Likewise.
* loader/xnu.c: Likewise.
2009-05-05 16:36:58 +00:00
proski
de5fd76e95
2009-05-04 Pavel Roskin <proski@gnu.org>
...
* commands/acpi.c: Remove unused variable my_mod.
* partmap/amiga.c: Likewise.
* partmap/apple.c: Likewise.
* partmap/gpt.c: Likewise.
* partmap/pc.c: Likewise.
* partmap/sun.c: Likewise.
* term/gfxterm.c: Likewise.
* term/i386/pc/vesafb.c: Likewise.
* term/i386/pc/vga.c: Likewise.
2009-05-04 23:33:34 +00:00
proski
4241d2b13a
2009-05-04 Pavel Roskin <proski@gnu.org>
...
* disk/ata.c: Spelling fixes.
* disk/raid.c: Likewise.
* disk/usbms.c: Likewise.
* disk/dmraid_nvidia.c: Likewise.
* kern/ieee1275/openfw.c: Likewise.
* kern/ieee1275/init.c: Likewise.
* kern/ieee1275/cmain.c: Likewise.
* boot/i386/pc/cdboot.S: Likewise.
* video/readers/png.c: Likewise.
* video/i386/pc/vbe.c: Likewise.
* fs/udf.c: Likewise.
* fs/hfs.c: Likewise.
* fs/reiserfs.c: Likewise.
* efiemu/runtime/efiemu.c: Likewise.
* efiemu/main.c: Likewise.
* efiemu/mm.c: Likewise.
* include/grub/elf.h: Likewise.
* include/grub/xnu.h: Likewise.
* include/grub/usbdesc.h: Likewise.
* include/grub/usb.h: Likewise.
* include/grub/script_sh.h: Likewise.
* include/grub/lib/LzmaEnc.h: Likewise.
* include/grub/efiemu/efiemu.h: Likewise.
* include/grub/command.h: Likewise.
* normal/menu.c: Likewise.
* normal/main.c: Likewise.
* normal/datetime.c: Likewise.
* bus/usb/uhci.c: Likewise.
* mmap/i386/uppermem.c: Likewise.
* mmap/mmap.c: Likewise.
* commands/acpi.c: Likewise.
* commands/test.c: Likewise.
* partmap/apple.c: Likewise.
* font/font.c: Likewise.
* loader/sparc64/ieee1275/linux.c: Likewise.
* loader/macho.c: Likewise.
* loader/i386/bsd_trampoline.S: Likewise.
* loader/i386/bsd.c: Likewise.
* loader/xnu.c: Likewise.
* term/i386/pc/vesafb.c: Likewise.
* term/usb_keyboard.c: Likewise.
* util/resolve.c: Likewise.
* util/getroot.c: Likewise.
2009-05-04 20:06:05 +00:00
proski
4c402e7301
2009-05-03 Pavel Roskin <proski@gnu.org>
...
* disk/ata.c: Don't cast mod to void in GRUB_MOD_INIT to
suppress warnings. It's no longer needed.
* disk/host.c: Likewise.
* disk/ata_pthru.c: Likewise.
* disk/loopback.c: Likewise.
* hook/datehook.c: Likewise.
* parttool/pcpart.c: Likewise.
* fs/i386/pc/pxe.c: Likewise.
* fs/ntfscomp.c: Likewise.
* efiemu/main.c: Likewise.
* mmap/mmap.c: Likewise.
* commands/crc.c: Likewise.
* commands/hexdump.c: Likewise.
* commands/hdparm.c: Likewise.
* commands/acpi.c: Likewise.
* commands/echo.c: Likewise.
* commands/minicmd.c: Likewise.
* commands/blocklist.c: Likewise.
* commands/memrw.c: Likewise.
* commands/loadenv.c: Likewise.
* commands/usbtest.c: Likewise.
* commands/lsmmap.c: Likewise.
* commands/boot.c: Likewise.
* commands/parttool.c: Likewise.
* commands/configfile.c: Likewise.
* commands/search.c: Likewise.
* commands/ieee1275/suspend.c: Likewise.
* commands/cat.c: Likewise.
* commands/i386/pc/pxecmd.c: Likewise.
* commands/i386/pc/play.c: Likewise.
* commands/i386/pc/halt.c: Likewise.
* commands/i386/pc/vbeinfo.c: Likewise.
* commands/i386/pc/vbetest.c: Likewise.
* commands/lspci.c: Likewise.
* commands/date.c: Likewise.
* commands/handler.c: Likewise.
* commands/ls.c: Likewise.
* commands/test.c: Likewise.
* commands/cmp.c: Likewise.
* commands/efi/loadbios.c: Likewise.
* commands/efi/fixvideo.c: Likewise.
* commands/halt.c: Likewise.
* commands/help.c: Likewise.
* commands/reboot.c: Likewise.
* hello/hello.c: Likewise.
* script/sh/main.c: Likewise.
* loader/xnu.c: Likewise.
* term/terminfo.c: Likewise.
* term/i386/pc/serial.c: Likewise.
* term/usb_keyboard.c: Likewise.
2009-05-04 03:49:08 +00:00
proski
2fee74f1bb
2009-05-03 Pavel Roskin <proski@gnu.org>
...
* mmap/efi/mmap.c (grub_mmap_malign_and_register): Return void*,
not char*.
* mmap/i386/mmap.c (grub_mmap_malign_and_register): Likewise.
Suggested by Javier Martín <lordhabbit@gmail.com >
2009-05-03 19:25:14 +00:00
proski
dfc31a22bb
2009-05-03 Pavel Roskin <proski@gnu.org>
...
* util/i386/pc/grub-mkrescue.in: Allow for the case when
efiemu??.o doesn't exist.
* util/i386/pc/grub-install.in: Likewise. Use "cp -f" for
copying.
2009-05-03 19:04:59 +00:00
proski
7dd4a573a9
Fix spacing, typos
2009-05-03 03:23:57 +00:00
proski
2e08a26a8e
Fix mistake in the last description
2009-04-28 13:25:09 +00:00
proski
9459c3067c
2009-04-28 Pavel Roskin <proski@gnu.org>
...
* disk/fs_uuid.c (grub_fs_uuid_open): Use parent->data for dev,
not disk. Adjust all dependencies.
(grub_device_close): Use grub_device_close(), not
grub_disk_close().
2009-04-28 13:23:38 +00:00
proski
136d9f8283
2009-04-27 Pavel Roskin <proski@gnu.org>
...
* disk/fs_uuid.c (grub_fs_uuid_open): Allocate memory to copy
parent's partition, don't copy it by reference, as it gets freed
on close.
2009-04-28 13:14:20 +00:00
proski
4006f85c89
2009-04-26 Pavel Roskin <proski@gnu.org>
...
* Makefile.in: Don't install empty manual pages if help2man is
missing. Use help2man option for output, not shell redirection.
2009-04-26 14:14:05 +00:00
proski
91b72b4f42
Really remove lib/datetime.c and include/grub/lib/datetime.h
2009-04-24 17:05:19 +00:00
proski
07c5039fda
2009-04-17 Pavel Roskin <proski@gnu.org>
...
* bus/usb/ohci.c (grub_ohci_transaction): Fix incorrect printf
format.
(grub_ohci_transfer): Likewise.
2009-04-17 17:23:34 +00:00
proski
b012002d59
2009-04-17 Pavel Roskin <proski@gnu.org>
...
* bus/usb/usbtrans.c (grub_usb_control_msg): Warning fix.
2009-04-17 17:09:36 +00:00
proski
1bc09c352c
2009-04-17 Pavel Roskin <proski@gnu.org>
...
* loader/multiboot_loader.c (grub_cmd_multiboot_loader): Fix
return without a value. Fix inconsistent indentation.
2009-04-17 16:35:26 +00:00
proski
e0ff912638
2009-04-17 Pavel Roskin <proski@gnu.org>
...
* fs/i386/pc/pxe.c (grub_pxefs_dir): Fix function prototype to
match struct grub_fs.
2009-04-17 16:08:24 +00:00
proski
d1a282fc83
2009-04-17 Pavel Roskin <proski@gnu.org>
...
* disk/ata.c (grub_ata_pciinit): Use NESTED_FUNC_ATTR.
* bus/usb/ohci.c (grub_ohci_pci_iter): Likewise.
* bus/usb/uhci.c (grub_uhci_pci_iter): Likewise.
* commands/lspci.c (grub_lspci_iter): Likewise.
2009-04-17 15:36:41 +00:00
proski
41bb0fe9a6
2009-04-15 Pavel Roskin <proski@gnu.org>
...
* include/grub/types.h: Rename ULONG_MAX to GRUB_ULONG_MAX and
LONG_MAX to GRUB_LONG_MAX. Introduce GRUB_LONG_MIN. Update all
users of ULONG_MAX, LONG_MAX and LONG_MIN to use the new
definitions.
2009-04-15 20:45:09 +00:00
proski
1f1f580c2f
2009-04-13 Pavel Roskin <proski@gnu.org>
...
* conf/common.rmk (grub_fstest_SOURCES): Add normal/datetime.c.
Reported by John Stanley <jpsinthemix@verizon.net >
2009-04-14 01:54:06 +00:00
proski
232a769cb2
2009-04-13 Pavel Roskin <proski@gnu.org>
...
* term/usb_keyboard.c (grub_usb_keyboard_getkey): Warning fixes.
2009-04-13 13:00:59 +00:00
proski
5b5d4aa5f0
2009-04-12 Pavel Roskin <proski@gnu.org>
...
* configure.ac: Change the logic when we check for target tools.
Do it when the target is specified and it's different from the
specified value of the host.
2009-04-12 04:33:18 +00:00
proski
0f0bdfb199
Regenerate with Autoconf 2.61 to match configure
2009-04-12 03:37:35 +00:00
proski
dab272c250
Regenerate
2009-04-12 03:36:30 +00:00
proski
1007d1f562
2009-04-06 Pavel Roskin <proski@gnu.org>
...
* include/grub/misc.h (ARRAY_SIZE): New macro.
* include/grub/i386/linux.h (GRUB_LINUX_VID_MODE_VESA_START):
New macro.
* loader/i386/linux.c (allocate_pages): Use free_pages().
(grub_linux_unload): Don't use free_pages().
(grub_linux_boot): Prevent accessing linux_vesafb_modes with a
wrong index. Treat all other modes as text modes.
(grub_cmd_linux): Initialize vid_mode unconditionally to
GRUB_LINUX_VID_MODE_NORMAL. Recognize and support "vga=ask".
2009-04-07 00:48:57 +00:00
proski
761319cfd3
2009-04-06 Pavel Roskin <proski@gnu.org>
...
* commands/help.c (print_command_help): Use cmd->prio, not
cmd->flags to check for GRUB_PRIO_LIST_FLAG_ACTIVE.
2009-04-06 16:15:36 +00:00
proski
3fcc20834c
2009-04-01 Pavel Roskin <proski@gnu.org>
...
* Makefile.in: Remove all references to MODULE_LDFLAGS, it's
unused now.
* genmk.rb: Likewise.
* configure.ac: Likewise.
2009-04-01 16:17:20 +00:00
proski
5ec9740b69
2009-04-01 Manoel Abranches <mrabran@linux.vnet.ibm.com>
...
* aclocal.m4: Move --build-id=none from MODULE_LDFLAGS to
TARGET_LDFLAGS. This corrects a problem with grub-mkelfimage.
2009-04-01 16:08:42 +00:00
proski
0d818b7e5c
2009-03-31 Pavel Roskin <proski@gnu.org>
...
* aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Provide safe default
for cross-compilation.
2009-04-01 01:09:30 +00:00
proski
6a003ed1be
2009-03-30 Pavel Roskin <proski@gnu.org>
...
* fs/hfs.c (grub_hfs_strncasecmp): Integrate into ...
(grub_hfs_cmp_catkeys): ... this. Don't assume strings to be
zero-terminated, rely only on the strlen value. Fix comparison
of strings differing in length.
2009-03-31 00:22:08 +00:00
proski
7d074e3ce2
typos
2009-03-24 14:15:07 +00:00
proski
e4dd5a7ea9
2009-03-24 Pavel Roskin <proski@gnu.org>
...
* genmk.rb: Define ASM_FILE for *.S files for *.lst generation,
not just for compilation.
2009-03-24 14:01:23 +00:00
proski
fbc00b0ca1
2009-03-22 Pavel Roskin <proski@gno.org>
...
* kern/powerpc/ieee1275/startup.S: Replace EXT_C(start) with
_start.
* kern/i386/pc/startup.S: Likewise.
* kern/i386/efi/startup.S: Likewise.
* kern/i386/ieee1275/startup.S: Likewise.
* kern/i386/coreboot/startup.S: Likewise.
* kern/x86_64/efi/startup.S: Likewise.
2009-03-22 00:37:49 +00:00
proski
41473ac27f
2009-03-22 Pavel Roskin <proski@gno.org>
...
* aclocal.m4 (grub_CHECK_START_SYMBOL): Remove.
* configure.ac: Don't call grub_CHECK_START_SYMBOL.
* kern/i386/pc/startup.S: Use _start instead of START_SYMBOL.
2009-03-22 00:31:30 +00:00
proski
5415144ac8
2009-03-11 Pavel Roskin <proski@gnu.org>
...
* fs/hfs.c (grub_hfs_strncasecmp): New function.
(grub_hfs_cmp_catkeys): Use HFS specific string comparison.
2009-03-11 21:51:16 +00:00
proski
50fb7002e5
Fix typos, spacing
2009-03-05 05:23:58 +00:00
proski
ac84cfb8f6
Regenerate
2009-02-13 20:26:56 +00:00
proski
7c3ff286eb
Fix typos and extra spaces
2009-02-03 22:33:45 +00:00
proski
d72521b377
2009-01-27 Pavel Roskin <proski@gnu.org>
...
* disk/fs_uuid.c (search_fs_uuid): Ignore case of the UUID.
2009-01-28 02:19:07 +00:00
proski
3fb18f094d
2009-01-26 Daniel Mierswa <impulze@impulze.org>
...
* fs/fat.c (grub_fat_uuid): Fix shift of the first two bytes.
2009-01-26 04:35:57 +00:00
proski
336e1fb9ea
2009-01-26 Daniel Mierswa <impulze@impulze.org>
...
* commands/search.c (search_fs_uuid): Ignore case of the UUID.
2009-01-26 04:26:47 +00:00
proski
1806b56e2b
2009-01-26 Daniel Mierswa <impulze@impulze.org>
...
* kern/misc.c (grub_strcasecmp): New function.
(grub_strcasecmp): Use grub_size_t instead of int for length.
Fix return value.
* include/grub/misc.h: Update function prototypes.
2009-01-26 04:22:44 +00:00
proski
ef257b36a6
Remove trailing whitespace
2009-01-26 04:05:54 +00:00
proski
4a412913d1
2009-01-13 Carles Pina i Estany <carles@pina.cat>
...
* util/grub-editenv.c (main): Use fseeko(), not fseek().
2009-01-14 00:17:12 +00:00
proski
7795c55ef9
Spacing fixes
2009-01-14 00:13:52 +00:00
proski
34c44600fe
Fix typos, trailing whitespace
2009-01-02 23:38:44 +00:00
proski
dba3f844eb
Fix spacing and a minor typo
2008-11-10 15:04:00 +00:00
proski
d99d46f105
2008-11-07 Pavel Roskin <proski@gnu.org>
...
* gendistlist.sh: Use C locale for sorting to ensure consistent
output on all systems.
2008-11-07 22:33:37 +00:00
proski
b6c15a2d2a
2008-11-07 Pavel Roskin <proski@gnu.org>
...
* util/grub.d/00_header.in: Remove incorrect space before
"serial".
2008-11-07 22:30:24 +00:00
proski
81a06771bf
Fix typos, dates and spacing
2008-09-24 21:01:11 +00:00
proski
7c5d8d950c
2008-08-30 Pavel Roskin <proski@gnu.org>
...
* util/genmoddep.c: Remove for real this time.
* DISTLIST: Remove util/genmoddep.c.
2008-08-31 02:19:17 +00:00
proski
e3925185cc
2008-08-29 Pavel Roskin <proski@gnu.org>
...
* kern/powerpc/ieee1275/crt0.S: Rename to ...
* kern/powerpc/ieee1275/startup.S: ... this.
* conf/powerpc-ieee1275.rmk: Adjust for the above.
* DISTLIST: Likewise.
2008-08-29 21:54:26 +00:00
proski
b497a269db
2008-08-29 Pavel Roskin <proski@gnu.org>
...
* kern/powerpc/ieee1275/crt0.S: Include grub/symbol.h and
grub/cpu/kernel.h. Add start label for consistency with other
platforms. Add grub_prefix immediately after start. Add jump
to the code after grub_prefix.
* include/grub/powerpc/kernel.h: Provide valid values for
GRUB_KERNEL_CPU_PREFIX and GRUB_KERNEL_CPU_DATA_END.
2008-08-29 21:46:17 +00:00
proski
ab3f267329
2008-08-28 Pavel Roskin <proski@gnu.org>
...
* conf/powerpc-ieee1275.rmk (kernel_elf_SOURCES): Add
kern/time.c.
2008-08-29 01:08:05 +00:00
proski
35eafe238f
Remove executable flag
2008-08-06 13:42:02 +00:00
proski
337f5a1e93
2008-08-06 Pavel Roskin <proski@gnu.org>
...
* kern/i386/pit.c: Include `<grub/i386/pit.h>'.
2008-08-06 13:28:28 +00:00
proski
8d23f50773
2008-08-04 Pavel Roskin <proski@gnu.org>
...
* kern/main.c: Include grub/mm.h.
2008-08-04 22:54:06 +00:00
proski
825aa57ad0
Typos, spacing
2008-08-04 22:50:09 +00:00
proski
cfd0b4e6fa
2008-07-28 Pavel Roskin <proski@gnu.org>
...
* genmk.rb: Add a warning to the beginning of the output that
it's a generated file and should not be edited.
2008-07-28 22:35:40 +00:00
proski
96cdbeff6a
autogen.sh: touch stamp-h.in after running autoheader
...
This prevents autoheader from being rerun by make if somebody changes
configure.ac or aclocal.m4 and runs autogen.sh.
Suggested by Christian Franke <Christian.Franke@t-online.de >
2008-07-28 19:34:15 +00:00
proski
c298def0bf
Fix spacing
2008-07-28 19:27:42 +00:00
proski
cc349fb3dd
2008-07-27 Pavel Roskin <proski@gnu.org>
...
* util/getroot.c (find_root_device): Rephrase a comment to avoid
spurious warnings about a comment within a comment.
2008-07-27 05:57:10 +00:00
proski
51cc519338
Typo fix
2008-07-24 23:37:22 +00:00
proski
01453bfcd7
2008-07-24 Pavel Roskin <proski@gnu.org>
...
* include/grub/types.h: Use __builtin_bswap32() and
__builtin_bswap64() with gcc 4.3 and newer.
2008-07-24 23:36:13 +00:00
proski
b095e2adbf
2008-07-18 Pavel Roskin <proski@gnu.org>
...
* kern/dl.c: Go back to using GRUB_CPU_SIZEOF_VOID_P. We cannot
load foreign architecture modules correctly anyway. Keep
support for loading host architecture modules, whether we
compile them or not.
2008-07-18 16:11:35 +00:00
proski
8aaedab414
Typo fix
2008-07-18 03:47:33 +00:00
proski
3f4ce737bb
2008-07-17 Pavel Roskin <proski@gnu.org>
...
* configure.ac: Use -m32 or -m64 regardless of whether we had to
change target_cpu. The compiler default can mismatch target_cpu
in any case.
2008-07-18 03:21:47 +00:00
proski
c11f6d160d
Typo fix
2008-07-18 01:13:58 +00:00
proski
4ad2d0499c
2008-07-17 Pavel Roskin <proski@gnu.org>
...
* disk/efi/efidisk.c: Fix format warnings on x86_64.
* kern/efi/efi.c: Likewise.
2008-07-18 01:11:33 +00:00
proski
f6130a12bd
2008-07-17 Pavel Roskin <proski@gnu.org>
...
* aclocal.m4 (grub_PROG_TARGET_CC): New macro. Check if the
target compiler is functional.
* configure.ac: Call grub_PROG_TARGET_CC once all target flags
are set up.
2008-07-17 20:19:55 +00:00
proski
58393a2d35
2008-07-17 Pavel Roskin <proski@gnu.org>
...
* configure.ac: Default to efi platform for x86_64-apple. Allow
powerpc64 CPU, default to ieee1275 platform for it. Split CPU
adjustments from the rest, only do them if target is not
explicitly given. Merge other adjustments with the final sanity
check. Remove an extraneous check for supported CPU. Be
specific which CPU and which platform is not supported.
2008-07-17 18:13:57 +00:00
proski
737feb3579
2008-07-17 Pavel Roskin <proski@gnu.org>
...
* configure.ac: Default to pc platform for x86_64.
2008-07-17 15:31:16 +00:00
proski
ef29405511
2008-07-16 Pavel Roskin <proski@gnu.org>
...
* loader/i386/efi/linux.c (allocate_pages): Fix warnings in
format strings.
2008-07-16 07:06:11 +00:00
proski
59652a208f
2008-07-16 Pavel Roskin <proski@gnu.org>
...
* util/i386/efi/grub-mkimage.c (get_target_address): Return a
pointer, not an integer. This fixes a warning and prevents
precision loss on 64-bit systems.
(relocate_addresses): Remove unneeded cast.
2008-07-16 06:55:42 +00:00
proski
506b2b3e2b
2008-07-15 Pavel Roskin <proski@gnu.org>
...
* kern/i386/ieee1275/init.c: Include grub/cache.h.
2008-07-15 13:29:53 +00:00
proski
62ead89c20
2008-07-15 Pavel Roskin <proski@gnu.org>
...
* term/ieee1275/ofconsole.c: Disable code unused on i386.
2008-07-15 13:27:02 +00:00
proski
c4cd51d7a4
2008-07-15 Pavel Roskin <proski@gnu.org>
...
* kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property):
Fix comparison between signed and unsigned.
2008-07-15 13:22:27 +00:00
proski
0d3d8f2843
2008-07-15 Pavel Roskin <proski@gnu.org>
...
* include/grub/i386/ieee1275/console.h: Declare
grub_console_init() and grub_console_fini().
2008-07-15 04:37:32 +00:00
proski
8804b286f4
2008-07-15 Pavel Roskin <proski@gnu.org>
...
* loader/i386/ieee1275/linux.c (grub_set_bootpath): Remove.
It's empty and unused.
2008-07-15 04:17:48 +00:00
proski
ee01cf35f0
2008-07-15 Pavel Roskin <proski@gnu.org>
...
* fs/ext2.c (grub_ext2_read_block): Initialize blknr in the
beginning to avoid warnings with some compilers.
2008-07-15 04:12:28 +00:00
proski
afc3b5d7c4
2008-07-15 Pavel Roskin <proski@gnu.org>
...
* loader/ieee1275/multiboot2.c: Include grub/machine/loader.h.
[__i386__] (grub_mb2_arch_boot): Avoid unnecessary cast.
2008-07-15 04:07:37 +00:00
proski
407aceb4da
2008-07-14 Pavel Roskin <proski@gnu.org>
...
* kern/env.c (grub_register_variable_hook): Don't copy empty
string, it leaks memory. Pass "" to grub_env_set(), it should
handle constant strings.
2008-07-14 05:03:19 +00:00