Only call addrspace_destroy() if USERPROG.
[pintos-anon] / src / threads / tss.h
1 #ifndef HEADER_TSS_H
2 #define HEADER_TSS_H
3
4 #include <stdint.h>
5
6 struct tss;
7 void tss_init (void);
8 struct tss *tss_get (void);
9 void tss_set_esp0 (uint8_t *);
10
11 #endif /* tss.h */