FreeNOS
Data Fields
TSS Struct Reference

Intel's Task State Segment. More...

#include <IntelCore.h>

Data Fields

u32 backlink
 
u32 esp0
 
u32 ss0
 
u32 esp1
 
u32 ss1
 
u32 esp2
 
u32 ss2
 
u32 cr3
 
u32 eip
 
u32 eflags
 
u32 eax
 
u32 ecx
 
u32 edx
 
u32 ebx
 
u32 esp
 
u32 ebp
 
u32 esi
 
u32 edi
 
u32 es
 
u32 cs
 
u32 ss
 
u32 ds
 
u32 fs
 
u32 gs
 
u32 ldt
 
u32 bitmap
 

Detailed Description

Intel's Task State Segment.

The TSS is mainly used for hardware context switching, which the current implementation does not use. The only fields used are the esp0 and ss0, which contain the kernel stack address and segment used when processing an interrupt.

Definition at line 152 of file IntelCore.h.

Field Documentation

◆ backlink

u32 TSS::backlink

Definition at line 154 of file IntelCore.h.

◆ bitmap

u32 TSS::bitmap

Definition at line 166 of file IntelCore.h.

Referenced by IntelKernel::IntelKernel().

◆ cr3

u32 TSS::cr3

Definition at line 158 of file IntelCore.h.

◆ cs

u32 TSS::cs

Definition at line 164 of file IntelCore.h.

◆ ds

u32 TSS::ds

Definition at line 164 of file IntelCore.h.

◆ eax

u32 TSS::eax

Definition at line 161 of file IntelCore.h.

◆ ebp

u32 TSS::ebp

Definition at line 162 of file IntelCore.h.

◆ ebx

u32 TSS::ebx

Definition at line 161 of file IntelCore.h.

◆ ecx

u32 TSS::ecx

Definition at line 161 of file IntelCore.h.

◆ edi

u32 TSS::edi

Definition at line 163 of file IntelCore.h.

◆ edx

u32 TSS::edx

Definition at line 161 of file IntelCore.h.

◆ eflags

u32 TSS::eflags

Definition at line 160 of file IntelCore.h.

◆ eip

u32 TSS::eip

Definition at line 159 of file IntelCore.h.

◆ es

u32 TSS::es

Definition at line 164 of file IntelCore.h.

◆ esi

u32 TSS::esi

Definition at line 163 of file IntelCore.h.

◆ esp

u32 TSS::esp

Definition at line 162 of file IntelCore.h.

◆ esp0

u32 TSS::esp0

Definition at line 155 of file IntelCore.h.

Referenced by IntelProcess::execute(), and IntelKernel::IntelKernel().

◆ esp1

u32 TSS::esp1

Definition at line 156 of file IntelCore.h.

◆ esp2

u32 TSS::esp2

Definition at line 157 of file IntelCore.h.

◆ fs

u32 TSS::fs

Definition at line 164 of file IntelCore.h.

◆ gs

u32 TSS::gs

Definition at line 164 of file IntelCore.h.

◆ ldt

u32 TSS::ldt

Definition at line 165 of file IntelCore.h.

◆ ss

u32 TSS::ss

Definition at line 164 of file IntelCore.h.

◆ ss0

u32 TSS::ss0

Definition at line 155 of file IntelCore.h.

Referenced by IntelKernel::IntelKernel().

◆ ss1

u32 TSS::ss1

Definition at line 156 of file IntelCore.h.

◆ ss2

u32 TSS::ss2

Definition at line 157 of file IntelCore.h.


The documentation for this struct was generated from the following file: