qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] MIPS exception number limits?
@ 2012-11-22 19:33 陳韋任 (Wei-Ren Chen)
  2012-11-27  5:25 ` Johnson, Eric
  0 siblings, 1 reply; 5+ messages in thread
From: 陳韋任 (Wei-Ren Chen) @ 2012-11-22 19:33 UTC (permalink / raw)
  To: qemu-devel

Hi all,

  Wondering why MIPS limits exception number less then 0x100,
you can see such example in function do_raise_exception_err
(target-mips/op_helper.c). See below,

static inline void QEMU_NORETURN do_raise_exception_err(CPUMIPSState *env,
                                                        ...
{
  ...

#if 1
    if (exception < 0x100)
        qemu_log("%s: %d %d\n", __func__, exception, error_code);
#endif

  ...
}

  Anyone can help confirm this, stated in what spec? Also, do we
need "#if 1 .. #endif"? Thanks for help. =]  

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-11-27 22:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-22 19:33 [Qemu-devel] MIPS exception number limits? 陳韋任 (Wei-Ren Chen)
2012-11-27  5:25 ` Johnson, Eric
2012-11-27 21:18   ` Richard Henderson
2012-11-27 22:03     ` Peter Maydell
2012-11-27 22:23     ` Johnson, Eric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).