git://scm.lunaixsky.com
/
lunaix-os.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
931ff26a02738854b79dc90c15723dad18cb46e0
[lunaix-os.git]
/
lunaix-os
/
includes
/
arch
/
i386
/
tss.h
1
#ifndef __LUNAIX_TSS_H
2
#define __LUNAIX_TSS_H
3
4
#define tss_esp0_off 4
5
6
#ifndef __ASM__
7
#include <lunaix/types.h>
8
struct x86_tss
9
{
10
u32_t link;
11
u32_t esp0;
12
u16_t ss0;
13
u8_t __padding[94];
14
} __attribute__((packed));
15
16
void
17
tss_update_esp(u32_t esp0);
18
#endif
19
20
#endif /* __LUNAIX_TSS_H */