~ubuntu-branches/ubuntu/lucid/grub2/lucid

« back to all changes in this revision

Viewing changes to include/grub/mips/qemu-mips/time.h

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-02-03 16:53:33 UTC
  • mfrom: (17.3.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100203165333-jji53olzx5rksyn1
Tags: 1.98~20100128-1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Adjust for default Ubuntu boot options ("quiet splash").
  - Default to hiding the menu; holding down Shift at boot will show it.
  - Set a monochromatic theme for Ubuntu.
  - Apply Ubuntu GRUB Legacy changes to legacy update-grub script: title,
    recovery mode, quiet option, tweak how memtest86+ is displayed, and
    use UUIDs where appropriate.
  - Conflict with grub (<< 0.97-54) as well as grub-legacy.
  - Fix backslash-escaping in merge_debconf_into_conf.
  - Remove "GNU/Linux" from default distributor string.
  - Add crashkernel= options if kdump and makedumpfile are available.
  - If other operating systems are installed, then automatically unhide
    the menu. Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus
    if available to check whether Shift is pressed. If it is, show the
    menu, otherwise boot immediately. If keystatus is not available, then
    fall back to a short delay interruptible with Escape.
  - Allow Shift to interrupt 'sleep --interruptible'.
  - Don't display introductory message about line editing unless we're
    actually offering a shell prompt. Don't clear the screen just before
    booting if we never drew the menu in the first place.
  - Remove some verbose messages printed before reading the configuration
    file.
  - Suppress progress messages as the kernel and initrd load for
    non-recovery kernel menu entries.
  - Keep the loopback file open so that subsequent changes to the "root"
    environment variable don't affect it.
  - Change prepare_grub_to_access_device to handle filesystems
    loop-mounted on file images.
  - Ignore devices loop-mounted from files in 10_linux.
  - Show the boot menu if the previous boot failed, that is if it failed
    to get to the end of one of the normal runlevels.
  - Handle RAID devices containing virtio components.
  - Improve DM-RAID probing support.
* Don't generate /boot/grub/device.map during grub-install by default.
* Store grub-pc/install_devices as persistent device names under
  /dev/disk/by-id/.  Migrate previous device names to that, with explicit
  confirmation in non-trivial cases to make sure we got the right ones.  If
  the devices we were told to install to ever go away, ask again.
* If the user opts to install GRUB nowhere, make sure they really mean it.
* Backport disk read fixes from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  GRUB  --  GRand Unified Bootloader
 
3
 *  Copyright (C) 2003,2004,2005,2007  Free Software Foundation, Inc.
 
4
 *
 
5
 *  GRUB is free software: you can redistribute it and/or modify
 
6
 *  it under the terms of the GNU General Public License as published by
 
7
 *  the Free Software Foundation, either version 3 of the License, or
 
8
 *  (at your option) any later version.
 
9
 *
 
10
 *  GRUB is distributed in the hope that it will be useful,
 
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 *  GNU General Public License for more details.
 
14
 *
 
15
 *  You should have received a copy of the GNU General Public License
 
16
 *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
#ifndef KERNEL_MACHINE_TIME_HEADER
 
20
#define KERNEL_MACHINE_TIME_HEADER      1
 
21
 
 
22
#include <grub/symbol.h>
 
23
 
 
24
#define GRUB_TICKS_PER_SECOND   1000
 
25
 
 
26
/* Return the real time in ticks.  */
 
27
grub_uint32_t EXPORT_FUNC (grub_get_rtc) (void);
 
28
 
 
29
static inline void
 
30
grub_cpu_idle(void)
 
31
{
 
32
}
 
33
 
 
34
#endif /* ! KERNEL_MACHINE_TIME_HEADER */