CPC G06F 9/45558 (2013.01) [G06F 12/145 (2013.01); H04L 9/14 (2013.01); G06F 21/6245 (2013.01); G06F 2009/45562 (2013.01); G06F 2009/45575 (2013.01); G06F 2009/45583 (2013.01); G06F 2009/45587 (2013.01); G06F 2212/1052 (2013.01)] | 17 Claims |
1. An apparatus, comprising:
a first plurality of registers configured to store a plurality of keys used to determine whether access commands are allowed access to a plurality of regions of the apparatus;
a second plurality of registers configured to store a plurality of addresses defining the plurality of regions; and
control circuitry configured to:
responsive to receiving a command to initiate a mode of operation:
store the plurality of keys in the first plurality of registers;
store the plurality of addresses of the apparatus in the second plurality of registers, wherein the plurality of addresses and the plurality of keys correspond to the plurality of regions; and
control access to a different address corresponding to an access command, based on whether the different address is within a region from the plurality of regions and based on whether a different key corresponding to the access command matches a corresponding one key of the plurality of keys stored in the first plurality of registers, by:
determining whether the different address is within the region;
comparing the different key to the corresponding one key of the plurality of keys; and
responsive to determining that the different address is in the region and that the different key matches the corresponding one key of the plurality of keys, modifying a mode register corresponding to a corresponding one region of the plurality of regions from a locked mode to an unlocked mode.
|