CPC G06F 3/0644 (2013.01) [G06F 3/0623 (2013.01); G06F 3/0673 (2013.01)] | 20 Claims |
19. A method of operating a memory protection unit comprising:
maintaining region metadata associated with storage regions of off-chip storage and protection metadata associated with each of the storage regions, wherein the protection metadata is stored in the off-chip storage, and the region metadata encodes whether each of the storage regions belongs to a set of protected storage regions or to a set of unprotected storage regions and encodes information indicating corresponding protection metadata associated with each storage region belonging to the set of protected storage regions; and
updating the region metadata in response to a region update request identifying a given storage region for which the region metadata is to be modified and dynamically adjusting an amount of memory required to store protection metadata associated with the set of protected storage regions in response to the update to the region metadata.
|