grub/grub-core
Vladimir 'phcoder' Serbinenko 12e9d4d152 Fix video on platforms where unaligned access is forbidden.
Make several optimisations while on it.

	* grub-core/video/fb/fbblit.c (grub_video_fbblit_replace_directN):
	Optimise and use GRUB_VIDEO_FB_ADVANCE_POINTER.
	(grub_video_fbblit_replace_32bit_1bit): Likewise.
	(grub_video_fbblit_replace_24bit_1bit) [!GRUB_HAVE_UNALIGNED_ACCESS]:
	Disable.
	(grub_video_fbblit_replace_16bit_1bit):
	Optimise and use GRUB_VIDEO_FB_ADVANCE_POINTER.
	(grub_video_fbblit_replace_8bit_1bit): Likewise.
	(grub_video_fbblit_replace_BGRX8888_RGBX8888): Likewise.
	(grub_video_fbblit_replace_BGRX8888_RGB888): Likewise.
	(grub_video_fbblit_replace_BGR888_RGBX8888): Likewise.
	(grub_video_fbblit_replace_BGR888_RGBX8888): Likewise.
	(grub_video_fbblit_replace_BGR888_RGB888): Likewise.
	(grub_video_fbblit_replace_RGBX8888_RGB88): Likewise.
	(grub_video_fbblit_replace_RGB888_RGBX888): Likewise.
	(grub_video_fbblit_replace_RGB888_RGBX8888): Likewise.
	(grub_video_fbblit_replace_index_RGBX8888): Likewise.
	(grub_video_fbblit_replace_index_RGB888): Likewise.
	(grub_video_fbblit_blend_BGRA8888_RGBA8888): Likewise.
	(grub_video_fbblit_blend_BGR888_RGBA8888): Likewise.
	(grub_video_fbblit_blend_RGBA8888_RGBA8888): Likewise.
	(grub_video_fbblit_blend_RGB888_RGBA8888): Likewise.
	(grub_video_fbblit_blend_index_RGBA8888): Likewise.
	(grub_video_fbblit_blend_XXXA8888_1bit): Likewise.
	(grub_video_fbblit_blend_XXX888_1bit) [!GRUB_HAVE_UNALIGNED_ACCESS]:
	Disable.
	(grub_video_fbblit_blend_XXX565_1bit):
	Optimise and use GRUB_VIDEO_FB_ADVANCE_POINTER.
	* grub-core/video/fb/fbfill.c (grub_video_fbfill_direct32): Likewise.
	* grub-core/video/fb/fbutil.c (grub_video_fb_get_video_ptr): Return
	void *.
	* grub-core/video/fb/video_fb.c (common_blitter)
	[!GRUB_HAVE_UNALIGNED_ACCESS]: Skip disabled blitters.
	(grub_video_fb_create_render_target_from_pointer)
	[!GRUB_HAVE_UNALIGNED_ACCESS]: Check alignment.
	* include/grub/fbutil.h (grub_video_fb_get_video_ptr): Return void *.
	* include/grub/i386/types.h (GRUB_HAVE_UNALIGNED_ACCESS): New
	definition.
	* include/grub/x86_64/types.h (GRUB_HAVE_UNALIGNED_ACCESS): Likewise.
2011-12-13 20:07:33 +01:00
..
boot Fix MIPS compilation. 2011-11-12 21:38:04 +01:00
bus Add noreturn attributes and remove unreachable code. 2011-12-13 15:13:51 +01:00
commands * grub-core/commands/videotest.c (grub_cmd_videotest): Check that 2011-12-13 19:53:57 +01:00
disk * grub-core/disk/pata.c (grub_pata_pio_read): Handle unaligned buffer. 2011-12-13 15:55:36 +01:00
efiemu Add missing const qualifiers. 2011-11-30 16:20:13 +01:00
font * grub-core/commands/acpihalt.c: Gettextized. 2011-11-11 21:44:56 +01:00
fs * grub-core/fs/iso9660.c (grub_iso9660_convert_string): Make first 2011-12-13 16:35:12 +01:00
gettext Add const keyword to grub_env_get and gettextize week days. 2011-11-11 20:34:37 +01:00
gfxmenu * grub-core/commands/acpihalt.c: Gettextized. 2011-11-11 21:44:56 +01:00
gnulib Add missing const qualifiers. 2011-11-30 16:20:13 +01:00
hello Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
hook * grub-core/hook/datehook.c (grub_read_hook_datetime): Small stylistic 2011-11-11 21:03:49 +01:00
io * grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of 2011-10-23 22:55:32 +02:00
kern * grub-core/kern/sparc64/dl.c (grub_arch_dl_relocate_symbols): Support 2011-12-13 19:56:50 +01:00
lib Add noreturn attributes and remove unreachable code. 2011-12-13 15:13:51 +01:00
loader * grub-core/loader/multiboot_mbi2.c (grub_multiboot_add_elfsyms): 2011-12-13 16:22:44 +01:00
mmap * include/grub/loader.h (grub_loader_register_preboot_hook): 2011-12-13 00:28:14 +01:00
net * grub-core/net/netbuff.c (grub_netbuff_alloc): Ensure proper alignment. 2011-12-13 02:15:09 +01:00
normal Add noreturn attributes and remove unreachable code. 2011-12-13 15:13:51 +01:00
partmap * grub-core/partmap/dvh.c (grub_dvh_is_valid): Make argument 2011-12-13 14:44:38 +01:00
parttool * grub-core/commands/acpihalt.c: Gettextized. 2011-11-11 21:44:56 +01:00
script Add const keyword to grub_env_get and gettextize week days. 2011-11-11 20:34:37 +01:00
term * grub-core/term/at_keyboard.c (set_scancodes): Fix preprocessor 2011-12-13 01:36:09 +01:00
tests Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
video Fix video on platforms where unaligned access is forbidden. 2011-12-13 20:07:33 +01:00
gdb_grub.in Add facility to debug GRUB with gdb under qemu. 2011-11-13 22:59:46 +01:00
genemuinit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genemuinitheader.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
genmod.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
genmoddep.awk use objcopy instead of creating mod-*.c and mod-*.o 2010-08-29 16:43:07 +05:30
gensyminfo.sh.in * grub-core/genmod.sh.in: Use 'set -e' rather than '#! /bin/sh -e', 2011-05-18 12:53:07 +01:00
gensymlist.sh track function symbols 2011-05-08 18:29:37 +02:00
gentrigtables.c Implement automatic module license checking according to new GNU 2011-04-11 23:01:51 +02:00
gmodule.pl.in Add facility to debug GRUB with gdb under qemu. 2011-11-13 22:59:46 +01:00
Makefile.am Move chainloader_real_boot out of the kernel 2011-10-21 00:16:59 +02:00
Makefile.core.def Add facility to debug GRUB with gdb under qemu. 2011-11-13 22:59:46 +01:00
modinfo.sh.in Unify grub-mkrescue (except powerpc) and grrub-mknetdir across platforms 2011-05-18 01:38:01 +02:00