AMD 4.4.5 Switch User Manual


 
AMD Confidential
User Manual November 21
st
, 2008
Appendix A 241
The simulator works by translating guest x86 instructions to long-mode user-mode
instructions which it then executes. These translated instructions are grouped into blocks
called translations. These translations exist in a translation buffer, which is typically
about 64 MB. When the translation buffer is full and space for another translation is
needed, the simulator disposes of the contents of the translation buffer and starts a new
epoch. An epoch, in SimNow terms, is the period of execution between the flushing of
the translation cache. It is only the period from the start of the current epoch to the
issuance of the dumpprofile command that the profile will cover.
A.7.17.2 CPU Code Generator Commands
Table 15-13 describes all available Code Generator commands and their arguments.
command
args
Description
Help
None
Displays an overview of all available
commands.
param
None
Displays the current state of the
configurable code generator parameters.
param
parameter
Displays the current value of <parameter>,
e.g., “cpu.codegen param FastFloat”.
param
parameter
value
Sets the current value of <parameter> to
<value>. For example, cpu.codegen param
FastFloat 0” disables ”FastFloat”.
enable
Boolean Parameter
Changes the current value of one boolean
parameter to true. For example,
“cpu.codegen enable FastFloat” enables
“FastFloat”.
disable
Boolean Parameter
Changes the current value of one boolean
parameter to false. For example,
“cpu.codegen disable FastFloat” disables
“FastFloat”.
optimize
accuracy
Changes several parameters to the
conservative setting.
optimize
speed
Changes several parameters to the default
aggressive setting.
Table 15-13: CodeGen Command Overview
A.7.18 Emerald Graphics
1 simnow> emerald.usage
Automation Command
Description
FrameBufSize <size>
FrameBufSize sets the size of the frame buffer in
Megabytes. The size must be a power of 2. The value
placed in this option is only read at reset. The frame
buffer size can not be dynamically modified.
FrameBufGetSize
Returns the size of the frame buffer in Megabytes.
Accel (0|1)
Enables (1) or disables (0) the Accelerator used by the
Video driver.
GetAccel
Returns true if Accelerator is enabled; otherwise it
returns false.
VBE (0|1)
Enables (1) or disables (0) VESA BIOS Extensions.