diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-09-16 04:49:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-09-16 04:49:24 +0000 |
commit | c7db488f71fb6faf5d327edb3517a879de35ceea (patch) | |
tree | 733ea5ee31bd4e41d74a82d63a163bd79562abf7 /sim/v850/sim-main.h | |
parent | 896e248fe06ea228be115540fffec18644db6270 (diff) | |
download | fsf-binutils-gdb-c7db488f71fb6faf5d327edb3517a879de35ceea.zip fsf-binutils-gdb-c7db488f71fb6faf5d327edb3517a879de35ceea.tar.gz fsf-binutils-gdb-c7db488f71fb6faf5d327edb3517a879de35ceea.tar.bz2 |
Restrict ldsr (load system register) to modifying just non-reserved PSW bits.
For v850eq, include PSW[US] in bits that can be modified.
Diffstat (limited to 'sim/v850/sim-main.h')
-rw-r--r-- | sim/v850/sim-main.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/v850/sim-main.h b/sim/v850/sim-main.h index d222282..f7222a1 100644 --- a/sim/v850/sim-main.h +++ b/sim/v850/sim-main.h @@ -48,6 +48,7 @@ struct _sim_cpu { /* ... simulator specific members ... */ v850_regs reg; + reg_t psw_mask; /* only allow non-reserved bits to be set */ /* ... base type ... */ sim_cpu_base base; }; |