Deleted Added
sdiff udiff text old ( 6723:ea7c71a3433a ) new ( 6735:6437ad24a8a0 )
full compact
1/*
2 * Copyright (c) 2009 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 41 unchanged lines hidden (view full) ---

50 COND_GT, // 12
51 COND_LE, // 13
52 COND_AL, // 14
53 COND_NV // 15
54 };
55
56 enum MiscRegIndex {
57 MISCREG_CPSR = 0,
58 MISCREG_SPSR,
59 MISCREG_SPSR_FIQ,
60 MISCREG_SPSR_IRQ,
61 MISCREG_SPSR_SVC,
62 MISCREG_SPSR_MON,
63 MISCREG_SPSR_UND,
64 MISCREG_SPSR_ABT,
65 MISCREG_FPSR,
66 MISCREG_FPSID,
67 MISCREG_FPSCR,
68 MISCREG_FPEXC,
69 NUM_MISCREGS
70 };
71
72 const char * const miscRegName[NUM_MISCREGS] = {
73 "cpsr",
74 "spsr", "spsr_fiq", "spsr_irq", "spsr_svc", "spsr_und", "spsr_abt",
75 "fpsr"
76 };
77
78 BitUnion32(CPSR)
79 Bitfield<31> n;
80 Bitfield<30> z;
81 Bitfield<29> c;
82 Bitfield<28> v;
83 Bitfield<27> q;
84 Bitfield<24> j;
85 Bitfield<19, 16> ge;
86 Bitfield<9> e;
87 Bitfield<8> a;
88 Bitfield<7> i;
89 Bitfield<6> f;
90 Bitfield<5> t;
91 Bitfield<4, 0> mode;
92 EndBitUnion(CPSR)
93};
94
95#endif // __ARCH_ARM_MISCREGS_HH__