[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] MIPS exception number limits?
From: |
Wei-Ren Chen |
Subject: |
[Qemu-devel] MIPS exception number limits? |
Date: |
Fri, 23 Nov 2012 03:33:33 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
- [Qemu-devel] MIPS exception number limits?,
Wei-Ren Chen <=