![]() |
My Project
|
Go to the source code of this file.
Macros | |
| #define | PIC1_COMMAND_MASTER 0x20 |
| #define | PIC1_DATA 0x21 |
| #define | PIC2_COMMAND_SLAVE 0xA0 |
| #define | PIC2_DATA 0xA1 |
| #define | PIC_EOI 0x20 |
| #define | IA32_KERNEL_GS_BASE 0xC0000102 |
| #define | IA32_GS_BASE 0xC0000101 /* used both in kernel mode and user mode */ |
| #define | IA32_FS_BASE 0xC0000100 |
| #define | UNREFERENCED_PARAMETER(x) |
Functions | |
| FORCEINLINE void | __cli (void) |
| FORCEINLINE void | __sti (void) |
| FORCEINLINE void | __hlt (void) |
| FORCEINLINE unsigned long int | __read_cr0 (void) |
| FORCEINLINE void | __write_cr0 (unsigned long int val) |
| FORCEINLINE unsigned long | __read_cr2 (void) |
| FORCEINLINE void | __write_cr2 (unsigned long val) |
| FORCEINLINE uint64_t | __read_cr3 (void) |
| FORCEINLINE void | __write_cr3 (uint64_t val) |
| FORCEINLINE unsigned long | __read_cr4 (void) |
| FORCEINLINE void | __write_cr4 (unsigned long val) |
| FORCEINLINE unsigned long | __read_cr8 (void) |
| FORCEINLINE void | __write_cr8 (unsigned long val) |
| FORCEINLINE uint64_t | __read_dr (int reg) |
| FORCEINLINE void | __write_dr (int reg, uint64_t val) |
| FORCEINLINE void | __lidt (void *idt_ptr) |
| FORCEINLINE unsigned long int | __read_rflags (void) |
| FORCEINLINE void | __write_rflags (unsigned long int rflags) |
| FORCEINLINE unsigned short | __inword (unsigned short port) |
| FORCEINLINE void | __outword (unsigned short port, unsigned short val) |
| FORCEINLINE unsigned char | __inbyte (unsigned short port) |
| FORCEINLINE void | __outbyte (unsigned short port, unsigned char val) |
| FORCEINLINE void | send_eoi (unsigned char irq) |
| FORCEINLINE void | invlpg (void *m) |
| FORCEINLINE uint64_t | __readmsr (uint32_t msr) |
| FORCEINLINE void | __writemsr (uint32_t msr, uint64_t value) |
| FORCEINLINE uint64_t | __read_rbp (void) |
| FORCEINLINE uint64_t | __read_rsp (void) |
| FORCEINLINE uint64_t | __read_rip (void) |
| FORCEINLINE void | __pause (void) |
| FORCEINLINE uint64_t | __readgsqword (uint64_t offset) |
| FORCEINLINE uint64_t | __readfsqword (uint64_t offset) |
| FORCEINLINE void | __swapgs (void) |
| FORCEINLINE bool | __rdrand64 (uint64_t *out) |
| FORCEINLINE uint64_t | __rdtsc (void) |
| #define IA32_GS_BASE 0xC0000101 /* used both in kernel mode and user mode */ |
| FORCEINLINE void __cli | ( | void | ) |
| FORCEINLINE void __hlt | ( | void | ) |
| FORCEINLINE unsigned char __inbyte | ( | unsigned short | port | ) |
| FORCEINLINE unsigned short __inword | ( | unsigned short | port | ) |
| FORCEINLINE void __lidt | ( | void * | idt_ptr | ) |
| FORCEINLINE void __outbyte | ( | unsigned short | port, |
| unsigned char | val ) |
| FORCEINLINE void __outword | ( | unsigned short | port, |
| unsigned short | val ) |
| FORCEINLINE void __pause | ( | void | ) |
| FORCEINLINE bool __rdrand64 | ( | uint64_t * | out | ) |
| FORCEINLINE uint64_t __rdtsc | ( | void | ) |
| FORCEINLINE unsigned long int __read_cr0 | ( | void | ) |
| FORCEINLINE unsigned long __read_cr2 | ( | void | ) |
| FORCEINLINE uint64_t __read_cr3 | ( | void | ) |
| FORCEINLINE unsigned long __read_cr4 | ( | void | ) |
| FORCEINLINE unsigned long __read_cr8 | ( | void | ) |
| FORCEINLINE uint64_t __read_dr | ( | int | reg | ) |
| FORCEINLINE uint64_t __read_rbp | ( | void | ) |
| FORCEINLINE unsigned long int __read_rflags | ( | void | ) |
| FORCEINLINE uint64_t __read_rip | ( | void | ) |
| FORCEINLINE uint64_t __read_rsp | ( | void | ) |
| FORCEINLINE uint64_t __readfsqword | ( | uint64_t | offset | ) |
| FORCEINLINE uint64_t __readgsqword | ( | uint64_t | offset | ) |
| FORCEINLINE uint64_t __readmsr | ( | uint32_t | msr | ) |
| FORCEINLINE void __sti | ( | void | ) |
| FORCEINLINE void __swapgs | ( | void | ) |
| FORCEINLINE void __write_cr0 | ( | unsigned long int | val | ) |
| FORCEINLINE void __write_cr2 | ( | unsigned long | val | ) |
| FORCEINLINE void __write_cr3 | ( | uint64_t | val | ) |
| FORCEINLINE void __write_cr4 | ( | unsigned long | val | ) |
| FORCEINLINE void __write_cr8 | ( | unsigned long | val | ) |
| FORCEINLINE void __write_dr | ( | int | reg, |
| uint64_t | val ) |
| FORCEINLINE void __write_rflags | ( | unsigned long int | rflags | ) |
| FORCEINLINE void __writemsr | ( | uint32_t | msr, |
| uint64_t | value ) |
| FORCEINLINE void invlpg | ( | void * | m | ) |
| FORCEINLINE void send_eoi | ( | unsigned char | irq | ) |