3.2.1. Enabling and disabling the ICache

You can enable the ICache by setting bit 12 of the CP15 control register. The cache is only enabled if the protection unit is already enabled, or if they are enabled simultaneously. When the ICache is enabled, a cachable read-miss places lines in the ICache.

You can enable the ICache and protection unit simultaneously with a single write to the CP15 control register, although you must program at least one protection region before you enable the protection unit. You can lock critical or frequently accessed instructions into the ICache.

Copyright © 2000 ARM Limited. All rights reserved.ARM DDI 0155A
Non-Confidential