mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-16 15:29:57 +00:00
nova: mtd fields are unsigned
Bit 31 (FPU Mtd) got negative expanded when combined with 64bit value. Detected during work on #1129
This commit is contained in:
parent
37dc5c2c78
commit
512c29c486
@ -193,28 +193,28 @@ namespace Nova {
|
||||
public:
|
||||
|
||||
enum {
|
||||
ACDB = 1 << 0, /* eax, ecx, edx, ebx */
|
||||
EBSD = 1 << 1, /* ebp, esi, edi */
|
||||
ESP = 1 << 2,
|
||||
EIP = 1 << 3,
|
||||
EFL = 1 << 4, /* eflags */
|
||||
ESDS = 1 << 5,
|
||||
FSGS = 1 << 6,
|
||||
CSSS = 1 << 7,
|
||||
TR = 1 << 8,
|
||||
LDTR = 1 << 9,
|
||||
GDTR = 1 << 10,
|
||||
IDTR = 1 << 11,
|
||||
CR = 1 << 12,
|
||||
DR = 1 << 13, /* DR7 */
|
||||
SYS = 1 << 14, /* Sysenter MSRs CS, ESP, EIP */
|
||||
QUAL = 1 << 15, /* exit qualification */
|
||||
CTRL = 1 << 16, /* execution controls */
|
||||
INJ = 1 << 17, /* injection info */
|
||||
STA = 1 << 18, /* interruptibility state */
|
||||
TSC = 1 << 19, /* time-stamp counter */
|
||||
EFER = 1 << 20, /* EFER MSR */
|
||||
FPU = 1 << 31, /* FPU state */
|
||||
ACDB = 1U << 0, /* eax, ecx, edx, ebx */
|
||||
EBSD = 1U << 1, /* ebp, esi, edi */
|
||||
ESP = 1U << 2,
|
||||
EIP = 1U << 3,
|
||||
EFL = 1U << 4, /* eflags */
|
||||
ESDS = 1U << 5,
|
||||
FSGS = 1U << 6,
|
||||
CSSS = 1U << 7,
|
||||
TR = 1U << 8,
|
||||
LDTR = 1U << 9,
|
||||
GDTR = 1U << 10,
|
||||
IDTR = 1U << 11,
|
||||
CR = 1U << 12,
|
||||
DR = 1U << 13, /* DR7 */
|
||||
SYS = 1U << 14, /* Sysenter MSRs CS, ESP, EIP */
|
||||
QUAL = 1U << 15, /* exit qualification */
|
||||
CTRL = 1U << 16, /* execution controls */
|
||||
INJ = 1U << 17, /* injection info */
|
||||
STA = 1U << 18, /* interruptibility state */
|
||||
TSC = 1U << 19, /* time-stamp counter */
|
||||
EFER = 1U << 20, /* EFER MSR */
|
||||
FPU = 1U << 31, /* FPU state */
|
||||
|
||||
IRQ = EFL | STA | INJ | TSC,
|
||||
ALL = 0x000fffff & ~CTRL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user