MentOS  0.8.0
The Mentoring Operating System
Classes | Typedefs | Functions
tss.h File Reference

Data structures concerning the Task State Segment (TSS). More...

Go to the source code of this file.

Classes

struct  tss_entry
 Task state segment entry. More...
 

Typedefs

typedef struct tss_entry tss_entry_t
 Task state segment entry.
 

Functions

void tss_flush (void)
 Flushes the Task State Segment.
 
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...
 

Detailed Description

Data structures concerning the Task State Segment (TSS).