发明名称 Data processing apparatus and method for controlling access to registers
摘要 A data processing apparatus and method are provided for controlling access to registers. The data processing apparatus comprises a processing unit for performing data processing operations on data values, the processing unit having a plurality of modes of operation. A plurality of registers are provided for storing data values for access by the processing unit, with a subset of those registers being mode specific registers. Each mode specific register is used by the processing unit when operating in an associated mode of operation. The processing unit is switchable between a plurality of contexts, the data values stored in the plurality of registers being dependent on a current context of the processing unit. The processing unit performs a switch operation to switch from the current context to a new context, during which the data values in the registers are updated having regard to the new context. A control register is provided which, for at least one mode of operation having at least one mode specific register associated therewith, has an access field which is programmable by the processing unit when operating in a predetermined mode of operation. When the access field is set, the processing unit is selectively denied access to the associated at least one mode specific register, whereby updating of the data values in the associated at least one mode specific register is avoided during the switch operation. This significantly increases the speed of the switch operation.
申请公布号 US7529916(B2) 申请公布日期 2009.05.05
申请号 US20060504780 申请日期 2006.08.16
申请人 ARM LIMITED 发明人 KERSHAW DANIEL;MCNIVEN JAMES IAN;KEFFORD DANIEL LUKE;MANSELL DAVID HENNAH
分类号 G06F9/00 主分类号 G06F9/00
代理机构 代理人
主权项
地址