git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix: passing intr_ctx to soft_iret corrupts the stack of next proccess when performin...
[lunaix-os.git]
/
lunaix-os
/
kernel
/
asm
/
x86
/
tss.c
1
#include <arch/x86/tss.h>
2
#include <lunaix/common.h>
3
4
struct x86_tss _tss = {
5
.link = 0,
6
.esp0 = KSTACK_START,
7
.ss0 = KDATA_SEG
8
};
9
10
void tss_update_esp(uint32_t esp0) {
11
_tss.esp0 = esp0;
12
}