26static inline void update_desc(user_desc *ptr,
const user_desc
new)
42 panic(
"Update descriptor failed: %d\n", rc);
x86 Local APIC register definitions and utility functions.
static void update_desc(user_desc *ptr, const user_desc new)
Helper to update a live LDT/GDT entry.
An encapsulation of an x86 exception with error code.
x86 HPET register definitions and utility functions.
static long hypercall_update_descriptor(uint64_t maddr, user_desc desc)
x86 IDT vector infrastructure.
x86 IO-APIC register definitions and utility functions.
void panic(const char *fmt,...)
#define IS_DEFINED(x)
Evalute whether the CONFIG_ token x is defined.
uint64_t virt_to_maddr(const void *va)
Model Specific Register mnemonics and bit definitions.
Macros for creating constants using mnemonics.
x86 TSX intrinsics, compatible with the GCC API.
x86 Debug Register Infrastructure