diff options
| author | matt <matt@NetBSD.org> | 2004-04-15 21:07:06 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2004-04-15 21:07:06 +0000 |
| commit | ee00feaab98a967a5c1a6598f4ceeede4709c578 (patch) | |
| tree | dbea6acf2c0319d9d67b750a75669253c60de244 /gnu/dist/cvs/diff/diff.c | |
| parent | e30c25106f492d51dd67f64b205196dba6a14e20 (diff) | |
Revamp how user MSR/SRR1 are dealt with.
Add a PSL_USEROK_P(psl) macro which valids the bits (replaces the use of
PSL_USERSTATIC).
Add a PSL_USERSRR1 mask which is used to mask out status bits in the upper
half of SRR1.
Make sure PSL_VEC is set appropriately in userret(). PSL_VEC is in the same
region as SSR1 status bits so it's not preserved on exceptions. Thus we
need to make to set it.
When returning a MSR/SRR1 to userland, always clear the status bits.
Add emulation of the mfpvr, mtmsr, and mfmsr instructions.
Diffstat (limited to 'gnu/dist/cvs/diff/diff.c')
0 files changed, 0 insertions, 0 deletions
