AMD Confidential
User Manual November 21
st
, 2008
vi Contents
11.1 Kernel Debugger ............................................................................................. 155
11.2 GDB Interface ................................................................................................. 156
11.2.1 Simple Approach .................................................................................... 156
11.2.2 Alternate Approach ................................................................................. 157
11.2.3 Using Another Port on the Same Machine ............................................. 157
11.2.4 Using Two Separate Machines ............................................................... 157
11.3 Linux Host Serial Port Communication .......................................................... 157
12 Command API .................................................................................................... 159
13 DiskTool ............................................................................................................. 161
13.1 Command-Line Mode ..................................................................................... 161
13.2 GUI Mode ....................................................................................................... 162
14 BIOS Developer‟s Quick Start Guide ................................................................. 167
14.1 Loading a BIOS Image ................................................................................... 167
14.2 Changing DRAM Size .................................................................................... 167
14.3 Changing SPD Data ........................................................................................ 168
14.4 Clearing CMOS .............................................................................................. 169
14.5 Logging PCI Configuration Cycles ................................................................ 169
14.6 Logging CPU Cycles ...................................................................................... 170
14.7 Creating a Floppy-Disk Image ........................................................................ 171
15 Frequently Asked Questions (FAQ) ................................................................... 173
A Appendix ................................................................................................................. 177
A.1 Format of Floppy and Hard-Drive Images...................................................... 177
A.2 Bill of Material ................................................................................................ 178
A.2.1 Computer Platform Files (BSD) ............................................................. 178
A.2.2 Device Files (*.BSL) .............................................................................. 178
A.2.3 Product Files (*.ID) ................................................................................ 179
A.2.4 Image Files (*.HDD, *.FDD, *.ROM, *.SPD, *.BIN) ........................... 179
A.2.4.1 Hard-Disk Image Files ........................................................................ 179
A.2.4.2 Memory SPD Files .............................................................................. 180
A.3 Supported Guest Operating Systems .............................................................. 181
A.4 CPUID............................................................................................................. 182
A.4.1 CPUID Standard Feature Support (Standard Function 0x01) ................. 182
A.4.2 CPUID AMD Feature Support (Extended Function 0x80000001)......... 183
A.5 Known Issues .................................................................................................. 184
A.5.1 FSAVE/FRSTOR and FSTENV/FLDENV ............................................ 184
A.5.2 Triple Faulting ........................................................................................ 184
A.5.3 Performance-Monitoring Counter Extensions ........................................ 184
A.5.4 Microcode Patching ................................................................................ 184
A.5.5 Instruction Coherency ............................................................................. 184
A.6 Instruction Reference ...................................................................................... 186
A.6.1 Notation................................................................................................... 186
A.6.1.1 Mnemonic Syntax ............................................................................... 186
A.6.1.2 Opcode Syntax .................................................................................... 188
A.6.2 General Purpose Instructions .................................................................. 189
A.6.3 System Instructions ................................................................................. 220
A.6.3.1 INT – Interrupt to Vector .................................................................... 222