Andrey Borzenkov
df6da5a52d
* grub-core/partmap/msdos.c (grub_partition_msdos_iterate):
...
Fix off by one error in enumerating extended partitions.
2013-02-27 10:02:39 +01:00
Andrey Borzenkov
21aecde5f6
* grub-core/disk/efi/efidisk.c(grub_efidisk_get_device_name): Fix
...
memory leak if device name is not found.
2013-02-26 22:45:00 +01:00
Andrey Borzenkov
f1a19118e5
* grub-core/normal/menu_entry.c (update_screen): remove
...
unused variable `off' which caused scroll down arrow to be always shown.
2013-02-25 22:53:40 +01:00
Andrey Borzenkov
958bfd2067
* grub-core/normal/menu_entry.c (insert_string): fix off by one
...
access to unallocated memory.
2013-02-25 22:42:25 +01:00
Andrey Borzenkov
b7b78edb1c
* Makefile.util.def: Add partmap/msdos.c to common library.
...
* include/grub/msdos_partition.h: Add GRUB_PC_PARTITION_TYPE_LDM
* grub-core/disk/ldm.c: Check for existence of
GRUB_PC_PARTITION_TYPE_LDM.
2013-02-25 22:11:06 +01:00
Vladimir 'phcoder' Serbinenko
28d468d6f2
* grub-core/normal/misc.c (grub_normal_print_device_info): Use KiB to display
...
sizes and display sector size.
2013-02-25 10:45:19 +01:00
Vladimir 'phcoder' Serbinenko
d55ffb0249
Implement new command cmosdump.
2013-02-24 19:44:17 +01:00
Vladimir 'phcoder' Serbinenko
b5ea6ce03a
Support Openfirmware disks with non-512B sectors.
...
* grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_open): Get the block
size of the disk.
* (grub_ofdisk_get_block_size): New function.
* (grub_ofdisk_prepare): Use the correct block size.
* (grub_ofdisk_read): Likewise.
* (grub_ofdisk_write): Likewise.
* include/grub/ieee1275/ofdisk.h (grub_ofdisk_get_block_size):
New proto.
2013-02-19 09:10:26 +01:00
Vladimir 'phcoder' Serbinenko
cc0e476fe8
* grub-core/commands/lsacpi.c: Fix types on 64-bit platform.
2013-02-06 17:37:29 +01:00
Vladimir 'phcoder' Serbinenko
c5dbdc3357
* grub-core/disk/cryptodisk.c (grub_cryptodisk_scan_device): Don't stop
...
on first error.
2013-02-04 15:36:03 +01:00
Vladimir 'phcoder' Serbinenko
3f078c0fca
* grub-core/fs/fshelp.c (find_file): Set oldnode to zero after
...
freeing it.
2013-02-01 21:51:09 +01:00
Vladimir 'phcoder' Serbinenko
66a93674b2
Implement USBDebug (full USB stack variant).
2013-02-01 21:49:29 +01:00
Vladimir 'phcoder' Serbinenko
0d5b9c9031
Missing part of last commit
2013-02-01 21:48:01 +01:00
Vladimir 'phcoder' Serbinenko
c9f0c1346e
* grub-core/commands/lsacpi.c: Show more info. Hide some boring parts
...
unless they have unexpected values.
2013-02-01 21:45:39 +01:00
Vladimir 'phcoder' Serbinenko
cfe1288b8d
* grub-core/bus/usb/usb.c (grub_usb_device_attach): Add missing
...
grub_print_error.
2013-02-01 21:43:49 +01:00
Vladimir 'phcoder' Serbinenko
e42b99698c
* grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing
...
zero-out of port structure.
2013-02-01 21:32:17 +01:00
Vladimir 'phcoder' Serbinenko
cf94fd6209
* grub-core/fs/xfs.c (grub_xfs_read_block): Fix computation in presence
...
of extended attributes.
2013-01-30 09:22:43 +01:00
Andrey Borzenkov
f81ef4b580
* util/grub-install.in: change misleading comment about
...
device.map creation
2013-01-27 16:17:21 +01:00
Vladimir 'phcoder' Serbinenko
af18fdb4df
* grub-core/normal/menu_text.c (grub_menu_init_page): Fix behaviour
...
when menu highlight color isn't set.
2013-01-27 16:12:05 +01:00
C. Masloch
08bcec5020
Improve FreeDOS direct loading support compatibility.
...
* include/grub/i386/relocator.h (grub_relocator16_state):
New member ebp.
* grub-core/lib/i386/relocator.c (grub_relocator16_ebp): New extern
variable.
(grub_relocator16_boot): Handle %ebp.
* grub-core/lib/i386/relocator16.S: Likewise.
* grub-core/loader/i386/pc/freedos.c:
Load BPB to pass kernel which partition to load from.
Check that kernel file is not too large.
Set register dl to BIOS unit number as well.
2013-01-27 16:07:25 +01:00
Colin Watson
7782b8a62f
* util/grub-reboot.in (usage): Document the need for
...
GRUB_DEFAULT=saved.
* util/grub-set-default.in (usage): Likewise.
Reported by: Brian Candler. Fixes Ubuntu bug #1102925 .
2013-01-22 14:28:32 +00:00
Vladimir 'phcoder' Serbinenko
e661c180ea
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Include sys/types.h rather
...
than defining WORDS_BIGENDIAN manually.
2013-01-22 07:46:29 +01:00
Vladimir 'phcoder' Serbinenko
1c22ca9a69
* include/grub/kernel.h (FOR_MODULES): Adjust to preserve alignment
...
invariants.
2013-01-21 22:44:20 +01:00
Colin Watson
d44892fed9
* grub-core/font/font.c (blit_comb: do_blit): Make static instead of
...
nested.
(blit_comb: add_device_width): Likewise.
2013-01-21 21:03:26 +00:00
Colin Watson
5fdbaed168
Remove nested functions from USB iterators.
...
* include/grub/usb.h (grub_usb_iterate_hook_t): New type.
(grub_usb_controller_iterate_hook_t): Likewise.
(grub_usb_iterate): Add hook_data argument.
(grub_usb_controller_iterate): Likewise.
(struct grub_usb_controller_dev.iterate): Likewise.
Update all implementations and callers.
2013-01-21 21:02:24 +00:00
Vladimir 'phcoder' Serbinenko
18288f17ac
Improve spkmodem reliability by adding a separator between bytes.
2013-01-21 21:05:33 +01:00
Vladimir 'phcoder' Serbinenko
4250985ae8
* grub-core/normal/term.c (print_ucs4_terminal): Don't output right
...
margin when not needed.
2013-01-21 20:33:38 +01:00
Vladimir 'phcoder' Serbinenko
ec5010a3eb
Improve spkmomdem reliability by adding a separator between bytes.
2013-01-21 20:03:15 +01:00
Vladimir 'phcoder' Serbinenko
bc1369732f
Make color variables global instead of it being per-terminal.
2013-01-21 17:53:41 +01:00
Vladimir 'phcoder' Serbinenko
7d8848f363
* grub-core/commands/ls.c (grub_ls_print_devices): Add missing
...
asterisk.
2013-01-21 17:46:24 +01:00
Colin Watson
ed12a00309
Fix powerpc and sparc64 build failures caused by un-nesting memory
...
map iterators.
2013-01-21 14:41:06 +00:00
Colin Watson
6a0db4492c
* grub-core/disk/arc/arcdisk.c (grub_arcdisk_iterate): Fix
...
parameter declarations.
2013-01-21 13:59:28 +00:00
Vladimir 'phcoder' Serbinenko
ccd86b215f
* grub-core/commands/lsmmap.c: Fix unused variable on emu.
2013-01-21 14:57:35 +01:00
Vladimir 'phcoder' Serbinenko
822b726b33
Improve spkmomdem reliability by adding a separator between bytes.
2013-01-21 14:55:30 +01:00
Colin Watson
115c2cc180
* grub-core/partmap/msdos.c (embed_signatures): Add the signature of
...
an Acer registration utility with several sightings in the wild.
Reported by: Rickard Westman. Fixes Ubuntu bug #987022 .
2013-01-21 11:10:25 +00:00
Colin Watson
fc524edf65
Remove nested functions from filesystem directory iterators.
...
* include/grub/fs.h (grub_fs_dir_hook_t): New type.
(struct grub_fs.dir): Add hook_data argument.
Update all implementations and callers.
2013-01-21 01:33:46 +00:00
Colin Watson
53d3e4e3df
* docs/grub.texi (Multi-boot manual config): Fix typo for
...
"recommended".
2013-01-21 00:05:41 +00:00
Leif Lindholm
c821711f69
* util/grub-mkimage.c (main): Postpone freeing arguments.output
...
until after its use in generate_image.
2013-01-20 23:16:34 +00:00
Colin Watson
6a0debbd91
* grub-core/loader/i386/linux.c (grub_cmd_initrd): Don't add the
...
initrd size to addr_min, since the initrd will be allocated after
this address.
2013-01-20 23:03:35 +00:00
Andrey Borzenkov
f41e08dbcd
* conf/Makefile.common: Fix autogen rules to pass definition
...
files on stdin; Makefile.util.am needs Makefile.utilgcry.def
2013-01-20 23:44:42 +01:00
Leif Lindholm
77529e0fe2
* include/grub/elf.h: Update ARM definitions based on binutils.
2013-01-20 23:01:47 +01:00
Vladimir 'phcoder' Serbinenko
b879aa7b47
Split long USB transfers into short ones.
2013-01-20 22:45:53 +01:00
Andrey Borzenkov
8eb8284d2d
* docs/grub.texi (Simple configuration): Clarify GRUB_HIDDEN_TIMEOUT
...
is interrupted by ESC.
2013-01-20 22:42:08 +01:00
Vladimir 'phcoder' Serbinenko
08dad2dcf9
* util/grub-script-check.c (main): Uniform the error message.
2013-01-20 22:05:55 +01:00
Colin Watson
6c724b85b4
Remove nested functions from ELF iterators.
2013-01-20 15:54:09 +00:00
Colin Watson
25239370fd
Remove nested functions from device iterators.
...
* include/grub/arc/arc.h (grub_arc_iterate_devs_hook_t): New type.
(grub_arc_iterate_devs): Add hook_data argument.
* include/grub/ata.h (grub_ata_dev_iterate_hook_t): New type.
(struct grub_ata_dev.iterate): Add hook_data argument.
* include/grub/device.h (grub_device_iterate_hook_t): New type.
(grub_device_iterate): Add hook_data argument.
* include/grub/disk.h (grub_disk_dev_iterate_hook_t): New type.
(struct grub_disk_dev.iterate): Add hook_data argument.
(grub_disk_dev_iterate): Likewise.
* include/grub/gpt_partition.h (grub_gpt_partition_map_iterate):
Likewise.
* include/grub/msdos_partition.h (grub_partition_msdos_iterate):
Likewise.
* include/grub/partition.h (grub_partition_iterate_hook_t): New
type.
(struct grub_partition_map.iterate): Add hook_data argument.
(grub_partition_iterate): Likewise.
* include/grub/scsi.h (grub_scsi_dev_iterate_hook_t): New type.
(struct grub_scsi_dev.iterate): Add hook_data argument.
Update all callers.
2013-01-20 15:52:15 +00:00
Colin Watson
6c0314d638
Fix typos for "developer" and "development".
2013-01-20 13:24:47 +00:00
Vladimir 'phcoder' Serbinenko
600dc5f153
Add license header to spkmodem-recv.c.
2013-01-18 11:54:28 +01:00
Vladimir 'phcoder' Serbinenko
17334a6b6a
Rewrite spkmodem to use PIT for timing. Double the speed.
2013-01-17 20:06:52 +01:00
Vladimir 'phcoder' Serbinenko
7d462559da
Add new command pcidump.
2013-01-16 20:44:11 +01:00