mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
nova: update syscall bindings
This commit is contained in:
parent
8c7cadde5f
commit
fa23c0bd4f
@ -193,13 +193,22 @@ namespace Nova {
|
|||||||
ESP = 1 << 2,
|
ESP = 1 << 2,
|
||||||
EIP = 1 << 3,
|
EIP = 1 << 3,
|
||||||
EFL = 1 << 4, /* eflags */
|
EFL = 1 << 4, /* eflags */
|
||||||
|
ESDS = 1 << 5,
|
||||||
FSGS = 1 << 6,
|
FSGS = 1 << 6,
|
||||||
CSSS = 1 << 7,
|
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 */
|
QUAL = 1 << 15, /* exit qualification */
|
||||||
CTRL = 1 << 16, /* execution controls */
|
CTRL = 1 << 16, /* execution controls */
|
||||||
INJ = 1 << 17, /* injection info */
|
INJ = 1 << 17, /* injection info */
|
||||||
STA = 1 << 18, /* interruptibility state */
|
STA = 1 << 18, /* interruptibility state */
|
||||||
TSC = 1 << 19, /* time-stamp counter */
|
TSC = 1 << 19, /* time-stamp counter */
|
||||||
|
EFER = 1 << 20, /* EFER MSR */
|
||||||
|
|
||||||
IRQ = EFL | STA | INJ | TSC,
|
IRQ = EFL | STA | INJ | TSC,
|
||||||
ALL = 0x000fffff & ~CTRL,
|
ALL = 0x000fffff & ~CTRL,
|
||||||
@ -437,10 +446,10 @@ namespace Nova {
|
|||||||
#endif
|
#endif
|
||||||
unsigned long long qual[2]; /* exit qualification */
|
unsigned long long qual[2]; /* exit qualification */
|
||||||
unsigned ctrl[2];
|
unsigned ctrl[2];
|
||||||
unsigned long long tsc;
|
unsigned long long reserved;
|
||||||
mword_t cr0, cr2, cr3, cr4;
|
mword_t cr0, cr2, cr3, cr4;
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64__
|
||||||
mword_t cr8, reserved;
|
mword_t cr8, efer;
|
||||||
#endif
|
#endif
|
||||||
mword_t dr7, sysenter_cs, sysenter_sp, sysenter_ip;
|
mword_t dr7, sysenter_cs, sysenter_sp, sysenter_ip;
|
||||||
|
|
||||||
@ -460,6 +469,7 @@ namespace Nova {
|
|||||||
mword_t reserved1;
|
mword_t reserved1;
|
||||||
#endif
|
#endif
|
||||||
} gdtr, idtr;
|
} gdtr, idtr;
|
||||||
|
unsigned long long tsc_val, tsc_off;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user