~ubuntu-branches/ubuntu/wily/grub2/wily-proposed

« back to all changes in this revision

Viewing changes to kern/efi/efi.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Zielcke, Robert Millan, Felix Zielcke
  • Date: 2010-01-26 19:26:25 UTC
  • mfrom: (1.13.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100126192625-coq6czap2ofjollf
Tags: 1.98~20100126-1
* New Bazaar snapshot.
  - Includes mipsel-yeeloong port.

[ Robert Millan ]
* config.in: Lower priority of grub2/linux_cmdline_default.

[ Felix Zielcke ]
* Drop `CFLAGS=-O0' workaround on powerpc. Should be fixed correctly now.
* Ship grub-bin2h and grub-script-check in grub-common.
* Terminate NEWS.Debian with a blank line like lintian would suggest
  if that check would be working correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* efi.c - generic EFI support */
2
2
/*
3
3
 *  GRUB  --  GRand Unified Bootloader
4
 
 *  Copyright (C) 2006,2007,2008,2009  Free Software Foundation, Inc.
 
4
 *  Copyright (C) 2006,2007,2008,2009,2010  Free Software Foundation, Inc.
5
5
 *
6
6
 *  GRUB is free software: you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
162
162
  for (;;) ;
163
163
}
164
164
 
 
165
/* On i386, a firmware-independant grub_reboot() is provided by realmode.S.  */
 
166
#ifndef __i386__
165
167
void
166
168
grub_reboot (void)
167
169
{
169
171
  efi_call_4 (grub_efi_system_table->runtime_services->reset_system,
170
172
              GRUB_EFI_RESET_COLD, GRUB_EFI_SUCCESS, 0, NULL);
171
173
}
 
174
#endif
172
175
 
173
176
void
174
177
grub_halt (void)