Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								db606889a9 
								
							 
						 
						
							
							
								
								* grub-core/kern/ieee1275/openfw.c (grub_claimmap): Change to  
							
							... 
							
							
							
							grub_error framework. All users updated. 
							
						 
						
							2012-02-04 14:00:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								c39992a436 
								
							 
						 
						
							
							
								
								* grub-core/gettext/gettext.c: Mostly rewritten to avoid using  
							
							... 
							
							
							
							lists (by always binsearching), improve caching (cache strings
	used for binsearch, not only results), improve
	maintainability (by using more structured binary search) and correct
	error handling. 
							
						 
						
							2012-02-04 13:35:17 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								1e5ec32f2d 
								
							 
						 
						
							
							
								
								* grub-core/script/execute.c (grub_script_return): Fix warning.  
							
							
							
						 
						
							2012-02-04 12:21:21 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								ac576cde1d 
								
							 
						 
						
							
							
								
								* grub-core/script/execute.c (grub_script_return): Fix potential  
							
							... 
							
							
							
							NULL-dereference.
	Reported by: Jim Meyering. 
							
						 
						
							2012-02-04 11:52:10 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								c84ba308b5 
								
							 
						 
						
							
							
								
								* grub-core/kern/mm.c: Add missing include of i18n.h  
							
							... 
							
							
							
							* grub-core/lib/relocator.c: Likewise. 
							
						 
						
							2012-02-03 14:20:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								347998c27f 
								
							 
						 
						
							
							
								
								* grub-core/loader/ia64/efi/linux.c (find_mmap_size): Replace fatal with  
							
							... 
							
							
							
							error.
	(allocate_pages): Check return value.
	Replace fatal with error.
	(grub_linux_boot): Replace printf with dprintf.
	Check find_mmap_size return value.
	Replace fatal with error.
	Don't call grub_machine_fini.
	(grub_load_elf64): Replace printf with dprintf.
	(grub_cmd_linux): Likewise.
	(grub_cmd_initrd): Likewise.
	(grub_cmd_payload): Likewise. 
							
						 
						
							2012-02-03 13:53:12 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								c779226e6c 
								
							 
						 
						
							
							
								
								* grub-core/loader/i386/xnu.c (grub_cmd_devprop_load): Fix error  
							
							... 
							
							
							
							message.
	* grub-core/video/radeon_fuloong2e.c
	(grub_video_radeon_fuloong2e_setup): Likewise.
	* grub-core/video/sis315pro.c (grub_video_sis315pro_setup): Likewise.
	* grub-core/video/video.c (grub_video_set_mode): Don't override
	standard out of memory message. 
							
						 
						
							2012-02-03 12:47:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Grégoire Sutre 
								
							 
						 
						
							
							
							
							
								
							
							
								dc87d45a7a 
								
							 
						 
						
							
							
								
								NetBSD disk wedge support.  
							
							
							
						 
						
							2012-02-03 12:32:21 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								4a9f8346c9 
								
							 
						 
						
							
							
								
								* grub-core/commands/ls.c: Gettextize.  
							
							... 
							
							
							
							* grub-core/commands/setpci.c: Likewise.
        * grub-core/commands/videotest.c: Likewise.
        * grub-core/disk/geli.c: Likewise.
        * grub-core/kern/mm.c: Likewise.
        * grub-core/lib/relocator.c: Likewise.
        * grub-core/loader/efi/appleloader.c: Likewise.
        * grub-core/loader/i386/xnu.c: Likewise.
        * grub-core/loader/ia64/efi/linux.c: Likewise.
        * grub-core/loader/xnu.c: Likewise.
        * grub-core/net/dns.c: Likewise.
        * grub-core/net/net.c: Likewise.
        * grub-core/script/lexer.c: Likewise.
        * grub-core/script/parser.y: Likewise.
        * grub-core/script/yylex.l: Likewise.
        * util/getroot.c: Likewise.
        * util/grub-setup.c: Likewise. 
							
						 
						
							2012-02-03 11:56:49 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								a646a366bb 
								
							 
						 
						
							
							
								
								* grub-core/fs/reiserfs.c (grub_reiserfs_get_item): Use proper error  
							
							... 
							
							
							
							number. 
							
						 
						
							2012-02-03 11:50:18 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								54e2be2630 
								
							 
						 
						
							
							
								
								* grub-core/disk/ldm.c (grub_util_ldm_embed): Correct error message.  
							
							
							
						 
						
							2012-02-03 11:48:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								f7c71e68b5 
								
							 
						 
						
							
							
								
								* grub-core/commands/search_file.c (SEARCH_TARGET): Remove obsolete  
							
							... 
							
							
							
							macro.
	* grub-core/commands/search_label.c (SEARCH_TARGET): Likewise.
	* grub-core/commands/search_uuid.c (SEARCH_TARGET): Likewise. 
							
						 
						
							2012-02-03 11:46:18 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								2f53a9ed1f 
								
							 
						 
						
							
							
								
								* grub-core/fs/zfs/zfscrypt.c: Add link to documentation.  
							
							
							
						 
						
							2012-02-01 18:30:51 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								17e1d934c7 
								
							 
						 
						
							
							
								
								* grub-core/commands/videotest.c (grub_cmd_videotest): Fix subset  
							
							... 
							
							
							
							symbol.
	Reported by: NODA, Kai <nodakai>. 
							
						 
						
							2012-02-01 17:47:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								d3e3fab52a 
								
							 
						 
						
							
							
								
								Fix ehci on amd64.  
							
							... 
							
							
							
							* grub-core/bus/usb/usbhub.c (grub_usb_hub_add_dev): Use %p to print
	pointers.
	* grub-core/bus/usb/ehci.c (grub_ehci_pci_iter): Likewise.
	(grub_ehci_setup_qh): Likewise.
	(grub_ehci_find_qh): Likewise.
	(grub_ehci_transaction): Likewise.
	(grub_ehci_setup_transfer): Likewise.
	(grub_ehci_check_transfer): Likewise.
	(grub_ehci_portstatus): Likewise.
	(grub_ehci_detect_dev): Likewise.
	(grub_ehci_transfer_controller_data): New field td_last_phys.
	(grub_ehci_setup_transfer): Fill td_last_phys.
	(grub_ehci_check_transfer): Use td_last_phys. 
							
						 
						
							2012-02-01 16:13:17 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Seth Goldberg 
								
							 
						 
						
							
							
							
							
								
							
							
								3008675bea 
								
							 
						 
						
							
							
								
								* grub-core/normal/context.c (grub_env_extractor_close): Don't crash  
							
							... 
							
							
							
							if no submenu is present. 
							
						 
						
							2012-02-01 15:35:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								d68538e928 
								
							 
						 
						
							
							
								
								merge mainline into cbi  
							
							
							
						 
						
							2012-02-01 14:30:40 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								08491b6a5a 
								
							 
						 
						
							
							
								
								Fix type errors. Don't stop after first EHCI controller is found.  
							
							
							
						 
						
							2012-02-01 14:08:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								cefa01261b 
								
							 
						 
						
							
							
								
								merge mainline into ehci  
							
							
							
						 
						
							2012-02-01 13:19:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								b1d51f028b 
								
							 
						 
						
							
							
								
								* grub-core/fs/fat.c (grub_fat_mount) [!MODE_EXFAT]: Remove fstype  
							
							... 
							
							
							
							check as some mkfs implementations omit it. 
							
						 
						
							2012-01-31 23:26:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								6c0920e31b 
								
							 
						 
						
							
							
								
								* grub-core/fs/jfs.c (grub_jfs_sblock): Make volname a char array.  
							
							... 
							
							
							
							Add new member volname2.
	(grub_jfs_label): Use volname2 if available. 
							
						 
						
							2012-01-31 22:49:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								d1a46f9abd 
								
							 
						 
						
							
							
								
								* grub-core/fs/nilfs2.c (grub_nilfs2_super_block): Expand volume_name  
							
							... 
							
							
							
							over last_mounted as seen in image generated by mkfs.nilfs2.
	(grub_nilfs2_label): Use sizeof for the size of s_volume_name. 
							
						 
						
							2012-01-31 22:43:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								dec8ed14b9 
								
							 
						 
						
							
							
								
								* grub-core/fs/fat.c (grub_fat_dir_entry) [MODE_EXFAT]: Expand label  
							
							... 
							
							
							
							to 15 UTF-16 characters as seen in FS generated by mkexfatfs.
	(grub_fat_label) [MODE_EXFAT]: Use macros for size. 
							
						 
						
							2012-01-31 22:38:08 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								7397c69bb8 
								
							 
						 
						
							
							
								
								* grub-core/fs/romfs.c (grub_romfs_mount): Fix a bug with labels going  
							
							... 
							
							
							
							over the sector. 
							
						 
						
							2012-01-31 22:25:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								b3fe42adb7 
								
							 
						 
						
							
							
								
								* grub-core/fs/zfs/zfs.c (get_filesystem_dnode): Support space in  
							
							... 
							
							
							
							subvolume name (by removing a bogus and useless check). 
							
						 
						
							2012-01-31 22:20:37 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								10476bb0db 
								
							 
						 
						
							
							
								
								* grub-core/fs/ext2.c (grub_ext2_label): Fix field size. Change to  
							
							... 
							
							
							
							sizeof while on it. 
							
						 
						
							2012-01-31 22:12:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								9c08ad8707 
								
							 
						 
						
							
							
								
								* grub-core/disk/scsi.c (grub_scsi_read_capacity): Renamed to ...  
							
							... 
							
							
							
							(grub_scsi_read_capacity10): ... this.
	(grub_scsi_read_capacity16): New function.
	(grub_scsi_open): Use read_capacity16 if read_capacity10 returned
	0xffffffff.
	Fix off-by-one error.
	* include/grub/scsi.h (grub_scsi): Rename size to last_block and make it
	64-bit unsigned.
	* include/grub/scsicmd.h (grub_scsi_read_capacity): Rename to ...
	(grub_scsi_read_capacity10): ... this.
	(grub_scsi_read_capacity_data): Rename to ...
	(grub_scsi_read_capacity10_data): ... this. Rename size to last_block.
	(grub_scsi_read_capacity16): New struct.
	(grub_scsi_read_capacity16_data): Likewise.
	(grub_scsi_cmd_t): Rename grub_scsi_cmd_read_capacity to
	grub_scsi_cmd_read_capacity10.
	New command grub_scsi_cmd_read_capacity16. 
							
						 
						
							2012-01-30 18:33:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								bc8d0f45a5 
								
							 
						 
						
							
							
								
								SCSI >2TiB support.  
							
							... 
							
							
							
							* grub-core/disk/scsi.c (grub_scsi_read16): New function.
	(grub_scsi_write16): Likewise.
	(grub_scsi_read): Use read16 when necessary.
	(grub_scsi_write): Likewise.
	* include/grub/scsicmd.h (grub_scsi_read16): New struct.
	(grub_scsi_write16): Likewise.
	(grub_scsi_cmd_t): Add READ16 and WRITE16. 
							
						 
						
							2012-01-30 12:47:26 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								cc774926f1 
								
							 
						 
						
							
							
								
								SCSI write support (for usbms mainly).  
							
							... 
							
							
							
							* grub-core/disk/scsi.c (grub_scsi_write10): Uncomment. Make buffer
	a const pointer.
	(grub_scsi_write): Implement.
	* include/grub/scsi.h (grub_scsi_dev): Make write buffer a const pointer 
							
						 
						
							2012-01-30 12:26:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								67639fd75e 
								
							 
						 
						
							
							
								
								* grub-core/io/lzopio.c (uncompress_block): Fix use of incorrect  
							
							... 
							
							
							
							variable. 
							
						 
						
							2012-01-30 01:18:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								9079d3ed4e 
								
							 
						 
						
							
							
								
								* grub-core/lib/posix_wrap/string.h (memchr): New function.  
							
							
							
						 
						
							2012-01-29 23:58:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								ecbf8cd1b7 
								
							 
						 
						
							
							
								
								* grub-core/lib/posix_wrap/assert.h (assert_real): Replace grub_fatal  
							
							... 
							
							
							
							with grub_printf to avoid unnecessary fatal failure. 
							
						 
						
							2012-01-29 23:48:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								0b3b3b38bd 
								
							 
						 
						
							
							
								
								* grub-core/lib/posix_wrap/limits.h (SHRT_MAX): New define.  
							
							... 
							
							
							
							(INT_MAX): Likewise.
	* grub-core/lib/posix_wrap/stdio.h (snprintf): New function.
	* grub-core/lib/posix_wrap/stdlib.h (abs): Likewise.
	* grub-core/lib/posix_wrap/string.h (memcmp): Likewise.
	(strcpy): Likewise.
	(strstr): Likewise.
	(strchr): Likewise.
	(strncpy): Likewise.
	(strcat): Likewise.
	(strncat): Likewise.
	(strcoll): Likewise.
	* include/grub/types.h (GRUB_SHRT_MAX): New define.
	(GRUB_INT_MAX): Likewise. 
							
						 
						
							2012-01-29 23:27:31 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								db7337a3d3 
								
							 
						 
						
							
							
								
								* grub-core/gnulib/regcomp.c (regerror): Don't use abort on  
							
							... 
							
							
							
							unexpected error.
	(optimize_utf8): Likewise.
	* grub-core/lib/posix_wrap/stdlib.h (abort): Removed. 
							
						 
						
							2012-01-29 23:22:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								f37c87e1ba 
								
							 
						 
						
							
							
								
								* grub-core/boot/i386/pc/lnxboot.S: Use  
							
							... 
							
							
							
							GRUB_DECOMPRESSOR_MAX_DECOMPRESSOR_SIZE.
	* grub-core/boot/i386/pc/startup_raw.S: Ensure about boot_dev
	location.
	* include/grub/offsets.h (GRUB_DECOMPRESSOR_I386_PC_BOOT_DEVICE): New
	definition.
	(GRUB_DECOMPRESSOR_I386_PC_MAX_DECOMPRESSOR_SIZE): Likewise. 
							
						 
						
							2012-01-29 23:20:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								63fe43f3c3 
								
							 
						 
						
							
							
								
								* util/getroot.c (grub_util_get_dm_node_linear_info): Fix memory leak.  
							
							... 
							
							
							
							* grub-core/disk/cryptodisk.c (cryptodisk_cleanup): Disable for
	now to avoid double free.
	* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_dev): Rename to
	hostdisk.
	* include/grub/disk.h (grub_disk_dev_id): New id HOSTDISK.
	* util/grub-probe.c (escape_of_path): Always return a new copy.
	(print_full_name): Escape path.
	(probe): Don't call grub_util_devname_to_ofpath on NULL.
	Fix hints on abstractions. 
							
						 
						
							2012-01-29 21:49:44 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								2b5336a24a 
								
							 
						 
						
							
							
								
								* include/grub/ata.h (grub_ata): Add a new element maxbuffer.  
							
							... 
							
							
							
							* grub-core/disk/ata.c (grub_ata_readwrite): Limit to ata->maxbuffer.
	* grub-core/disk/pata.c (grub_pata_open): Set ata->maxbuffer.
	* grub-core/disk/ahci.c (grub_ahci_open): Likewise. 
							
						 
						
							2012-01-29 19:00:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								f990cbf90e 
								
							 
						 
						
							
							
								
								* grub-core/normal/completion.c (iterate_dev): Close the disk.  
							
							
							
						 
						
							2012-01-29 18:20:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								9c6e84b838 
								
							 
						 
						
							
							
								
								Cryptodisk write support.  
							
							... 
							
							
							
							* grub-core/disk/cryptodisk.c (grub_crypto_pcbc_encrypt): New function.
	(grub_cryptodisk_decrypt): Moved logic to ...
	(grub_cryptodisk_endecrypt): ...this. New argument "encrypt".
	(grub_cryptodisk_write): Implement.
	* grub-core/kern/emu/hostdisk.c (nwrite): Rename to ...
	(grub_util_fd_write): ... this. Make global.
	* include/grub/emu/hostdisk.h (grub_util_fd_write): New proto. 
							
						 
						
							2012-01-29 18:16:48 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								ca8c0baf25 
								
							 
						 
						
							
							
								
								Rename ofconsole to console.  
							
							... 
							
							
							
							* grub-core/commands/terminal.c (handle_command): Handle ofconsole
	as sysnonym to console.
	* grub-core/term/ieee1275/ofconsole.c: Renamed to ..
	* grub-core/term/ieee1275/console.c: ... this. All users updated.
	Rename grub_ofconsole_ to grub_console_. All users updated
	(grub_console_term_output): Rename "ofconsole" to "console".
	* grub-core/term/terminfo.c (grub_cmd_terminfo): Handle "ofconsole"
	as "console". 
							
						 
						
							2012-01-29 17:01:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								64c8b8f64c 
								
							 
						 
						
							
							
								
								* grub-core/loader/i386/pc/plan9.c (grub_cmd_plan9): Remove PXE  
							
							... 
							
							
							
							handling.
	* include/grub/disk.h (grub_disk_dev_id): Remove obsolete
	GRUB_DISK_DEVICE_UUID_ID, GRUB_DISK_DEVICE_PXE_ID and
	GRUB_DISK_DEVICE_FILE_ID. 
							
						 
						
							2012-01-29 16:34:39 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								f6c434d581 
								
							 
						 
						
							
							
								
								* grub-core/kern/partition.c (grub_partition_get_name): Simplify logic  
							
							... 
							
							
							
							and improve performance. 
							
						 
						
							2012-01-29 16:24:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								5858b42d07 
								
							 
						 
						
							
							
								
								* grub-core/kern/ieee1275/openfw.c (grub_ieee1275_encode_devname): Fix  
							
							... 
							
							
							
							missing ieee1275/ prefix on whole disk. 
							
						 
						
							2012-01-29 16:22:23 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								df71143ea1 
								
							 
						 
						
							
							
								
								* grub-core/fs/cpio.c (handle_symlink): Fix a bug.  
							
							
							
						 
						
							2012-01-29 15:36:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								076e7c0fda 
								
							 
						 
						
							
							
								
								Merge common RAID and LVM logic to an abstract diskfilter.  
							
							... 
							
							
							
							Add LDM support using the same framework.
	* Makefile.util.def (libgrubkern): Add grub-core/disk/ldm.c,
	grub-core/disk/diskfilter.c and grub-core/partmap/gpt.c.
	(libgrubmods): Remove grub-core/disk/raid.c and
	grub-core/partmap/gpt.c.
	* grub-core/Makefile.core.def (ldm): New module.
	(raid): Renamed to diskfilter. All users updated.
	* grub-core/disk/raid.c: Moved to ...
	* grub-core/disk/diskfilter.c: ... here.
	* grub-core/disk/diskfilter.c: Rename grub_raid_ to grub_diskfilter_.
	(lv_num): New var.
	(find_array): Renamed to ...
	(find_lv): ... this. Support multi-LV. Skip nameless LVs
	(grub_is_array_readable): Renamed to ...
	(grub_is_lv_readable): ... this. Support multinode hierarchy.
	(insert_array): New argument id.
	(is_node_readable): New function.
	(scan_device): Rename to ...
	(scan_disk): .. this. Restrict to one disk.
	(scan_devices): New function.
	(grub_diskfilter_iterate): Support multi-LV.
	Skip invisible and nameless LVs.
	(grub_diskfilter_memberlist): Support multi-LV.
	(grub_diskfilter_read_node): New function.
	(grub_raid_read): Most of logic moved to ...
	(read_segment): ... here
	(read_lv): New function.
	(grub_diskfilter_get_vg_by_uuid): New function.
	(grub_diskfilter_make_raid): Likewise.
	* grub-core/disk/ldm.c: New file.
	* grub-core/disk/lvm.c (vg_list): Removed.
	(lv_count): Likewise.
	(scan_depth): Likewise.
	(is_lv_readable): Likewise.
	(grub_lvm_getvalue): Advance pointer past the number.
	(find_lv): Removed.
	(do_lvm_scan): Refactored into ...
	(grub_lvm_detect): ... this. Support raid.
	(grub_lvm_iterate): Removed.
	(grub_lvm_memberlist): Likewise.
	(grub_lvm_open): Likewise.
	(grub_lvm_close): Likewise.
	(read_lv): Likewise.
	(read_node): Likewise.
	(is_node_readable): Likewise.
	(is_lv_readable): Likewise.
	(grub_lvm_read): Likewise.
	(grub_lvm_write): Likewise.
	(grub_lvm_dev): Use diskfilter
	(GRUB_MOD_INIT): Likewise.
	(GRUB_MOD_FINI): Likewise.
	* grub-core/disk/dmraid_nvidia.c (grub_dmraid_nv_detect): Use
	new interface.
	* grub-core/disk/mdraid1x_linux.c (grub_mdraid_detect): Likewise.
	* grub-core/disk/mdraid_linux.c (grub_mdraid_detect): Likewise.
	* grub-core/disk/raid5_recover.c (grub_raid5_recover): Use
	grub_diskfilter_read_node.
	Fix a bug with xor.
	* grub-core/disk/raid6_recover.c (grub_raid6_recover): Use
	grub_diskfilter_read_node.
	Support GRUB_RAID_LAYOUT_MUL_FROM_POS.
	* grub-core/kern/disk.c (grub_disk_dev_list): Make global.
	(grub_disk_dev_iterate): Move from here...
	* include/grub/disk.h (grub_disk_dev_iterate): ... to here. Inlined.
	* grub-core/kern/emu/hostdisk.c (grub_hostdisk_find_partition_start):
	Make global.
	(grub_hostdisk_find_partition_start): Likewise.
	(grub_hostdisk_os_dev_to_grub_drive): New function.
	(grub_util_biosdisk_get_osdev): Check that disk is biosdisk.
	* grub-core/kern/emu/hostdisk.c (make_device_name): Move to ...
	* util/getroot.c (make_device_name): ... here.
	* grub-core/kern/emu/hostdisk.c (grub_util_get_dm_node_linear_info):
	Move to ...
	* util/getroot.c (grub_util_get_dm_node_linear_info): ...here.
	* grub-core/kern/emu/hostdisk.c
	(convert_system_partition_to_system_disk): Move to ...
	* util/getroot.c (convert_system_partition_to_system_disk): ...here.
	* grub-core/kern/emu/hostdisk.c (device_is_wholedisk): Move to ...
	* util/getroot.c (device_is_wholedisk): ... here.
	* grub-core/kern/emu/hostdisk.c (find_system_device): Move to ...
	* util/getroot.c (find_system_device): ... here.
	* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_present):
	Move to ...
	* util/getroot.c (grub_util_biosdisk_is_present): ...here.
	* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev):
	Move to ...
	* util/getroot.c (grub_util_biosdisk_get_grub_dev): ... here.
	Handle LDM.
	* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy):
	Move to ...
	* util/getroot.c (grub_util_biosdisk_is_floppy): ... here.
	* grub-core/partmap/gpt.c (grub_gpt_partition_map_iterate): Made global.
	* include/grub/disk.h (grub_disk_dev_id): Replaced RAID and LVM with
	DISKFILTER.
	* include/grub/raid.h: Renamed to ...
	* include/grub/diskfilter.h: ... this.
	* include/grub/diskfilter.h: Rename grub_raid_* to grub_diskfilter_*
	(GRUB_RAID_LAYOUT_*): Make into array.
	(GRUB_RAID_LAYOUT_MUL_FROM_POS): New value.
	(grub_diskfilter_vg): New struct.
	(grub_diskfilter_pv_id): Likewise.
	(grub_raid_member): Removed.
	(grub_raid_array): Likewise.
	(grub_diskfilter_pv): New struct.
	(grub_diskfilter_lv): Likewise.
	(grub_diskfilter_segment): Likewise.
	(grub_diskfilter_node): Likewise.
	(grub_diskfilter_get_vg_by_uuid): New proto.
	(grub_raid_register): Inline.
	(grub_diskfilter_unregister): Likewise.
	(grub_diskfilter_make_raid): New proto.
	(grub_diskfilter_vg_register): Likewise.
	(grub_diskfilter_read_node): Likewise.
	(grub_diskfilter_get_pv_from_disk) [GRUB_UTIL]: Likewise.
	* include/grub/emu/hostdisk.h (grub_util_get_ldm): New proto.
	(grub_util_is_ldm): Likewise.
	(grub_util_ldm_embed) [GRUB_UTIL]: Likewise.
	(grub_hostdisk_find_partition_start): Likewise.
	(grub_hostdisk_os_dev_to_grub_drive): Likewise.
	* include/grub/gpt_partition.h (GRUB_GPT_PARTITION_TYPE_LDM):
	New definition.
	(grub_gpt_partition_map_iterate): New proto.
	* include/grub/lvm.h (grub_lvm_vg): Removed.
	(grub_lvm_pv): Likewise.
	(grub_lvm_lv): Likewise.
	(grub_lvm_segment): Likewise.
	(grub_lvm_node): Likewise.
	* util/getroot.c [...]
	* util/grub-probe.c (probe_raid_level): Handle diskfilter.
	(probe_abstraction): Likewise.
	* util/grub-setup.c (setup): Remove must_embed. Support LDM.
	(main): Remove dead logic. 
							
						 
						
							2012-01-29 14:28:01 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								8a7f9b9c50 
								
							 
						 
						
							
							
								
								Simplify root device discover and don't fail when trying to open  
							
							... 
							
							
							
							incorrect devices.
	* grub-core/disk/efi/efidisk.c (get_diskname_from_path_real): New
	function.
	(get_diskname_from_path): Likewise.
	(grub_efidisk_get_device_name): Use get_diskname_from_path instead
	of iterating. 
							
						 
						
							2012-01-28 13:26:20 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								30545b8567 
								
							 
						 
						
							
							
								
								* grub-core/Makefile.core.def (setpci): Enable on all PCI platforms.  
							
							
							
						 
						
							2012-01-27 13:52:48 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								28ea58cf69 
								
							 
						 
						
							
							
								
								* grub-core/fs/zfs/zfs.c (nvlist_find_value): Check that we don't go  
							
							... 
							
							
							
							pastthe end. 
							
						 
						
							2012-01-27 13:50:21 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								f6e4ea709f 
								
							 
						 
						
							
							
								
								* grub-core/fs/squash4.c (xz_decompress): Fix return value.  
							
							... 
							
							
							
							(direct_read): Use correct compressed size.
	(grub_squash_read_data): Likewise. 
							
						 
						
							2012-01-27 13:09:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vladimir 'phcoder' Serbinenko 
								
							 
						 
						
							
							
							
							
								
							
							
								7626111087 
								
							 
						 
						
							
							
								
								IEEE1275 disk write support.  
							
							... 
							
							
							
							* grub-core/kern/ieee1275/ieee1275.c (grub_ieee1275_write): Make buffer
	const void *.
	* include/grub/ieee1275/ieee1275.h (grub_ieee1275_write): Likewise.
	* grub-core/disk/ieee1275/ofdisk.c (grub_ofdisk_read): Move open
	and seek loginc to ...
	(grub_ofdisk_prepare): ... here.
	(grub_ofdisk_write): Implement. 
							
						 
						
							2012-01-25 18:32:08 +01:00