Add more intrinsic routines
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
@@ -75,6 +75,23 @@ XTCDECL
|
||||
VOID
|
||||
HlSetInterruptFlag();
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
HlStoreGlobalDescriptorTable(OUT PVOID Destination);
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
HlStoreInterruptDescriptorTable(OUT PVOID Destination);
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
HlStoreSegment(IN USHORT Segment,
|
||||
OUT PVOID Destination);
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
HlStoreTaskRegister(OUT PVOID Destination);
|
||||
|
||||
XTCDECL
|
||||
VOID
|
||||
HlWriteControlRegister(IN USHORT ControlRegister,
|
||||
|
@@ -49,6 +49,14 @@
|
||||
#define CR4_XSAVE 0x00020000
|
||||
#define CR4_RESERVED3 0xFFFC0000
|
||||
|
||||
/* Segment defintions */
|
||||
#define SEGMENT_CS 0x2E
|
||||
#define SEGMENT_DS 0x3E
|
||||
#define SEGMENT_ES 0x26
|
||||
#define SEGMENT_SS 0x36
|
||||
#define SEGMENT_FS 0x64
|
||||
#define SEGMENT_GS 0x65
|
||||
|
||||
/* CPUID features enumeration list */
|
||||
typedef enum _CPUID_FEATURES
|
||||
{
|
||||
|
Reference in New Issue
Block a user