blob: f17b619a0a535acdf5e5c252ec2f6856196f066d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/**
* @file tss.h
*
* @author Freya Murphy <freya@freyacat.org>
*
* TSS functions
*/
#ifndef TSS_H_
#define TSS_H_
#define TSS_REMAP_OFFSET 0x20
#include <stdint.h>
/**
* Load the TSS selector
*/
void tss_init(void);
/**
* Flush the tss
*/
void tss_flush(void);
/**
* Set the kernel stack pointer in the tss
*/
void tss_set_stack(uint64_t stack);
#endif /* tss.h */
|