|
MentOS
0.8.0
The Mentoring Operating System
|
Kernel generic data structure and functions. More...
Go to the source code of this file.
Classes | |
| struct | pt_regs |
| Interrupt stack frame. More... | |
Macros | |
| #define | K 1024 |
| Kilobytes. | |
| #define | M (1024 * K) |
| Megabytes. | |
| #define | G (1024 * M) |
| Gigabytes. | |
Typedefs | |
| typedef struct pt_regs | pt_regs |
| Interrupt stack frame. More... | |
Variables | |
| uintptr_t | initial_esp |
| The initial stack pointer. More... | |
Kernel generic data structure and functions.
Interrupt stack frame.
When the CPU moves from Ring3 to Ring0 because of an interrupt, the following registes/values are moved into the kernel's stack
|
extern |
The initial stack pointer.
The initial stack pointer.