MentOS  0.8.0
The Mentoring Operating System
Macros | Functions | Variables
tss.c File Reference

Macros

#define __DEBUG_HEADER__   "[TSS ]"
 Change header.
 
#define __DEBUG_LEVEL__   LOGLEVEL_NOTICE
 Set log level.
 

Functions

void tss_init (uint8_t idx, uint32_t ss0)
 We don't need tss to assist task switching, but it's required to have one tss for switching back to kernel mode(system call for example). More...
 
void tss_set_stack (uint32_t kss, uint32_t kesp)
 This function is used to set the esp the kernel should be using. More...
 

Variables

static tss_entry_t kernel_tss
 The kernel.
 

Detailed Description