Multiple trap avoidance mechanism
First Claim
1. A resource access control mechanism for a computer system including at least one central processing unit, the resource access control mechanism comprising an address translation mechanism operable to map a received address to a resource and a trap handler for handling a trap in the event of a faulty resource access being detected, the trap handler being operable to instigate a diversion for subsequent access attempts to the resource and the address translation mechanism being responsive to instigation of a diversion by the trap handler to effect the diversion for subsequent attempts to access the resource.
2 Assignments
0 Petitions
Accused Products
Abstract
To provide efficient resource access control in a computer system, a trap handler for handling a trap in the event of a faulty resource access being detected is arranged to define a diversion for subsequent access attempts to the same resource. An address translation mechanism is responsive to indication of a diversion for a resource access to modify an address mapping, whereby subsequent attempts to access the resource are diverted in accordance with the diversion. The trap handler can be arranged in a conventional manner to process an exception of the first faulty access to the resource. However, by defining the diversion, which can be used to map further attempts to access the same resource, unnecessary exception processing can be avoided.
27 Citations
28 Claims
- 1. A resource access control mechanism for a computer system including at least one central processing unit, the resource access control mechanism comprising an address translation mechanism operable to map a received address to a resource and a trap handler for handling a trap in the event of a faulty resource access being detected, the trap handler being operable to instigate a diversion for subsequent access attempts to the resource and the address translation mechanism being responsive to instigation of a diversion by the trap handler to effect the diversion for subsequent attempts to access the resource.
-
17. A method of managing processor access to resources in a computer system, the method comprising:
-
handling a trap in the event of an initial faulty access attempt to a resource being detected;
defining a diversion for subsequent access attempts to the same resource;
diverting a subsequent attempt to access the resource. - View Dependent Claims (22, 23, 24, 25, 26, 28)
-
Specification