FrostWing
A lightweight raw-control operating system.
Loading...
Searching...
No Matches
tss.h File Reference

Header file for TSS. More...

#include <basics.h>
#include <graphics.h>
#include <gdt.h>
Include dependency graph for tss.h:

Go to the source code of this file.

Functions

struct __attribute__ ((packed)) tss_entry
 x86_64 TSS Structure
void kernel_tss_init ()
 Initialize TSS.
void tss_load ()
 Load the TSS.

Variables

struct tss_entry tss
uint8_t kernel_stack [0x4000]
 16 KB kernel stack
uint64_t kernel_stack_top
 The starting address of kernel's stack.

Detailed Description

Header file for TSS.

Author
Pradosh (prado.nosp@m.shga.nosp@m.me@gm.nosp@m.ail..nosp@m.com)
Version
0.1
Date
2025-10-03

Definition in file tss.h.

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed) )

x86_64 TSS Structure

AHCI command header structure.

Definition at line 1 of file tss.h.