~ubuntu-branches/ubuntu/saucy/grub2/saucy-proposed

« back to all changes in this revision

Viewing changes to grub-core/kern/main.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2013-08-26 21:59:39 UTC
  • Revision ID: package-import@ubuntu.com-20130826215939-yxuz2zxzpzz1dmkm
Tags: 2.00-18ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Default to hiding the menu; holding down Shift at boot will show it.
  - Add crashkernel option.
  - Bypass menu unless other OSes are installed or Shift is pressed.
  - Show the boot menu if the previous boot failed.
  - Check hardware support before using gfxpayload=keep.
  - Set vt.handoff=7 for smooth handoff to kernel graphical mode.
  - In recovery mode, add nomodeset to the Linux kernel arguments, and
    remove the 'set gfxpayload=keep' command.
  - Handle probing striped DM-RAID devices.

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
void __attribute__ ((noreturn))
208
208
grub_main (void)
209
209
{
210
 
#ifdef GRUB_QUIET_BOOT
 
210
#ifdef QUIET_BOOT
211
211
  struct grub_term_output *term;
212
212
#endif
213
213
 
214
214
  /* First of all, initialize the machine.  */
215
215
  grub_machine_init ();
216
216
 
217
 
#ifdef GRUB_QUIET_BOOT
 
217
#ifdef QUIET_BOOT
218
218
  /* Disable the cursor until we need it.  */
219
219
  FOR_ACTIVE_TERM_OUTPUTS(term)
220
220
    grub_term_setcursor (term, 0);
243
243
  grub_load_config ();
244
244
  grub_load_normal_mode ();
245
245
 
246
 
#ifdef GRUB_QUIET_BOOT
 
246
#ifdef QUIET_BOOT
247
247
  /* If we have to enter rescue mode, enable the cursor again.  */
248
248
  FOR_ACTIVE_TERM_OUTPUTS(term)
249
249
    grub_term_setcursor (term, 1);