AMD Confidential
User Manual September 12
h
, 2008
112 Chapter 7: Device Configuration
<Event Device="CPU0" Type="MEMW" ICount="3133971259"
Address="00000000000A88B2" Size="1">
<Data Length="1" Value="01" />
</Event>
Defines a Memory Read or Memory Write event. MEMR and MEMW are recorded for
MMIO ranges.
7.22.2.2 XTR Binary File Contents
XTR Binary file contains the memory image of the system just before the XTR Record
started. The binary file contains multiple records where each record contains has the
following structure:
Physical Address Of the Page: 8 bytes
Count of Bytes in this Page: 4 Bytes
Data Of the Page: Count of Bytes earlier
Currently XTR only supports page size of 4096 bytes. Both the DIMM and MMIO may
be present in the XTR Binary file. The last record in the binary file must have a count of
zero to indicate end of memory image.
7.22.3 ModeFlags
ModeFlags defines some of the states of the CPU that are important for execution. The
upper 32 bits store the Execution Control flags e.g. HLT and <ignore interrupts for 1
instruction when we change stack segment>. The lower 32 bits is redundant from other
initialization values in the XTR initialization but is there to maintain code consistency.
Table 7-7 shows the Execution Control Flags (upper 32 bit):
Execution Control Flag
Value
Description
BIUI_LOCK
0x00000001
Bus is locked
BIUI_RESET
0x00000002
Processor RESET pin.
BIUI_INIT
0x00000004
INIT pin
BIUI_INTR
0x00000008
Interrupt
BIUI_NMI
0x00000010
NMI
BIUI_SMI
0x00000020
SMI
BIUI_IGNNE
0x00000040
Floating point IGNNE
BIUI_A20M
0x00000080
A20Mask
BIUI_PAUSE
0x00000100
PAUSE
BIUI_HOLD
0x00000200
HOLD
BIUI_UNUSED
0x00000400
Unused
BIUI_STOP
0x00000800
Pseudo pin that stops simulation
Table 7-7: Execution Control Flags
Table 7-8 shows other internal execution control flags. Some flags may be AweSim
specific.
Execution Control Flag
Value
Description
ECF_SMCRESTART
0x00001000
SMC detected in current translation (restart required).
ECF_GENEXCEPTION
0x00002000
SVM virtual interrupt pending
ECF_VINTR
0x00004000
INIT pin