Sq Protection - Hitachi SH7750 Programming Manual

High-performance risc engine superh (sh) 32-bit risc mcu/mpu series
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

4.6.4

SQ Protection

It is possible to set protection against SQ writes and transfers to external memory. If an SQ write
violates the protection setting, an exception will be generated but the SQ contents will be
corrupted. If a transfer from the SQs to external memory (prefetch instruction) violates the
protection setting, the transfer to external memory will be inhibited and an exception will be
generated.
• When MMU is on
Operation is in accordance with the address translation information recorded in the UTLB, and
MMUCR.SQMD. Write type exception judgment is performed for writes to the SQs, and read
type for transfer from the SQs to external memory (PREF instruction), and a TLB miss
exception, protection violation exception, or initial page write exception is generated.
However, if SQ access is enabled, in privileged mode only, by MMUCR.SQMD, an address
error will be flagged in user mode even if address translation is successful.
• When MMU is off
Operation is in accordance with MMUCR.SQMD.
0: Privileged/user access possible
1: Privileged access possible
If the SQ area is accessed in user mode when MMUCR.SQMD is set to 1, an address error will
be flagged.
Rev. 2.0, 03/99, page 81 of 396

Advertisement

Table of Contents
loading

Table of Contents