1. 13 Jan, 2013 1 commit
    • Colin Watson's avatar
      Remove nested functions from PCI iterators. · ca3a7446
      Colin Watson authored
      * grub-core/bus/pci.c (grub_pci_iterate): Add hook_data argument,
      passed to hook.  Update all callers to pass appropriate hook data.
      * grub-core/bus/emu/pci.c (grub_pci_iterate): Likewise.
      * include/grub/pci.h (grub_pci_iteratefunc_t): Add data argument.
      Remove NESTED_FUNC_ATTR from here and from all users.
      (grub_pci_iterate): Update prototype.
      * grub-core/bus/cs5536.c (grub_cs5536_find: hook): Make static
      instead of nested.  Rename to ...
      (grub_cs5536_find_iter): ... this.
      * grub-core/kern/efi/mm.c (stop_broadcom: find_card): Likewise.
      * grub-core/kern/mips/loongson/init.c (init_pci: set_card):
      Likewise.
      * grub-core/kern/vga_init.c (grub_qemu_init_cirrus: find_card):
      Likewise.
      * grub-core/video/bochs.c (grub_video_bochs_setup: find_card):
      Likewise.
      * grub-core/video/cirrus.c (grub_video_cirrus_setup: find_card):
      Likewise.
      * grub-core/video/efi_uga.c (find_framebuf: find_card): Likewise.
      * grub-core/video/radeon_fuloong2e.c
      (grub_video_radeon_fuloong2e_setup: find_card): Likewise.
      * grub-core/video/sis315pro.c (grub_video_sis315pro_setup:
      find_card): Likewise.
      * grub-core/video/sm712.c (grub_video_sm712_setup: find_card):
      Likewise.
      ca3a7446
  2. 13 Dec, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Add noreturn attributes and remove unreachable code. · 02a2bf83
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/bus/cs5536.c (grub_cs5536_smbus_wait): Remove unreachable
      	code.
      	* grub-core/commands/halt.c (grub_cmd_halt): Remove unreachable
      	code. Mark as noreturn.
      	* grub-core/commands/minicmd.c (grub_mini_cmd_exit): Likewise.
      	* grub-core/commands/reboot.c (grub_cmd_reboot): Likewise.
      	* grub-core/disk/efi/efidisk.c (grub_efidisk_get_device_name): Remove
      	unreachable code.
      	* grub-core/kern/main.c (grub_main): Mark as noreturn.
      	* grub-core/kern/rescue_reader.c (grub_rescue_run): Likewise.
      	* grub-core/lib/posix_wrap/stdlib.h (abort): Likewise.
      	* grub-core/normal/menu.c (run_menu): Remove unreachable code.
      	* include/grub/kernel.h (grub_main): Mark as noreturn.
      	* include/grub/reader.h (grub_rescue_run): Likewise.
      02a2bf83
  3. 20 Aug, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Rename Fuloong into Fuloong 2F. Add new ID for Fuloong2E. · 14a2562c
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/Makefile.core.def (fwstart_fuloong): Rename fwstart_fuloong
      	into fwstart_fuloong2f. Use boot/mips/loongson/fuloong2f.S.
      	* grub-core/boot/mips/loongson/fuloong.S: Rename to ...
      	* grub-core/boot/mips/loongson/fuloong2f.S: ... this.
      	(FULOONG): Rename to ...
      	(FULOONG2F): ... this. All users updated.
      	* grub-core/boot/mips/startup_raw.S (machtype_fuloong_str): Rename to
      	(machtype_fuloong2f_str): ... this.
      	(machtype_fuloong2e_str): New string.
      	Check for machtype_fuloong2e_str.
      	* grub-core/loader/mips/linux.c (loongson_machtypes)
      	[GRUB_MACHINE_MIPS_LOONGSON]: Add GRUB_ARCH_MACHINE_FULOONG2E.
      	* grub-core/term/serial.c (loongson_defserial)
      	[GRUB_MACHINE_MIPS_LOONGSON]: New array.
      	(grub_serial_register) [GRUB_MACHINE_MIPS_LOONGSON]: Use
      	loongson_defserial.
      	* include/grub/mips/loongson/kernel.h (GRUB_ARCH_MACHINE_FULOONG):
      	Rename to ...
      	(GRUB_ARCH_MACHINE_FULOONG2F): ... this.
      	(GRUB_ARCH_MACHINE_FULOONG2E): New const.
      	* util/grub-mkimage.c (image_target_desc): Rename IMAGE_FULOONG_FLASH
      	to IMAGE_FULOONG2F_FLASH. All users updated.
      	(image_targets): Rename images.
      	* util/grub-mkstandalone.in: Accept fuloong2f and fuloong2e.
      14a2562c
  4. 15 May, 2011 2 commits
  5. 12 Apr, 2011 1 commit
  6. 24 Jan, 2011 2 commits