1. 10 Nov, 2013 2 commits
  2. 19 Oct, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Move grub_reboot out of the kernel. · 544c2487
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/Makefile.core.def (reboot): Add platform-specific files.
      	* grub-core/kern/efi/efi.c (grub_reboot): Moved to ...
      	* grub-core/lib/efi/reboot.c: ... here.
      	* grub-core/kern/i386/efi/startup.S: Remove including of realmode.S.
      	* grub-core/kern/i386/ieee1275/startup.S: Likewise.
      	* grub-core/kern/i386/pc/startup.S (grub_exit): Inline cold_reboot.
      	* grub-core/kern/i386/realmode.S (grub_reboot): Moved to...
      	* grub-core/lib/i386/reboot_trampoline.S: ... here.
      	* grub-core/kern/ieee1275/openfw.c (grub_reboot): Moved to...
      	* grub-core/lib/ieee1275/reboot.c: ... here.
      	* grub-core/kern/mips/arc/init.c (grub_reboot): Moved to...
      	* grub-core/lib/mips/arc/reboot.c: ... here.
      	* grub-core/kern/mips/loongson/init.c (grub_reboot): Moved to...
      	* grub-core/lib/mips/loongson/reboot.c: ...here.
      	* grub-core/kern/mips/qemu_mips/init.c (grub_reboot): Moved to...
      	* grub-core/lib/mips/qemu_mips/reboot.c: ... here.
      	* include/grub/emu/misc.h (grub_reboot): New function declaration.
      	* include/grub/i386/reboot.h: New file.
      	* include/grub/mips/loongson/ec.h: Fix includes.
      	* include/grub/mips/qemu_mips/kernel.h (grub_reboot): Removed.
      	* include/grub/misc.h (grub_reboot): Don't mark as kernel function.
      	* grub-core/lib/i386/reboot.c: New file.
      544c2487
  3. 02 Jan, 2011 1 commit
  4. 13 Sep, 2010 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Enable acpi shutdown on all ACPI platforms. · 2419f17a
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/Makefile.core.def (halt): Inlude commands/acpihalt.c
      	on coreboo, multiboot and EFI.
      	* grub-core/commands/acpihalt.c (get_sleep_type): Add missing casts.
      	(grub_acpi_halt): Likewise.
      	* grub-core/commands/i386/pc/halt.c (grub_halt): Call grub_acpi_halt.
      	(grub_cmd_halt): Don't call grub_acpi_halt directly.
      	* grub-core/lib/efi/halt.c (grub_halt): Call grub_acpi_halt.
      	* grub-core/lib/i386/halt.c (grub_halt)
      	[GRUB_MACHINE_COREBOOT || GRUB_MACHINE_MULTIBOOT]: Likewise.
      2419f17a