12.07.2015 Views

Geode GXLV Processor Series Low Power Integrated x86 Solutions

Geode GXLV Processor Series Low Power Integrated x86 Solutions

Geode GXLV Processor Series Low Power Integrated x86 Solutions

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Geode</strong> <strong>GXLV</strong> <strong>Processor</strong> <strong>Series</strong><strong>Processor</strong> Programming (Continued)Field(s)Numberof BitsDescriptionTable 3-13. DR7 and DR6 Bit DefinitionsThe Debug Status Register (DR6) reflects conditions thatwere in effect at the time the debug exception occurred.The contents of the DR6 register are not automaticallycleared by the processor after a debug exception occurs,and therefore should be cleared by software at the appropriatetime. Code execution breakpoints may also be generatedby placing the breakpoint instruction (INT3) at thelocation where control is to be regained. The single-stepfeature may be enabled by setting the TF flag (bit 8) in theEFLAGS register. This causes the processor to perform adebug exception after the execution of every instruction.DR7 RegisterDebug Control Register (R/W)R/Wn 2 Applies to the DRn breakpoint address register:00 = Break on instruction execution only01 = Break on data write operations only10 = Not used11 = Break on data reads or write operationsLENn 2 Applies to the DRn breakpoint address register:00 = One-byte length01 = Two-byte length10 = Not used11 = Four-byte lengthGn 1 If = 1: Breakpoint in DRn is globally enabled for all tasks and is not cleared by the processor as theresult of a task switch.Ln 1 If = 1: Breakpoint in DRn is locally enabled for the current task and is cleared by the processor as theresult of a task switch.GD 1 Global disable of debug register access. GD bit is cleared whenever a debug exception occurs.DR6 RegisterDebug Status Register (RO)Bn 1 Bn is set by the processor if the conditions described by DRn, R/Wn, and LENn occurred when thedebug exception occurred, even if the breakpoint is not enabled via the Gn or Ln bits.BT 1 BT is set by the processor before entering the debug handler if a task switch has occurred to a task withthe T bit in the TSS set.BS 1 BS is set by the processor if the debug exception was triggered by the single-step execution mode (TFflag, bit 8, in EFLAGS set).Note: n = 0, 1, 2, and 3www.national.com 56 Revision 1.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!