]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* docs/grub.texi (Commands): Document reduced command set in rescue
authorColin Watson <cjwatson@ubuntu.com>
Sun, 13 Jun 2010 12:17:23 +0000 (13:17 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Sun, 13 Jun 2010 12:17:23 +0000 (13:17 +0100)
mode.
(cpuid): New section.

ChangeLog
docs/grub.texi

index 766a5053f0fc123ab8952b6506af968b00879163..9ca80ac6f38559a460ab5093b535f88be1fdd463 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-06-13  Colin Watson  <cjwatson@ubuntu.com>
+
+       * docs/grub.texi (Commands): Document reduced command set in rescue
+       mode.
+       (cpuid): New section.
+
 2010-06-13  GrĂ©goire Sutre  <gregoire.sutre@gmail.com>
 
        * kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Use the
index 9fe197da2c9cde3a81e12e0fa4d08b4795452af6..714145807c040ae3f0f48e1023428b919521ab44 100644 (file)
@@ -1378,6 +1378,10 @@ the global section of the configuration file (or ``menu''); most
 of them can be entered on the command-line and can be used either
 anywhere in the menu or specifically in the menu entries.
 
+In rescue mode, only the @command{insmod} (@pxref{insmod}), @command{ls}
+(@pxref{ls}), @command{set} (@pxref{set}), and @command{unset}
+(@pxref{unset}) commands are normally available.
+
 @menu
 * Menu-specific commands::
 * General commands::
@@ -1538,6 +1542,7 @@ you forget a command, you can run the command @command{help}
 * chainloader::                 Chain-load another boot loader
 * cmp::                         Compare two files
 * configfile::                  Load a configuration file
+* cpuid::                       Check for CPU features
 * crc::                         Calculate CRC32 checksums
 * date::                        Display or set current date and time
 * drivemap::                    Map a drive to another
@@ -1659,6 +1664,20 @@ Load @var{file} as a configuration file.
 @end deffn
 
 
+@node cpuid
+@subsection cpuid
+
+@deffn Command cpuid [-l]
+Check for CPU features.  This command is only available on x86 systems.
+
+With the @option{-l} option, return true if the CPU supports long mode
+(64-bit).
+
+If invoked without options, this command currently behaves as if it had been
+invoked with @option{-l}.  This may change in the future.
+@end deffn
+
+
 @node crc
 @subsection crc