~cyphermox/ubuntu/wily/grub2/lp1097570

« 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 17:23:09 UTC
  • Revision ID: package-import@ubuntu.com-20130826172309-uwkue8qczkq6eesz
Tags: 2.00-18
* Add gettext module to signed UEFI images (LP: #1104627).
* Put the preprocessor definition for quiet-boot in the right place so
  that it actually takes effect.

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);