Multiple traps after faulty access to a resource
First Claim
1. A resource access control mechanism for a computer system including at least one central processing unit, the resource access control mechanism comprisingan 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.
39 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.
-
15. A computer system comprising at least one processor that includes at least one central processing unit, memory, at least one peripheral device and a resource access control mechanism, wherein the resource access control mechanism comprises
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:
-
a trap handler handling a trap in the event of an initial faulty access attempt to a resource being detected;
said trap handler instigating a diversion in an address translation mechanism for subsequent access attempts to the same resource;
said address translation mechanism diverting a subsequent attempt to access the resource. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. A computer program on a carrier medium, the computer program forming a trap handler for a computer system and comprising computer code operable:
-
to respond to a faulty resource access by processing an exception; and
to instigate a diversion in an address translation mechanism for subsequent access attempts to the resource. - View Dependent Claims (28)
-
Specification