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>Processor</strong> Programming (Continued)3.6.4 Interrupt and Exception PrioritiesAs the CPU executes instructions, it follows a consistentpolicy for prioritizing exceptions and hardware interrupts.The priorities for competing interrupts and exceptions arelisted in Table 3-30. SMM interrupts always take precedence.Debug traps for the previous instruction and nextinstructions are handled as the next priority. When NMIand maskable INTR interrupts are both detected at thesame instruction boundary, the <strong>GXLV</strong> processor servicesthe NMI interrupt first.The CPU checks for exceptions in parallel with instructiondecoding and execution. Several exceptions can resultfrom a single instruction. However, only one exception isgenerated upon each attempt to execute the instruction.Each exception service routine should make the appropriatecorrections to the instruction and then restart theinstruction. In this way, exceptions can be serviced untilthe instruction executes properly.The CPU supports instruction restart after all faults,except when an instruction causes a task switch to a taskwhose Task State Segment (TSS) is partially not present.A TSS can be partially not present if the TSS is not pagealigned and one of the pages where the TSS resides isnot currently in memory.<strong>Geode</strong> <strong>GXLV</strong> <strong>Processor</strong> <strong>Series</strong>Table 3-30. Interrupt and Exception PrioritiesPriority Description Notes0 Reset. Caused by the assertion of RESET.1 SMM hardware interrupt. SMM interrupts are caused by SMI# asserted and always havehighest priority.2 Debug traps and faults from previous instruction. Includes single-step trap and data breakpoints specified in thedebug registers.3 Debug traps for next instruction. Includes instruction execution breakpoints specified in the debugregisters.4 Non-maskable hardware interrupt. Caused by NMI asserted.5 Maskable hardware interrupt. Caused by INTR asserted and IF = 1.6 Faults resulting from fetching the next instruction. Includes segment not present, general protection fault and pagefault.7 Faults resulting from instruction decoding. Includes illegal opcode, instruction too long, or privilege violation.8 WAIT instruction and TS = 1 and MP = 1. Device not available exception generated.9 ESC instruction and EM = 1 or TS = 1. Device not available exception generated.10 Floating point error exception. Caused by unmasked floating point exception with NE = 1.11 Segmentation faults (for each memory referencerequired by the instruction) that prevent transferringthe entire memory operand.12 Page Faults that prevent transferring the entirememory operand.13 Alignment check fault.Includes segment not present, stack fault, and general protectionfault.Revision 1.3 81 www.national.com

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

Saved successfully!

Ooh no, something went wrong!