mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
cris: Fix NMI-flag handling on crisv10.
- The M-flag is encoded in different bits on cris v10 and cris v32. Signed-off-by: Lars Persson <larper@axis.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
da9fa17ee9
commit
8219314be6
4 changed files with 18 additions and 10 deletions
|
@ -69,13 +69,14 @@
|
|||
|
||||
/* CPU flags. */
|
||||
#define Q_FLAG 0x80000000
|
||||
#define M_FLAG 0x40000000
|
||||
#define M_FLAG_V32 0x40000000
|
||||
#define PFIX_FLAG 0x800 /* CRISv10 Only. */
|
||||
#define F_FLAG_V10 0x400
|
||||
#define P_FLAG_V10 0x200
|
||||
#define S_FLAG 0x200
|
||||
#define R_FLAG 0x100
|
||||
#define P_FLAG 0x80
|
||||
#define M_FLAG_V10 0x80
|
||||
#define U_FLAG 0x40
|
||||
#define I_FLAG 0x20
|
||||
#define X_FLAG 0x10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue