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: argv, envp passing
[lunaix-os.git]
/
lunaix-os
/
kernel
/
asm
/
x86
/
tss.c
1
#include <arch/x86/tss.h>
2
#include <lunaix/common.h>
3
4
volatile struct x86_tss _tss = { .link = 0,
5
.esp0 = KSTACK_TOP,
6
.ss0 = KDATA_SEG };
7
8
void
9
tss_update_esp(u32_t esp0)
10
{
11
_tss.esp0 = esp0;
12
}