git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
feat: No more kernel page table switching upon interrupt.
[lunaix-os.git]
/
lunaix-os
/
includes
/
arch
/
x86
/
tss.h
1
#ifndef __LUNAIX_TSS_H
2
#define __LUNAIX_TSS_H
3
#include <stdint.h>
4
5
struct x86_tss {
6
uint32_t link;
7
uint32_t esp0;
8
uint16_t ss0;
9
uint8_t __padding[94];
10
} __attribute__((packed));
11
12
void tss_update_esp(uint32_t esp0);
13
14
#endif /* __LUNAIX_TSS_H */