• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão196afbb0949daf41c3742b5f1ac2173bb51a684e (tree)
Hora2020-03-06 19:05:18
AutorPeter Maydell <peter.maydell@lina...>
CommiterPeter Maydell

Mensagem de Log

docs: Roll -prom-env and -g target-specific info into qemu-options.hx

The SPARC and PPC targets currently have a fragment of target-specific
information about the -g and -prom options which would be better placed
as part of the general documentation of those options in qemu-options.hx.
Move the relevant information to those locations.

SPARC also has a bit of text about the -M option which is out of
date and provides no useful information over the generic documentation
of that option, so just delete it.

The motivation here is again to avoid having to awkwardly include
this text into the rST version of the qemu.1 manpage.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20200228153619.9906-25-peter.maydell@linaro.org

Mudança Sumário

Diff

--- a/docs/system/target-ppc.rst
+++ b/docs/system/target-ppc.rst
@@ -43,19 +43,5 @@ the g3beige and mac99 PowerMac and the 40p machines. OpenBIOS is a free
4343 (GPL v2) portable firmware implementation. The goal is to implement a
4444 100% IEEE 1275-1994 (referred to as Open Firmware) compliant firmware.
4545
46-The following options are specific to the PowerPC emulation:
47-
48-``-g WxH[xDEPTH]``
49- Set the initial VGA graphic mode. The default is 800x600x32.
50-
51-``-prom-env string``
52- Set OpenBIOS variables in NVRAM, for example:
53-
54- ::
55-
56- qemu-system-ppc -prom-env 'auto-boot?=false' \
57- -prom-env 'boot-device=hd:2,\yaboot' \
58- -prom-env 'boot-args=conf=hd:2,\yaboot.conf'
59-
6046 More information is available at
6147 http://perso.magic.fr/l_indien/qemu-ppc/.
--- a/docs/system/target-ppc.texi
+++ b/docs/system/target-ppc.texi
@@ -47,31 +47,6 @@ for the g3beige and mac99 PowerMac and the 40p machines. OpenBIOS is a free
4747 (GPL v2) portable firmware implementation. The goal is to implement a 100%
4848 IEEE 1275-1994 (referred to as Open Firmware) compliant firmware.
4949
50-@c man begin OPTIONS
51-
52-The following options are specific to the PowerPC emulation:
53-
54-@table @option
55-
56-@item -g @var{W}x@var{H}[x@var{DEPTH}]
57-
58-Set the initial VGA graphic mode. The default is 800x600x32.
59-
60-@item -prom-env @var{string}
61-
62-Set OpenBIOS variables in NVRAM, for example:
63-
64-@example
65-qemu-system-ppc -prom-env 'auto-boot?=false' \
66- -prom-env 'boot-device=hd:2,\yaboot' \
67- -prom-env 'boot-args=conf=hd:2,\yaboot.conf'
68-@end example
69-
70-@end table
71-
72-@c man end
73-
74-
7550 More information is available at
7651 @url{http://perso.magic.fr/l_indien/qemu-ppc/}.
7752
--- a/docs/system/target-sparc.rst
+++ b/docs/system/target-sparc.rst
@@ -60,22 +60,3 @@ QEMU web site. There are still issues with NetBSD and OpenBSD, but most
6060 kernel versions work. Please note that currently older Solaris kernels
6161 don't work probably due to interface issues between OpenBIOS and
6262 Solaris.
63-
64-The following options are specific to the Sparc32 emulation:
65-
66-``-g WxHx[xDEPTH]``
67- Set the initial graphics mode. For TCX, the default is 1024x768x8
68- with the option of 1024x768x24. For cgthree, the default is
69- 1024x768x8 with the option of 1152x900x8 for people who wish to use
70- OBP.
71-
72-``-prom-env string``
73- Set OpenBIOS variables in NVRAM, for example:
74-
75- ::
76-
77- qemu-system-sparc -prom-env 'auto-boot?=false' \
78- -prom-env 'boot-device=sd(0,2,0):d' -prom-env 'boot-args=linux single'
79-
80-``-M [SS-4|SS-5|SS-10|SS-20|SS-600MP|LX|Voyager|SPARCClassic] [|SPARCbook]``
81- Set the emulated machine type. Default is SS-5.
--- a/docs/system/target-sparc.texi
+++ b/docs/system/target-sparc.texi
@@ -64,32 +64,5 @@ most kernel versions work. Please note that currently older Solaris kernels
6464 don't work probably due to interface issues between OpenBIOS and
6565 Solaris.
6666
67-@c man begin OPTIONS
68-
69-The following options are specific to the Sparc32 emulation:
70-
71-@table @option
72-
73-@item -g @var{W}x@var{H}x[x@var{DEPTH}]
74-
75-Set the initial graphics mode. For TCX, the default is 1024x768x8 with the
76-option of 1024x768x24. For cgthree, the default is 1024x768x8 with the option
77-of 1152x900x8 for people who wish to use OBP.
78-
79-@item -prom-env @var{string}
80-
81-Set OpenBIOS variables in NVRAM, for example:
82-
83-@example
84-qemu-system-sparc -prom-env 'auto-boot?=false' \
85- -prom-env 'boot-device=sd(0,2,0):d' -prom-env 'boot-args=linux single'
86-@end example
87-
88-@item -M [SS-4|SS-5|SS-10|SS-20|SS-600MP|LX|Voyager|SPARCClassic] [|SPARCbook]
89-
90-Set the emulated machine type. Default is SS-5.
91-
92-@end table
93-
9467 @c man end
9568
--- a/docs/system/target-sparc64.rst
+++ b/docs/system/target-sparc64.rst
@@ -35,15 +35,3 @@ QEMU emulates the following peripherals:
3535 - 2 PCI IDE interfaces with hard disk and CD-ROM support
3636
3737 - Floppy disk
38-
39-The following options are specific to the Sparc64 emulation:
40-
41-``-prom-env string``
42- Set OpenBIOS variables in NVRAM, for example:
43-
44- ::
45-
46- qemu-system-sparc64 -prom-env 'auto-boot?=false'
47-
48-``-M [sun4u|sun4v|niagara]``
49- Set the emulated machine type. The default is sun4u.
--- a/docs/system/target-sparc64.texi
+++ b/docs/system/target-sparc64.texi
@@ -36,25 +36,3 @@ PC-compatible serial ports
3636 Floppy disk
3737 @end itemize
3838
39-@c man begin OPTIONS
40-
41-The following options are specific to the Sparc64 emulation:
42-
43-@table @option
44-
45-@item -prom-env @var{string}
46-
47-Set OpenBIOS variables in NVRAM, for example:
48-
49-@example
50-qemu-system-sparc64 -prom-env 'auto-boot?=false'
51-@end example
52-
53-@item -M [sun4u|sun4v|niagara]
54-
55-Set the emulated machine type. The default is sun4u.
56-
57-@end table
58-
59-@c man end
60-
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1962,6 +1962,13 @@ STEXI
19621962 @item -g @var{width}x@var{height}[x@var{depth}]
19631963 @findex -g
19641964 Set the initial graphical resolution and depth (PPC, SPARC only).
1965+
1966+For PPC the default is 800x600x32.
1967+
1968+For SPARC with the TCX graphics device, the default is 1024x768x8 with the
1969+option of 1024x768x24. For cgthree, the default is 1024x768x8 with the option
1970+of 1152x900x8 for people who wish to use OBP.
1971+
19651972 ETEXI
19661973
19671974 DEF("vnc", HAS_ARG, QEMU_OPTION_vnc ,
@@ -4107,6 +4114,18 @@ STEXI
41074114 @item -prom-env @var{variable}=@var{value}
41084115 @findex -prom-env
41094116 Set OpenBIOS nvram @var{variable} to given @var{value} (PPC, SPARC only).
4117+
4118+@example
4119+qemu-system-sparc -prom-env 'auto-boot?=false' \
4120+ -prom-env 'boot-device=sd(0,2,0):d' -prom-env 'boot-args=linux single'
4121+@end example
4122+
4123+@example
4124+qemu-system-ppc -prom-env 'auto-boot?=false' \
4125+ -prom-env 'boot-device=hd:2,\yaboot' \
4126+ -prom-env 'boot-args=conf=hd:2,\yaboot.conf'
4127+@end example
4128+
41104129 ETEXI
41114130 DEF("semihosting", 0, QEMU_OPTION_semihosting,
41124131 "-semihosting semihosting mode\n",