Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								fb2666b560 
								
							 
						 
						
							
							
								
								Simplify few strings.  
							
							
							
						 
						
							2013-05-07 11:44:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								1eed0e6ebc 
								
							 
						 
						
							
							
								
								* tests/priority_queue_unit_test.cc: New test.  
							
							
							
						 
						
							2013-05-07 11:30:48 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								e0aacf2433 
								
							 
						 
						
							
							
								
								* grub-core/lib/arg.c (grub_arg_show_help): Fix a NULL pointer  
							
							... 
							
							
							
							dereference.
	Reported by: qwertial. 
							
						 
						
							2013-04-29 11:57:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								f25a2ba6b8 
								
							 
						 
						
							
							
								
								Fix pseries test.  
							
							
							
						 
						
							2013-04-27 14:11:12 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								872dac835c 
								
							 
						 
						
							
							
								
								* grub-core/lib/efi/relocator.c (grub_relocator_firmware_alloc_region):  
							
							... 
							
							
							
							Remove dprintf.
	* grub-core/lib/relocator.c (malloc_in_range): Likewise. 
							
						 
						
							2013-04-20 13:39:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								90ec4b7f6c 
								
							 
						 
						
							
							
								
								* grub-core/kern/ieee1275/init.c (grub_claim_heap): Improve handling  
							
							... 
							
							
							
							of GRUB_IEEE1275_FLAG_FORCE_CLAIM.
	* grub-core/loader/powerpc/ieee1275/linux.c
	(grub_linux_claimmap_iterate): Handle GRUB_IEEE1275_FLAG_FORCE_CLAIM. 
							
						 
						
							2013-04-19 15:27:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								25092d2922 
								
							 
						 
						
							
							
								
								* grub-core/lib/posix_wrap/sys/types.h: Make WORDS_BIGENDIAN definition  
							
							... 
							
							
							
							match config-util.h to avoid warnings and increase compatibility. 
							
						 
						
							2013-04-14 19:57:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								5121223465 
								
							 
						 
						
							
							
								
								Turn off QEMU ACPI-way since new releases don't have shutdown port  
							
							... 
							
							
							
							anymore. 
							
						 
						
							2013-04-12 14:49:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								053cfcddf1 
								
							 
						 
						
							
							
								
								Import new gnulib.  
							
							
							
						 
						
							2013-04-11 21:12:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								be00894104 
								
							 
						 
						
							
							
								
								* grub-core/lib/posix_wrap/locale.h [GRUB_UTIL]: Include host locale.h.  
							
							
							
						 
						
							2013-04-04 08:54:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								ea811130ea 
								
							 
						 
						
							
							
								
								* grub-core/lib/arg.c (grub_arg_list_alloc): Use shifts rather  
							
							... 
							
							
							
							than divisions. 
							
						 
						
							2013-03-10 20:08:15 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								7f8c105f61 
								
							 
						 
						
							
							
								
								* grub-core/lib/ia64/longjmp.S: Fix the name of longjmp function.  
							
							... 
							
							
							
							* grub-core/lib/ia64/setjmp.S: Fix the name of setjmp function. 
							
						 
						
							2013-03-02 15:31:17 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								ff2b3cd928 
								
							 
						 
						
							
							
								
								* grub-core/lib/arg.c (grub_arg_show_help): Move showargs  
							
							... 
							
							
							
							out of its parent. 
							
						 
						
							2013-02-28 11:00:59 +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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Colin Watson 
								
							 
						 
						
							
							
							
							
								
							
							
								d0d4b8a063 
								
							 
						 
						
							
							
								
								Remove nested functions from memory map iterators.  
							
							... 
							
							
							
							* grub-core/efiemu/mm.c (grub_efiemu_mmap_iterate): Add hook_data
argument, passed to hook.
* grub-core/kern/i386/coreboot/mmap.c
(grub_linuxbios_table_iterate): Likewise.
(grub_machine_mmap_iterate: iterate_linuxbios_table): Make static
instead of nested.
(grub_machine_mmap_iterate): Add hook_data argument.
* grub-core/kern/i386/multiboot_mmap.c (grub_machine_mmap_iterate):
Add hook_data argument, passed to hook.
* grub-core/kern/i386/pc/mmap.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/i386/qemu/mmap.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/ieee1275/mmap.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/mips/arc/init.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/mips/loongson/init.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/kern/mips/qemu_mips/init.c (grub_machine_mmap_iterate):
Likewise.
* grub-core/mmap/efi/mmap.c (grub_efi_mmap_iterate): Likewise.
(grub_machine_mmap_iterate): Likewise.
* grub-core/mmap/mmap.c (grub_mmap_iterate): Likewise.
* include/grub/efiemu/efiemu.h (grub_efiemu_mmap_iterate): Update
prototype.
* include/grub/memory.h (grub_memory_hook_t): Add data argument.
Remove NESTED_FUNC_ATTR from here and from all users.
(grub_mmap_iterate): Update prototype.
(grub_efi_mmap_iterate): Update prototype.  Update all callers to
pass appropriate hook data.
(grub_machine_mmap_iterate): Likewise.
* grub-core/commands/acpi.c (grub_acpi_create_ebda: find_hook): Make
static instead of nested.
* grub-core/commands/lsmmap.c (grub_cmd_lsmmap: hook): Likewise.
Rename to ...
(lsmmap_hook): ... this.
* grub-core/efiemu/mm.c (grub_efiemu_mmap_init: bounds_hook):
Likewise.
(grub_efiemu_mmap_fill: fill_hook): Likewise.
* grub-core/kern/i386/coreboot/init.c (grub_machine_init:
heap_init): Likewise.
* grub-core/kern/i386/pc/init.c (grub_machine_init: hook): Likewise.
Rename to ...
(mmap_iterate_hook): ... this.
* grub-core/kern/ieee1275/init.c (grub_claim_heap: heap_init):
Likewise.
* grub-core/lib/ieee1275/relocator.c
(grub_relocator_firmware_get_max_events: count): Likewise.
(grub_relocator_firmware_fill_events: fill): Likewise.  Rename
to ...
(grub_relocator_firmware_fill_events_iter): ... this.
* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align:
hook): Likewise.  Rename to ...
(grub_relocator_alloc_chunk_align_iter): ... this.
* grub-core/loader/i386/bsd.c (generate_e820_mmap: hook): Likewise.
Rename to ...
(generate_e820_mmap_iter): ... this.
* grub-core/loader/i386/linux.c (find_mmap_size: hook): Likewise.
Rename to ...
(count_hook): ... this.
(grub_linux_boot: hook): Likewise.  Rename to ...
(grub_linux_boot_mmap_find): ... this.
(grub_linux_boot: hook_fill): Likewise.  Rename to ...
(grub_linux_boot_mmap_fill): ... this.
* grub-core/loader/i386/multiboot_mbi.c (grub_fill_multiboot_mmap:
hook): Likewise.  Rename to ...
(grub_fill_multiboot_mmap_iter): ... this.
* grub-core/loader/multiboot.c (grub_get_multiboot_mmap_count:
hook): Likewise.  Rename to ...
(count_hook): ... this.
* grub-core/loader/multiboot_mbi2.c (grub_fill_multiboot_mmap:
hook): Likewise.  Rename to ...
(grub_fill_multiboot_mmap_iter): ... this.
* grub-core/loader/powerpc/ieee1275/linux.c
(grub_linux_claimmap_iterate: alloc_mem): Likewise.
* grub-core/loader/sparc64/ieee1275/linux.c (alloc_phys: choose):
Likewise.  Rename to ...
(alloc_phys_choose): ... this.
(determine_phys_base: get_physbase): Likewise.
* grub-core/mmap/i386/mmap.c (grub_mmap_malign_and_register:
find_hook): Likewise.
* grub-core/mmap/i386/pc/mmap.c (preboot: fill_hook): Likewise.
(malloc_hook: count_hook): Likewise.
* grub-core/mmap/i386/uppermem.c (grub_mmap_get_lower: hook):
Likewise.  Rename to ...
(lower_hook): ... this.
(grub_mmap_get_upper: hook): Likewise.  Rename to ...
(upper_hook): ... this.
(grub_mmap_get_post64: hook): Likewise.  Rename to ...
(post64_hook): ... this.
* grub-core/mmap/mips/uppermem.c (grub_mmap_get_lower: hook):
Likewise.  Rename to ...
(lower_hook): ... this.
(grub_mmap_get_upper: hook): Likewise.  Rename to ...
(upper_hook): ... this.
* grub-core/mmap/mmap.c (grub_mmap_iterate: count_hook): Likewise.
(grub_mmap_iterate: fill_hook): Likewise.
(fill_mask): Pass addr and mask within a single struct.
(grub_cmd_badram: hook): Make static instead of nested.  Rename
to ...
(badram_iter): ... this.
(grub_cmd_cutmem: hook): Likewise.  Rename to ...
(cutmem_iter): ... this. 
							
						 
						
							2013-01-15 12:02:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								4a9950ecb0 
								
							 
						 
						
							
							
								
								Fix compilation with older compilers.  
							
							... 
							
							
							
							* grub-core/Makefile.core.def (mpi): Add mpi-inline.c.
	* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Remove redundant
	declarations.
	* grub-core/lib/posix_wrap/string.h: Include sys/types.h.
	* grub-core/lib/posix_wrap/sys/types.h: Add common types.
	* grub-core/lib/xzembed/xz_dec_lzma2.c (dict_put): Replace byte
	identifier with b.
	* grub-core/lib/xzembed/xz_dec_stream.c (dec_vli): Likewise.
	* include/grub/crypto.h: Add type defines.
	* util/import_gcrypth.sed: Remove duplicate type defines. 
							
						 
						
							2013-01-13 21:06:25 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								055b36b6a6 
								
							 
						 
						
							
							
								
								* grub-core/lib/libgcrypt_wrap/mem.c (gcry_x*alloc): Make out of memory  
							
							... 
							
							
							
							fatal. 
							
						 
						
							2013-01-12 16:27:37 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								f7ff879bd2 
								
							 
						 
						
							
							
								
								* grub-core/lib/libgcrypt_wrap/mem.c (_gcry_log_bug): Make gcrypt bugs  
							
							... 
							
							
							
							fatal. 
							
						 
						
							2013-01-12 16:21:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								5e3b8dcbb5 
								
							 
						 
						
							
							
								
								Import gcrypt public-key cryptography and implement signature checking.  
							
							
							
						 
						
							2013-01-11 21:32:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Colin Watson 
								
							 
						 
						
							
							
							
							
								
							
							
								5c67ea6cd9 
								
							 
						 
						
							
							
								
								Remove several trivially-unnecessary uses of nested functions.  
							
							... 
							
							
							
							* grub-core/commands/i386/pc/sendkey.c
(grub_cmd_sendkey: find_key_code, find_ascii_code): Make static
instead of nested.
* grub-core/commands/legacycfg.c (legacy_file: getline): Likewise.
Rename to ...
(legacy_file_getline): ... this.
* grub-core/commands/loadenv.c (grub_cmd_load_env: set_var):
Likewise.
* grub-core/kern/corecmd.c (grub_core_cmd_set: print_env): Likewise.
* grub-core/kern/fs.c (grub_fs_probe: dummy_func): Likewise.  Rename
to ...
(probe_dummy_iter): ... this.
* grub-core/kern/i386/coreboot/mmap.c
(grub_linuxbios_table_iterate: check_signature): Likewise.
* grub-core/kern/parser.c (grub_parser_split_cmdline:
check_varstate): Likewise.  Mark inline.
* grub-core/lib/arg.c (find_short: fnd_short): Likewise.  Pass
an additional parameter.
(find_long: fnd_long): Likewise.  Pass two additional parameters.
* grub-core/lib/crc.c (init_crc32c_table: reflect): Likewise.
* grub-core/lib/crc64.c (init_crc64_table: reflect): Likewise.
* grub-core/lib/ieee1275/cmos.c (grub_cmos_find_port: hook):
Likewise.  Rename to ...
(grub_cmos_find_port_iter): ... this.
* grub-core/lib/ieee1275/datetime.c (find_rtc: hook): Likewise.
Rename to ...
(find_rtc_iter): ... this.
* grub-core/normal/menu_entry.c (run): Fold nested editor_getsource
function directly into the function body, since it is only called
once. 
							
						 
						
							2012-12-31 17:31:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								64498f2538 
								
							 
						 
						
							
							
								
								* grub-core/disk/ieee1275/ofdisk.c (scan): Check function return value.  
							
							... 
							
							
							
							* grub-core/lib/ieee1275/datetime.c (grub_get_datetime): Likewise.
	(grub_set_datetime): Likewise. 
							
						 
						
							2012-09-05 08:56:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								e73bb80170 
								
							 
						 
						
							
							
								
								* grub-core/lib/xzembed/xz_dec_stream.c (hash_validate): Fix behaviour  
							
							... 
							
							
							
							if hash function is unavailable.
	(dec_stream_header): Likewise. 
							
						 
						
							2012-07-22 16:27:03 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								6af96df768 
								
							 
						 
						
							
							
								
								* grub-core/lib/legacy_parse.c: Support clear and testload.  
							
							
							
						 
						
							2012-07-02 11:31:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								c35fc5bd15 
								
							 
						 
						
							
							
								
								Add monochrome text support (mda_text, aka `hercules' in grub-legacy).  
							
							... 
							
							
							
							* grub-core/Makefile.core.def (mda_text): New module.
	* grub-core/lib/legacy_parse.c (grub_legacy_parse): Support `hercules'.
	* grub-core/term/i386/vga_common.c (grub_console_cur_color): Moved to ..
	* grub-core/term/i386/pc/vga_text.c (cur_color): ... here
	* grub-core/term/i386/pc/console.c (grub_console_cur_color): ... and
	here.
	* grub-core/term/i386/vga_common.c (grub_console_getwh): Moved to ..
	* grub-core/term/i386/pc/vga_text.c (grub_console_getwh): ... here
	* grub-core/term/i386/pc/console.c (grub_console_getwh): ... and
	here.
	* grub-core/term/i386/vga_common.c (grub_console_setcolorstate): Moved
	to ..
	* grub-core/term/i386/pc/vga_text.c (grub_console_setcolorstate):
	... here
	* grub-core/term/i386/pc/console.c (grub_console_setcolorstate): ... and
	here.
	* grub-core/term/i386/vga_common.c: Removed.
	* include/grub/i386/vga_common.h: Likewise.
	* include/grub/vga.h (grub_vga_cr_bw_write): New function.
	(grub_vga_cr_bw_read): Likewise.
	* include/grub/vgaregs.h (GRUB_VGA_IO_CR_BW_INDEX): New enum value.
	(GRUB_VGA_IO_CR_BW_DATA): Likewise.
	* grub-core/term/i386/pc/vga_text.c [MODE_MDA]: Call
	grub_vga_cr_bw_read/grub_vga_cr_bw_write instead of
	grub_vga_cr_read/grub_vga_cr_write.
	(grub_vga_text_setcolorstate) [MODE_MDA]: Ignore color. 
							
						 
						
							2012-06-28 15:27:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								489509f40e 
								
							 
						 
						
							
							
								
								Apple fixes.  
							
							... 
							
							
							
							* grub-core/lib/i386/relocator16.S: Use correct __APPLE__ and not
	__APPLE_
	* grub-core/lib/i386/relocator_common.S [__APPLE__]: Fix gdtdesc
	definition.
	* grub-core/lib/i386/relocator64.S [__APPLE__]: Assemble jmp manually. 
							
						 
						
							2012-06-26 14:56:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								0321415e86 
								
							 
						 
						
							
							
								
								* grub-core/lib/mips/loongson/reboot.c (grub_reboot): Use 32-bit  
							
							... 
							
							
							
							sized ports since unlike on real hardware qemu supports only 32-bit
	regs. 
							
						 
						
							2012-06-15 19:36:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								004be2cd95 
								
							 
						 
						
							
							
								
								* grub-core/kern/mips/qemu_mips/init.c (grub_exit): Implement.  
							
							... 
							
							
							
							(grub_halt): Likewise.
	* grub-core/lib/mips/qemu_mips/reboot.c (grub_reboot): Likewise. 
							
						 
						
							2012-06-06 12:28:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								176d5f7d82 
								
							 
						 
						
							
							
								
								* grub-core/lib/posix_wrap/sys/types.h [__APPLE__]: Include stddef  
							
							... 
							
							
							
							rather than defining size_t ourselves to avoid conflict. 
							
						 
						
							2012-05-28 17:55:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								f7143efe1b 
								
							 
						 
						
							
							
								
								* grub-core/boot/i386/pc/startup_raw.S [__APPLE__]: Add Apple assembly  
							
							... 
							
							
							
							version.
	* grub-core/commands/i386/pc/drivemap_int13h.S [__APPLE__]: Likewise.
	* grub-core/kern/i386/pc/startup.S [__APPLE__]: Likewise.
	* grub-core/lib/i386/relocator16.S [__APPLE__]: Likewise.
	* grub-core/lib/i386/relocator_common.S [__APPLE__]: Likewise.
	* grub-core/mmap/i386/pc/mmap_helper.S [__APPLE__]: Likewise. 
							
						 
						
							2012-05-28 17:51:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								ee5207750f 
								
							 
						 
						
							
							
								
								* grub-core/lib/relocator.c (grub_relocator_alloc_chunk_align): Remove  
							
							... 
							
							
							
							redundant buggy overlap check. 
							
						 
						
							2012-04-13 16:55:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								756773df7c 
								
							 
						 
						
							
							
								
								* grub-core/lib/adler32.c: Recode due to license unclearness.  
							
							
							
						 
						
							2012-04-07 19:58:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								123f9c50eb 
								
							 
						 
						
							
							
								
								Fix FTBFS on mips and ppc  
							
							
							
						 
						
							2012-03-03 20:53:54 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								9be4c45dbe 
								
							 
						 
						
							
							
								
								boot services avoid code based on the patch by Matthew Garrett  
							
							
							
						 
						
							2012-03-03 20:06:41 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								bea359d657 
								
							 
						 
						
							
							
								
								* grub-core/lib/i386/relocator16.S: Declare LOCAL(relocator16_end)  
							
							... 
							
							
							
							for local arithmetics.
	Break %sp init into 2 instructions.
	Add 0 byte at the end. 
							
						 
						
							2012-02-29 15:00:54 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								e837738991 
								
							 
						 
						
							
							
								
								* grub-core/lib/xzembed/xz_dec_stream.c (hash_validate): Use void *  
							
							... 
							
							
							
							for context. 
							
						 
						
							2012-02-29 14:56:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								c4b7e58882 
								
							 
						 
						
							
							
								
								* include/grub/dl.h: Switch from APPLE_CC to __APPLE__.  
							
							... 
							
							
							
							(GRUB_MOD_LICENSE) [ASM_FILE]: Make into macro. All users updated. 
							
						 
						
							2012-02-29 14:51:09 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								5982495738 
								
							 
						 
						
							
							
								
								* include/grub/symbol.h (EXT_C) [!ASM_FILE]: Redefine with strings.  
							
							... 
							
							
							
							* grub-core/lib/i386/backtrace.c (grub_backtrace): Use EXT_C. 
							
						 
						
							2012-02-29 14:48:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								2702b4e4f7 
								
							 
						 
						
							
							
								
								Fix make dist.  
							
							... 
							
							
							
							* Makefile.am (starfield_theme_files): New var.
	(starfield_DATA): Use starfield_theme_files.
	(EXTRA_DIST): Add starfield_theme_files. Add starfield source files.
	Add bootcheck-related files.
	* conf/Makefile.extra-dist (EXTRA_DIST): Add several missing files.
	* docs/Makefile.am (EXTRA_DIST): Add font_char_metrics.png
	and font_char_metrics.txt.
	* grub-core/Makefile.core.def (kernel): Update extra_dist.
	(setjmp): Add lib/ia64/longjmp.S.
	* po/Makefile.in.in (DISTFILES): Add POTFILES-shell.in and grub.d.sed.
	* po/POTFILES.in: Regenerate.
	* po/Rules-swiss: use DISTFILES.common.extra2 and not
	DISTFILES.common.extra1.
	* util/devicemap.c: Removed.
	* grub-core/lib/i386/relocator_backward.S: Likewise.
	* util/import_gcry.py: Remove unused files. Add extra_dist for
	ChangeLog. 
							
						 
						
							2012-02-28 12:58:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								5a6e39c28f 
								
							 
						 
						
							
							
								
								* grub-core/lib/relocator.c (malloc_in_range): Fix memory leak.  
							
							... 
							
							
							
							Change order of allocations to decrease fragmentation. 
							
						 
						
							2012-02-28 01:32:38 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								94f064b4c9 
								
							 
						 
						
							
							
								
								Fix interrupt mixup from previous commit.  
							
							... 
							
							
							
							* include/grub/i386/pc/int.h (grub_i386_idt): New struct.
	(grub_realidt): New var.
	* grub-core/lib/i386/relocator16.S (grub_relocator16_idt): New variable
	Load idt.
	* grub-core/lib/i386/relocator.c (grub_relocator16_idt):
	New declaration.
	(grub_relocator16_boot): Set grub_relocator16_idt.
	* grub-core/kern/i386/realmode.S (realidt): Renamed to ...
	(LOCAL(realidt)): ... this.
	* grub-core/boot/i386/pc/startup_raw.S: Pass pointer to realidt in eax.
	* grub-core/kern/i386/pc/startup.S: Save pointer to realidt.
	(grub_realidt): New variable. 
							
						 
						
							2012-02-26 22:10:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								27317084c6 
								
							 
						 
						
							
							
								
								* grub-core/lib/i386/backtrace.c (grub_cmd_backtrace): Move from ...  
							
							... 
							
							
							
							* grub-core/lib/backtrace.c (grub_cmd_backtrace): ... to here.
	* grub-core/lib/i386/backtrace.c (GRUB_MOD_INIT): Move from ...
	* grub-core/lib/backtrace.c (GRUB_MOD_INIT): ... to here.
	Gettextize.
	* grub-core/lib/i386/backtrace.c (GRUB_MOD_FINI): Move from ...
	* grub-core/lib/backtrace.c (GRUB_MOD_FINI): ... to here.
	* po/POTFILES.in: Regenerate. 
							
						 
						
							2012-02-26 21:04:45 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								4cebfa1a87 
								
							 
						 
						
							
							
								
								GDB serial and backtrace support.  
							
							... 
							
							
							
							* grub-core/kern/i386/realmode.S (real_to_prot): Reload IDT.
	(prot_to_real): Likewise.
	* grub-core/kern/i386/int.S (grub_bios_interrupt): Remove IDT reload.
	* grub-core/Makefile.core.def (backtrace): New module.
	(gdb): Likewise.
	* grub-core/gdb/cstub.c: New file.
	* grub-core/gdb/gdb.c: Likewise.
	* grub-core/gdb/i386/idt.c: Likewise.
	* grub-core/gdb/i386/machdep.S: Likewise.
	* grub-core/gdb/i386/signal.c: Likewise.
	* grub-core/lib/i386/backtrace.c: Likewise.
	* grub-core/lib/backtrace.c: Likewise.
	* include/grub/backtrace.h: Likewise.
	* include/grub/gdb.h: Likewise.
	* include/grub/i386/gdb.h: Likewise. 
							
						 
						
							2012-02-26 20:31:03 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lubomir Kundrak 
								
							 
						 
						
							
							
							
							
								
							
							
								ff27c3dd5d 
								
							 
						 
						
							
							
								
								GDB serial and backtrace support.  
							
							... 
							
							
							
							* grub-core/kern/i386/realmode.S (real_to_prot): Reload IDT.
	(prot_to_real): Likewise.
	* grub-core/kern/i386/int.S (grub_bios_interrupt): Remove IDT reload.
	* grub-core/Makefile.core.def (backtrace): New module.
	(gdb): Likewise.
	* grub-core/gdb/cstub.c: New file.
	* grub-core/gdb/gdb.c: Likewise.
	* grub-core/gdb/i386/idt.c: Likewise.
	* grub-core/gdb/i386/machdep.S: Likewise.
	* grub-core/gdb/i386/signal.c: Likewise.
	* grub-core/lib/i386/backtrace.c: Likewise.
	* include/grub/backtrace.h: Likewise.
	* include/grub/gdb.h: Likewise.
	* include/grub/i386/gdb.h: Likewise.
	Also-By: Vladimir Serbinenko <phcoder@gmail.com> 
							
						 
						
							2012-02-26 19:17:37 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								1948a3b714 
								
							 
						 
						
							
							
								
								Several cleanups  
							
							
							
						 
						
							2012-02-26 19:10:52 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								22c7ce85fe 
								
							 
						 
						
							
							
								
								Add new all_video module.  
							
							... 
							
							
							
							* grub-core/Makefile.am (moddep.lst): Make dependent on video.lst.
	* grub-core/Makefile.core.def (all_video): New module.
	* grub-core/genmoddep.awk: Generate dependency of all_video from
	video.lst.
	* grub-core/lib/fake_module.c: New file.
	* grub-core/normal/main.c (features): Add feature_all_video_module.
	* util/grub.d/00_header.in: Define locale_dir based on $prefix and
	don't do explicit search again.
	insmod all_video in load_video if available. 
							
						 
						
							2012-02-26 18:09:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								4e27343fb0 
								
							 
						 
						
							
							
								
								* conf/Makefile.common (CFLAGS_GNULIB): Add  
							
							... 
							
							
							
							-Wno-unsafe-loop-optimizations.
	* configure.ac: Remove -Wmissing-declarations and -Wmissing-prototypes
	on tools.
	* grub-core/commands/legacycfg.c: Add pragma to skip
	-Wunsafe-loop-optimizations.
	(check_password_md5_real): Fix loop counter type.
	* grub-core/commands/testload.c (grub_cmd_testload): Fix over the EOF
	reading.
	* grub-core/disk/ldm.c (grub_util_get_ldm): Fix logic error.
	* grub-core/fs/zfs/zfs_sha256.c (zio_checksum_SHA256): Add safety
	loop condition.
	* grub-core/io/gzio.c: Add pragma to skip -Wunsafe-loop-optimizations.
	* grub-core/lib/LzmaEnc.c (GetOptimum): Avoid possible infinite loop.
	* grub-core/net/net.c (grub_net_route_address): Add safety loop
	condition.
	* grub-core/normal/charset.c (bidi_line_wrap): Likewise.
	* grub-core/normal/cmdline.c (grub_set_history): Fix loop types and
	avoid possible infinite loops.
	* grub-core/script/parser.y: Add pragma to skip -Wmissing-declarations
	and -Wunsafe-loop-optimizations.
	* grub-core/script/yylex.l: Likewise.
	* util/grub-mkfont.c: Add pragma to skip -Wunsafe-loop-optimizations.
	(print_glyphs): Avoid infinite loops.
	* util/grub-mkimage.c (compress_kernel_xz): Fix format security. 
							
						 
						
							2012-02-24 12:30:32 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								84f9d341b0 
								
							 
						 
						
							
							
								
								* grub-core/fs/affs.c (grub_affs_read_block): Avoid <= in loop  
							
							... 
							
							
							
							condition to avoid possibly infinite loops.
	* grub-core/lib/pbkdf2.c (grub_crypto_pbkdf2): Likewise.
	* grub-core/lib/xzembed/xz_dec_bcj.c (bcj_powerpc): Likewise. 
							
						 
						
							2012-02-22 05:22:39 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								515e8007fc 
								
							 
						 
						
							
							
								
								merge mainline into gdb  
							
							
							
						 
						
							2012-02-18 21:00:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								fc400bfd74 
								
							 
						 
						
							
							
								
								merge backtrace into gdb  
							
							
							
						 
						
							2012-02-18 20:59:42 +01:00