bc092b9
From 26c2f306fd425d2c0348023b8dcb7eb40a01851a Mon Sep 17 00:00:00 2001
bc092b9
From: Fu Wei <fu.wei@linaro.org>
bc092b9
Date: Sun, 14 May 2017 15:43:47 +0800
63f1a98
Subject: [PATCH 041/250] arm64: Update the introduction of Xen boot commands
bc092b9
 in docs/grub.texi
bc092b9
bc092b9
delete: xen_linux, xen_initrd, xen_xsm
bc092b9
add: xen_module
bc092b9
bc092b9
This update bases on
bc092b9
    commit 0edd750e50698854068358ea53528100a9192902
bc092b9
    Author: Vladimir Serbinenko <phcoder@gmail.com>
bc092b9
    Date:   Fri Jan 22 10:18:47 2016 +0100
bc092b9
bc092b9
        xen_boot: Remove obsolete module type distinctions.
bc092b9
bc092b9
Also bases on the module loading mechanism of Xen code:
bc092b9
488c2a8 docs/arm64: clarify the documention for loading XSM support
bc092b9
67831c4 docs/arm64: update the documentation for loading XSM support
bc092b9
ca32012 xen/arm64: check XSM Magic from the second unknown module.
bc092b9
bc092b9
Signed-off-by: Fu Wei <fu.wei@linaro.org>
bc092b9
Reviewed-by: Julien Grall <julien.grall@arm.com>
bc092b9
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
bc092b9
---
bc092b9
 docs/grub.texi | 38 +++++++++++++-------------------------
bc092b9
 1 file changed, 13 insertions(+), 25 deletions(-)
bc092b9
bc092b9
diff --git a/docs/grub.texi b/docs/grub.texi
ec4acbb
index e935af33ea5..a0c4b9e4e8e 100644
bc092b9
--- a/docs/grub.texi
bc092b9
+++ b/docs/grub.texi
bc092b9
@@ -3873,11 +3873,9 @@ you forget a command, you can run the command @command{help}
bc092b9
 @comment * vbeinfo::                     List available video modes
bc092b9
 * verify_detached::             Verify detached digital signature
bc092b9
 * videoinfo::                   List available video modes
bc092b9
-@comment * xen_*::              Xen boot commands
bc092b9
-* xen_hypervisor::              Load xen hypervisor binary
bc092b9
-* xen_linux::                   Load dom0 kernel for xen hypervisor
bc092b9
-* xen_initrd::                  Load dom0 initrd for dom0 kernel
bc092b9
-* xen_xsm::                     Load xen security module for xen hypervisor
bc092b9
+@comment * xen_*::              Xen boot commands for AArch64
bc092b9
+* xen_hypervisor::              Load xen hypervisor binary (only on AArch64)
bc092b9
+* xen_module::                  Load xen modules for xen hypervisor (only on AArch64)
bc092b9
 @end menu
bc092b9
 
bc092b9
 
bc092b9
@@ -5153,32 +5151,22 @@ List available video modes. If resolution is given, show only matching modes.
bc092b9
 Load a Xen hypervisor binary from @var{file}. The rest of the line is passed
bc092b9
 verbatim as the @dfn{kernel command-line}. Any other binaries must be
bc092b9
 reloaded after using this command.
bc092b9
+This command is only available on AArch64 systems.
bc092b9
 @end deffn
bc092b9
 
bc092b9
-@node xen_linux
bc092b9
-@subsection xen_linux
bc092b9
+@node xen_module
bc092b9
+@subsection xen_module
bc092b9
 
bc092b9
-@deffn Command xen_linux file [arguments]
bc092b9
-Load a dom0 kernel image for xen hypervisor at the booting process of xen.
bc092b9
+@deffn Command xen_module [--nounzip] file [arguments]
bc092b9
+Load a module for xen hypervisor at the booting process of xen.
bc092b9
 The rest of the line is passed verbatim as the module command line.
bc092b9
+Modules should be loaded in the following order:
bc092b9
+ - dom0 kernel image
bc092b9
+ - dom0 ramdisk if present
bc092b9
+ - XSM policy if present
bc092b9
+This command is only available on AArch64 systems.
bc092b9
 @end deffn
bc092b9
 
bc092b9
-@node xen_initrd
bc092b9
-@subsection xen_initrd
bc092b9
-
bc092b9
-@deffn Command xen_initrd file
bc092b9
-Load a initrd image for dom0 kernel at the booting process of xen.
bc092b9
-@end deffn
bc092b9
-
bc092b9
-@node xen_xsm
bc092b9
-@subsection xen_xsm
bc092b9
-
bc092b9
-@deffn Command xen_xsm file
bc092b9
-Load a xen security module for xen hypervisor at the booting process of xen.
bc092b9
-See @uref{http://wiki.xen.org/wiki/XSM} for more detail.
bc092b9
-@end deffn
bc092b9
-
bc092b9
-
bc092b9
 @node Networking commands
bc092b9
 @section The list of networking commands
bc092b9
 
bc092b9
-- 
63f1a98
2.14.3
bc092b9