fzielcke-guest
1d01efaf12
* patches/01_grub_legacy_0_based_partitions.diff: s/biosdisk.c/hostdisc.c/.
...
* patches/03_disable_floppies.diff: Likewise.
2008-09-09 15:35:12 +00:00
fzielcke
040030b3f2
008-09-09 Felix Zielcke <fzielcke@z-51.de>
...
* Makefile.in (RMKFILES): Add `i386.rmk' and `x86_64-efi.rmk'.
Sort the list.
2008-09-09 13:58:21 +00:00
fzielcke
7fd75377be
2008-09-09 Felix Zielcke <fzielcke@z-51.de>
...
* util/hostdisk.c: Change #include <grub/util/biosdisk.h> to
#include <grub/util/hostdisk.h>.
2008-09-09 07:28:17 +00:00
robertmh
89d5ffcfd1
2008-09-08 Robert Millan <rmh@aybabtu.com>
...
* loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Skip
segments when their filesz is zero (grub_file_read() interprets
zero-size as "read untill EOF", which results in memory corruption).
Use `lowest_segment' rather than 0 for calculating the current
segment load address.
2008-09-08 19:10:16 +00:00
robertmh
40da438f10
2008-09-08 Robert Millan <rmh@aybabtu.com>
...
* util/hostdisk.c (open_device): Replace a grub_util_info() call
with grub_dprintf("hostdisk", ...), as it was so verbose that it
clobbered useful information.
2008-09-08 14:00:29 +00:00
robertmh
ddbf5556a7
2008-09-08 Robert Millan <rmh@aybabtu.com>
...
* include/grub/util/biosdisk.h: Move to ...
* include/grub/util/hostdisk.h: ... here. Update all users.
* util/biosdisk.c: Move to ...
* util/hostdisk.c: ... here. Update all users.
2008-09-08 13:52:30 +00:00
robertmh
783d0f484f
2008-09-07 Robert Millan <rmh@aybabtu.com>
...
* loader/i386/pc/multiboot.c (mmap_addr, mmap_length): Remove
variables.
(grub_multiboot): Move `mbi' allocation upwards, so that mmap address
and length can be stored directly in the `mbi->mmap_addr' and
`mbi->mmap_length' struct fields.
2008-09-07 17:13:00 +00:00
robertmh
548e2ea57c
2008-09-07 Robert Millan <rmh@aybabtu.com>
...
* conf/i386.rmk: New file. Provides declaration for building
`cpuid.mod'.
* conf/i386-pc.rmk (pkglib_MODULES): Remove `cpuid.mod'.
(cpuid_mod_SOURCES, cpuid_mod_CFLAGS, cpuid_mod_LDFLAGS): Remove
variables.
Include `conf/i386.mk'.
* conf/i386-efi.rmk: Likewise.
* conf/x86_64-efi.rmk: Likewise.
* conf/i386-coreboot.rmk: Likewise.
* conf/i386-ieee1275.rmk: Likewise.
2008-09-07 16:09:21 +00:00
chaac
0ea85a3787
2008-09-07 Vesa Jääskeläinen <chaac@nic.fi>
...
Based on patch created by Colin D Bennett <colin@gibibit.com>.
Adds optimization support for BGR based modes.
* include/grub/i386/pc/vbeblit.h (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8) Removed.
(grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8A8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8): Likewise.
(grub_video_i386_vbeblit_index_index): Likewise.
(grub_video_i386_vbeblit_replace_directN): Added.
(grub_video_i386_vbeblit_replace_BGRX8888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_BGRX8888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_BGR888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_BGR888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_RGBX8888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_RGB888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_index_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_index_RGB888): Likewise.
(grub_video_i386_vbeblit_blend_BGRA8888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_BGR888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_RGBA8888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_RGB888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_index_RGBA8888): Likewise.
* include/grub/i386/pc/vbefill.h (grub_video_i386_vbefill_R8G8B8A8) Removed.
(grub_video_i386_vbefill_R8G8B8): Likewise.
(grub_video_i386_vbefill_index): Likewise.
(grub_video_i386_vbefill_direct32): Added.
(grub_video_i386_vbefill_direct24): Likewise.
(grub_video_i386_vbefill_direct16): Likewise.
(grub_video_i386_vbefill_direct8): Likewise.
* include/grub/video.h (grub_video_blit_format): Removed
GRUB_VIDEO_BLIT_FORMAT_R8G8B8A8, GRUB_VIDEO_BLIT_FORMAT_R8G8B8.
(grub_video_blit_format): Added GRUB_VIDEO_BLIT_FORMAT_RGBA_8888,
GRUB_VIDEO_BLIT_FORMAT_BGRA_8888, GRUB_VIDEO_BLIT_FORMAT_RGB_888,
GRUB_VIDEO_BLIT_FORMAT_BGR_888, GRUB_VIDEO_BLIT_FORMAT_RGB_565,
GRUB_VIDEO_BLIT_FORMAT_BGR_565.
* video/video.c (grub_video_get_blit_format): Updated to use new
blit formats. Added handling for 16 bit color modes.
* video/i386/pc/vbe.c (grub_video_vbe_fill_rect): Updated to use new
fillers.
(common_blitter): Updated to use new blitters.
* video/i386/pc/vbeblit.c (grub_video_i386_vbeblit_R8G8B8A8_R8G8B8A8):
Removed.
(grub_video_i386_vbeblit_R8G8B8X8_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8A8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8A8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8X8): Likewise.
(grub_video_i386_vbeblit_R8G8B8A8_R8G8B8): Likewise.
(grub_video_i386_vbeblit_R8G8B8_R8G8B8): Likewise.
(grub_video_i386_vbeblit_index_R8G8B8): Likewise.
(grub_video_i386_vbeblit_index_index): Likewise.
(grub_video_i386_vbeblit_replace_directN): Added.
(grub_video_i386_vbeblit_replace_BGRX8888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_BGRX8888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_BGR888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_BGR888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_RGBX8888_RGB888): Likewise.
(grub_video_i386_vbeblit_replace_RGB888_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_index_RGBX8888): Likewise.
(grub_video_i386_vbeblit_replace_index_RGB888): Likewise.
(grub_video_i386_vbeblit_blend_BGRA8888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_BGR888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_RGBA8888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_RGB888_RGBA8888): Likewise.
(grub_video_i386_vbeblit_blend_index_RGBA8888): Likewise.
* video/i386/pc/vbefill.c (grub_video_i386_vbefill_R8G8B8A8): Removed.
(grub_video_i386_vbefill_R8G8B8): Likewise.
(grub_video_i386_vbefill_index): Likewise.
(grub_video_i386_vbefill_direct32): Added.
(grub_video_i386_vbefill_direct24): Likewise.
(grub_video_i386_vbefill_direct16): Likewise.
(grub_video_i386_vbefill_direct8): Likewise.
* video/readers/jpeg.c (grub_jpeg_decode_sos): Adapt to new blitter
types.
* video/readers/tga.c (grub_video_reader_tga): Adapt to new blitter
types.
* video/readers/png.c (grub_png_decode_image_header): Adapt to new
blitter types.
* video/bitmap.c (grub_video_bitmap_create): Adapt to new blitter
types.
2008-09-07 15:55:58 +00:00
fzielcke-guest
d13d1f9fb5
just one closes for the 2 merged LVM dash escaping bugs
2008-09-06 14:52:52 +00:00
fzielcke-guest
929d006eb6
Use case insensitive match in NTFS ( Closes : #497889 )
2008-09-06 14:17:47 +00:00
fzielcke
e8a83df664
2008-09-04 Felix Zielcke <fzielcke@z-51.de>
...
* disk/raid.c (insert_array): Set `array->chunk_size' to 64 for
RAID level 1.
2008-09-06 13:56:15 +00:00
fzielcke
6bcd8ee530
urgs commited a bit too fast the changelog ..
2008-09-06 11:18:06 +00:00
fzielcke
c375ae58f2
2008-08-31 Felix Zielcke <fzielcke@z-51.de>
...
* fs/iso9660.c (grub_iso9660_date): New structure.
(grub_iso9660_primary_voldesc): Add `grub_iso9660_date' member.
(grub_iso9660_uuid): New function.
2008-09-06 11:16:52 +00:00
bean
5926115732
2008-09-05 Bean <bean123ch@gmail.com>
...
* fs/fshelp.c (grub_fshelp_find_file): Handle case insensitive names.
* fs/ntfs.c (list_file): Ignore names in DOS namespace, set the case
insensitive bit for names in Win32 and Win32 & DOS namespace.
* include/grub/fshelp.h (GRUB_FSHELP_CASE_INSENSITIVE): New macro.
* include/grub/types.h (LONG_MAX): Likewise.
2008-09-05 15:48:37 +00:00
fzielcke-guest
99d2d789c9
* New SVN snapshot.
...
- Add support for /dev/md/N style mdraid devices. (Closes : #475585 )
- Handle LVM dash escaping. (Closes : #494383 , #464215 )
2008-09-04 20:00:51 +00:00
fzielcke
4ee5592137
2008-09-04 Felix Zielcke <fzielcke@z-51.de>
...
* util/getroot.c: Include <config.h>.
(grub_util_get_grub_dev): Rewrite to use asprintf for mdraid devices,
add support for /dev/md/N devices and handle LVM double dash escaping.
2008-09-04 19:54:59 +00:00
fzielcke
58b6645a8f
2008-09-04 Felix Zielcke <fzielcke@z-51.de>
...
* config.guess: Update to latest version from config.git.
* config.sub: Likewise.
2008-09-04 07:54:06 +00:00
fzielcke
9059a0f99f
changing mime-type of docs/*.texi and docs/texinfo.tex to text/plain
2008-09-03 21:55:14 +00:00
robertmh
9124f65de0
2008-09-03 Robert Millan <rmh@aybabtu.com>
...
* disk/scsi.c (grub_scsi_open): Remove size limit when printing
`disk->total_sectors'.
2008-09-03 10:52:07 +00:00
chaac
a0224a4e62
2008-09-01 Colin D Bennett <colin@gibibit.com>
...
* include/grub/normal.h: Fixed incorrect comment for
GRUB_COMMAND_FLAG_NO_ARG_PARSE.
2008-09-01 19:03:16 +00:00
chaac
f06199587d
2008-09-01 Colin D Bennett <colin@gibibit.com>
...
* commands/i386/pc/vbeinfo.c (grub_cmd_vbeinfo): Replaced constant
values with defines.
* include/grub/i386/pc/vbe.h (GRUB_VBE_MODEATTR_SUPPORTED): Added.
(GRUB_VBE_MODEATTR_RESERVED_1): Likewise.
(GRUB_VBE_MODEATTR_BIOS_TTY_OUTPUT_SUPPORT): Likewise.
(GRUB_VBE_MODEATTR_COLOR): Likewise.
(GRUB_VBE_MODEATTR_GRAPHICS): Likewise.
(GRUB_VBE_MODEATTR_VGA_COMPATIBLE): Likewise.
(GRUB_VBE_MODEATTR_VGA_WINDOWED_AVAIL): Likewise.
(GRUB_VBE_MODEATTR_LFB_AVAIL): Likewise.
(GRUB_VBE_MODEATTR_DOUBLE_SCAN_AVAIL): Likewise.
(GRUB_VBE_MODEATTR_INTERLACED_AVAIL): Likewise.
(GRUB_VBE_MODEATTR_TRIPLE_BUF_AVAIL): Likewise.
(GRUB_VBE_MODEATTR_STEREO_AVAIL): Likewise.
(GRUB_VBE_MODEATTR_DUAL_DISPLAY_START): Likewise.
(GRUB_VBE_MEMORY_MODEL_TEXT): Likewise.
(GRUB_VBE_MEMORY_MODEL_CGA): Likewise.
(GRUB_VBE_MEMORY_MODEL_HERCULES): Likewise.
(GRUB_VBE_MEMORY_MODEL_PLANAR): Likewise.
(GRUB_VBE_MEMORY_MODEL_NONCHAIN4_256): Likewise.
(GRUB_VBE_MEMORY_MODEL_YUV): Likewise.
2008-09-01 15:58:13 +00:00
robertmh
93d5cbf809
2008-08-31 Robert Millan <rmh@aybabtu.com>
...
* loader/i386/pc/multiboot.c (grub_get_multiboot_mmap_len): Fix
declaration.
(grub_multiboot): Fix a few warnings.
2008-08-31 20:43:03 +00:00
robertmh
21751d508a
2008-08-31 Robert Millan <rmh@aybabtu.com>
...
* loader/i386/pc/multiboot.c: Update comment not to say that
boot_device support is unimplemented.
2008-08-31 19:25:41 +00:00
robertmh
e27a75c58f
2008-08-31 Robert Millan <rmh@aybabtu.com>
...
* loader/i386/pc/multiboot.c: Update comment not to say that a.out
or memory map support are unimplemented.
2008-08-31 19:12:02 +00:00
rmh
756501ac09
date bump
2008-08-31 16:43:55 +00:00
rmh
e5d8270154
* patches/902_boot_blocklist_hack.diff: Support separate /boot when using
...
blocklists. (Closes : #496820 , #489287 , #494589 )
2008-08-31 16:43:05 +00:00
robertmh
64d2d53c6b
2008-08-31 Colin D Bennett <colin@gibibit.com>
...
* util/i386/pc/grub-mkrescue.in: Support multiple overlay directories.
2008-08-31 16:28:32 +00:00
chaac
c08a6c1877
2008-08-31 Colin D Bennett <colin@gibibit.com>
...
* commands/i386/pc/vbeinfo.c (grub_cmd_vbeinfo): Show VBE version and
total video memory in 'vbeinfo' output; show color format details for
each video mode.
2008-08-31 09:28:36 +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
robertmh
4cebd25a85
2008-08-30 Robert Millan <rmh@aybabtu.com>
...
* kern/i386/pc/startup.S (multiboot_header): Force 4-byte alignment
as required by Multiboot spec (it was already 4-byte aligned, but
only by chance).
2008-08-30 17:51:24 +00:00
rmh
0222a29e9f
* patches/03_disable_floppies.diff: Free .drive struct member when skipping
...
floppy drives. (Closes : #496040 )
2008-08-30 17:15:14 +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
bean
6e5a42fe9a
2008-08-29 Bean <bean123ch@gmail.com>
...
* configure.ac: Change host_os to cygwin for mingw.
(asprintf): New check for function.
* include/grub/symbol.h: Replace #ifndef __CYGWIN__ with
#if ! defined (__CYGWIN__) && ! defined (__MINGW32__).
* include/grub/util/misc.h: #include <config.h> and <grub/types.h>,
declear asprintf if HAVE_ASPRINTF is not set, declear fseeko, ftello,
sync, sleep and grub_util_get_disk_size for mingw.
* util/biosdisk.c (grub_util_biosdisk_open): Use grub_util_get_disk_size
to get size in mingw.
(open_device): Use flag O_BINARY if it's defined.
(find_root_device): Add dummy code for mingw.
* util/grub-mkdevicemap.c (get_floppy_disk_name): Return 0 for mingw.
(get_ide_disk_name): Return //./PHYSICALDRIVE%d for mingw.
(get_scsi_disk_name): Return 0 for mingw.
* util/hostfs.c: #include <grub/util/misc.h>.
(grub_hostfs_open): Use "rb" flag to open file, use
grub_util_get_disk_size to get disk size for mingw.
* util/misc.c: #include <windows.h> and <winioctl.h> in mingw.
(asprintf): New function if HAVE_ASPRINTF is not set.
(sync): New function for mingw.
(sleep): Likewise.
(grub_util_get_disk_size): Likewise.
2008-08-29 19:55:23 +00:00
fzielcke-guest
5c4208e501
remove the debian version -1 on the unifont build dependency
2008-08-29 08:56:45 +00:00
fzielcke-guest
930fceb58c
s/depency/dependency/ in changelog
2008-08-29 08:28:38 +00:00
fzielcke-guest
145f9a0ecb
small minor cosmetic fixes to my new GRUB_GFXMODE in default/grub
2008-08-29 07:59:06 +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
robertmh
1c282483bf
2008-08-28 Robert Millan <rmh@aybabtu.com>
...
* util/biosdisk.c (find_grub_drive): Declare missing `i' variable.
2008-08-28 19:08:21 +00:00
robertmh
678e849cd3
2008-08-28 Robert Millan <rmh@aybabtu.com>
...
Change find_grub_drive() syntax so it doesn't prevent it from
detecting NULL names as errors.
* util/biosdisk.c (find_grub_drive): Move free slot search code
from here ...
(find_free_slot): ... to here.
(read_device_map): Use find_free_slot() to search for free slots.
2008-08-28 14:36:18 +00:00
marco_g
965c75ca69
2008-08-27 Marco Gerards <marco@gnu.org>
...
* conf/common.rmk (pkglib_MODULES): Add scsi.mod.
(scsi_mod_SOURCES): New variable.
(scsi_mod_CFLAGS): Likewise
(scsi_mod_LDFLAGS): Likewise.
* disk/scsi.c: New file.
* include/grub/scsi.h: Likewise.
* include/grub/scsicmd.h: Likewise.
* disk/ata.c: Include <grub/scsi.h>.
(grub_atapi_packet): Do not use grub_ata_cmd, use registers
instead.
(grub_ata_iterate): Skip ATAPI devices.
(grub_ata_open): Only handle ATAPI devices.
(struct grub_atapi_read): Removed.
(grub_atapi_readsector): Likewise.
(grub_ata_read): No longer handle ATAPI devices.
(grub_ata_write): Likewise.
(grub_atapi_iterate): New function.
(grub_atapi_read): Likewise.
(grub_atapi_write): Likewise.
(grub_atapi_open): Likewise.
(grub_atapi_close): Likewise.
(grub_atapi_dev): New variable.
(GRUB_MOD_INIT(ata)): Register ATAPI as SCSI device.
(GRUB_MOD_FINI(ata)): Unregister ATAPI.
* include/grub/disk.h (enum grub_disk_dev_id): Add
`GRUB_DISK_DEVICE_SCSI_ID'.
2008-08-27 15:05:00 +00:00
fzielcke-guest
12cee327d9
upstream uses buffered file read now to load the bg image faster
2008-08-26 20:12:32 +00:00
robertmh
c07ae501cb
2008-08-26 Robert Millan <rmh@aybabtu.com>
...
* util/biosdisk.c (grub_util_biosdisk_open, open_device)
(grub_util_biosdisk_get_grub_dev): Make error messages a bit more
descriptive.
2008-08-26 19:09:07 +00:00
fzielcke-guest
15a91344ba
Preserve arguments in update-grub2 stub. ( Closes : #496610 )
2008-08-26 07:31:53 +00:00
fzielcke-guest
e755f0ca1b
raid code has various fixes so close #496573
2008-08-25 19:16:45 +00:00
fzielcke-guest
06f7331db2
reverting previous commit r1020, waiting is good
2008-08-25 13:59:38 +00:00
fzielcke-guest
b0bc011074
and again something in 3 commits i could done in one, removed again otavio from uploaders
2008-08-25 13:54:37 +00:00
fzielcke-guest
bf226952b2
WTF did I do with last commit r1018?!
...
Jason has accepted to be removed from uploaders and not Otavio.
2008-08-25 07:59:36 +00:00
fzielcke-guest
a3e65bd3ed
remove otavio from uploaders
2008-08-25 06:40:34 +00:00