发明名称 Stack switching mechanism in a computer system
摘要 A method and mechanism for performing an unconditional stack switch in a processor. A processor includes a processing unit coupled to a memory. The memory is configured to include a plurality of stacks, a special mode task state segment, and a descriptor table including a number of descriptors. The processor is configured to detect interrupts and access a descriptor corresponding to the interrupt within the descriptor table. Each of the descriptors in the descriptor table includes an index corresponding to entries in an interrupt stack table within the task state segment. Subsequent to accessing the descriptor corresponding to the interrupt, the processor is configured to access the index within the descriptor in order to determine whether or not an interrupt stack table mechanism is enabled. In response to detecting the interrupt stack table mechanism is enabled, the index is used to select an entry in the interrupt stack table. The selected entry in the interrupt stack table indicates a stack pointer which is then used to perform an unconditional stack switch.
申请公布号 US2002019902(A1) 申请公布日期 2002.02.14
申请号 US20010920459 申请日期 2001.08.01
申请人 CHRISTIE DAVID S 发明人 CHRISTIE DAVID S
分类号 G06F9/30;G06F9/318;G06F9/355;(IPC1-7):G06F9/00;G06F7/38;G06F9/44;G06F15/00;G06F13/24 主分类号 G06F9/30
代理机构 代理人
主权项
地址
您可能感兴趣的专利