]> git.proxmox.com Git - grub2.git/commit - ChangeLog
2005-02-15 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Tue, 15 Feb 2005 00:07:01 +0000 (00:07 +0000)
committerokuji <okuji@localhost>
Tue, 15 Feb 2005 00:07:01 +0000 (00:07 +0000)
commite6b92c8afbc48b2aceef3f7edd39a0b0ddf9e4ff
treeab24920937d5dcf5c733c35f34a4f0bc6094b4c9
parentc642636f8a37e96937e8f5db3d5a509782a5e133
2005-02-15  Yoshinori K. Okuji  <okuji@enbug.org>

  * include/grub/normal.h (grub_halt_init): New prototype.
  (grub_halt_fini): Likewise.
  (grub_reboot_init): Likewise.
  (grub_reboot_fini): Likewise.

  * util/grub-emu.c: Include signal.h.
  (main_env): New global variable.
  (grub_machine_init): Ignore SIGINT. Otherwise grub-emu cannot
  catch C-c.
  (grub_machine_fini): New function.
  (main): Call grub_halt_init and grub_reboot_init before
  grub_main, and grub_reboot_fini and grub_halt_fini after it.
  Call setjmp with MAIN_ENV to go back afterwards.
  Call grub_machine_fini right before return.

  * include/grub/util/misc.h: Include setjmp.h.
  (main_env): New prototype.

  * include/grub/kernel.h (grub_machine_fini): New prototype.
  * include/grub/i386/pc/biosdisk.h (grub_biosdisk_fini): Likewise.
  * include/grub/i386/pc/console.h (grub_console_fini): Likewise.

  * disk/i386/pc/biosdisk.c (grub_biosdisk_fini): New function.
  * kern/i386/pc/init.c (grub_machine_fini): Likewise.
  * term/i386/pc/console.c (grub_console_fini): Likewise.

  * util/i386/pc/misc.c: New file.

  * conf/i386-pc.rmk (grub_emu_SOURCES): Added
  util/i386/pc/misc.c, commands/i386/pc/halt.c and
  commands/i386/pc/reboot.c.
15 files changed:
ChangeLog
conf/i386-pc.mk
conf/i386-pc.rmk
configure
disk/i386/pc/biosdisk.c
include/grub/i386/pc/biosdisk.h
include/grub/i386/pc/console.h
include/grub/kernel.h
include/grub/normal.h
include/grub/util/misc.h
kern/i386/pc/init.c
term/i386/pc/console.c
util/console.c
util/grub-emu.c
util/i386/pc/misc.c [new file with mode: 0644]