发明名称 Method and apparatus for servicing simultaneous I/O trap and debug traps in a microprocessor
摘要 A microprocessor includes the capability to service at least one debug exception and an I/O trap generated during execution of a single instruction. After executing each instruction, the microprocessor determines whether a debug exception and an I/O trap occurred. If at least one debug exception and an I/O trap exist, then the microprocessor determines an active status for the debug exception. The microprocessor stores the contents of internal registers, constituting a state of the microprocessor, to memory, and latches a breakpoint status for the debug exception in a public debug status register. The breakpoint status is preserved by copying the breakpoint status to a private debug status register. The microprocessor services the I/O trap by executing a SMM handler, an upon returning from the SMM handler, the state of the microprocessor is restored. If the I/O trap serviced requires instruction restart, then the state of the microprocessor is adjusted to re-execute the instruction. The microprocessor copies the breakpoint status, stored in the private debug status register, to the public debug status register when the I/O trap does not require instruction restart. The debug exception is subsequently serviced by executing an INT1 handler.
申请公布号 US5745770(A) 申请公布日期 1998.04.28
申请号 US19960595187 申请日期 1996.02.01
申请人 INTEL CORPORATION 发明人 THANGADURAI, GEORGE;CHUNG, CHIH-HUNG
分类号 G06F9/48;G06F11/36;(IPC1-7):G06F9/46 主分类号 G06F9/48
代理机构 代理人
主权项
地址