On Sun, Dec 12, 2010 at 12:17 AM, Bob Breuer <breu...@mc.net> wrote: > Under qemu-system-sparc, I found a problem with OBP's psr commands. > > On an real SS-20, I get: > ok .psr > CWP: 4 ET: 1 PS: 1 S: 1 PIL: f EF: 1 EC: 0 ICC: nZvc VER: 0 > IMPL: 4 > ok %psr . > 40401fe4 > But with qemu, it all shows up as 0, such as: > ok .psr > CWP: 0 ET: 0 PS: 0 S: 0 PIL: 0 EF: 0 EC: 0 ICC: nzvc VER: 0 > IMPL: 0 > ok %psr . > 0 > while "info registers" says the psr should be 40001de0.
I can't reproduce this: ok .psr CWP: 0 ET: 1 PS: 1 S: 1 PIL: f EF: 0 EC: 0 ICC: nZvc VER: 0 IMPL: 4 ok %psr . 40400fe0