25.02.2015 Views

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PRELIMINARY DATA<br />

Watchpoint channels 41<br />

WPC.WP_nx_PRE<br />

where<br />

n = {IA/OA/IV/WPC_PERF},<br />

x = channel ID<br />

ISAMODE_<br />

ENABLE<br />

SR_MD_<br />

ENABLE<br />

Field Bits Size Volatile? Synopsis Type<br />

[21:20] 2 — CPU ISA mode selection RW<br />

Operation<br />

When read<br />

When written<br />

HARD reset<br />

Allows the CPU ISA mode to be included in the debug event<br />

match.<br />

For the IV WP channels, this field is still present, but its value is<br />

ignored in the pre-condition checking. IV channels never match<br />

in <strong>SH</strong>compact mode.<br />

Value - Description<br />

0b00, 0b11: match irrespective of the current CPU ISA mode.<br />

0b01: only match if CPU is executing <strong>SH</strong>media instructions.<br />

0b10: only match if CPU is executing <strong>SH</strong>compact instructions.<br />

Returns current value<br />

Updates value<br />

Undefined<br />

[23:22] 2 — CPU user/privileged mode selection RW<br />

Operation<br />

When read<br />

When written<br />

HARD reset<br />

Allows the CPU user/privileged mode to be included in the<br />

debug event match.<br />

Value - Description<br />

0b00, 0b11: match irrespective of the current CPU user/<br />

privileged mode.<br />

0b01: only match if CPU is in user mode.<br />

0b10: only match if CPU is in privileged mode.<br />

D R A FT<br />

Returns current value<br />

Updates value<br />

Undefined<br />

Table 14: WPC.WP_{IA/OA/IV/WPC_PERF}x_PRE register definition<br />

05-SA-10003 v1.0<br />

<strong>SuperH</strong>, Inc.<br />

<strong>SH</strong>-5 <strong>System</strong> <strong>Architecture</strong>, <strong>Volume</strong> 3: Debug

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!