]> git.proxmox.com Git - grub2.git/commit - conf/i386-ieee1275.rmk
2008-02-12 Alexandre Boeglin <alex@boeglin.org>
authorboeglin <boeglin@localhost>
Tue, 12 Feb 2008 23:47:07 +0000 (23:47 +0000)
committerboeglin <boeglin@localhost>
Tue, 12 Feb 2008 23:47:07 +0000 (23:47 +0000)
commitf714229e342b5098fd01881f60158327e85440ad
tree81155e8674f24d22dabc367f35c85a29d357e2c1
parentc74493e01f1c55ba53bb00c0694fae12c4587983
2008-02-12  Alexandre Boeglin  <alex@boeglin.org>

  * conf/i386-efi.rmk (grub_emu_SOURCES): Replace commands/i386/pc/halt.c and
  reboot.c by commands/halt.c and reboot.c.
  (grub_install_SOURCES): Add halt.mod and reboot.mod.
  (halt_mod_SOURCES): New variable.
  (halt_mod_CFLAGS): Likewise.
  (halt_mod_LDFLAGS): Likewise.
  (reboot_mod_SOURCES): Likewise.
  (reboot_mod_CFLAGS): Likewise.
  (reboot_mod_LDFLAGS): Likewise.

  * conf/i386-ieee1275.rmk (grub_emu_SOURCES): Replace commands/ieee1275/halt.c
  and reboot.c by commands/halt.c and reboot.c.
  (halt_mod_SOURCES): Likewise.
  (reboot_mod_SOURCES): Likewise.

  * conf/i386-pc.rmk (grub_emu_SOURCES): Replace commands/i386/pc/reboot.c by
  commands/reboot.c.
  (reboot_mod_SOURCES): Likewise.

  * commands/i386/pc/reboot.c: merge this file ...

  * commands/ieee1275/reboot.c: ... and this file ...

  * commands/reboot.c: ... to this file.
  Add some precompiler directive to include the correct header for each
  machine.

  * commands/ieee1275/halt.c: move this file ...

  * commands/halt.c: ... to here.
  Add some precompiler directive to include the correct header for each
  machine.

  * include/grub/efi/efi.h (grub_reboot): New function declaration.
  (grub_halt): Likewise.

  * kern/efi/efi.c (grub_reboot): New function.
  (grub_halt): Likewise.
ChangeLog
commands/halt.c [new file with mode: 0644]
commands/i386/pc/reboot.c [deleted file]
commands/ieee1275/halt.c [deleted file]
commands/ieee1275/reboot.c [deleted file]
commands/reboot.c [new file with mode: 0644]
conf/i386-efi.rmk
conf/i386-ieee1275.rmk
conf/i386-pc.rmk
include/grub/efi/efi.h
kern/efi/efi.c