Move user exception support into userprog.
[pintos-anon] / src / userprog / tss.h
diff --git a/src/userprog/tss.h b/src/userprog/tss.h
new file mode 100644 (file)
index 0000000..a5476c7
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef HEADER_TSS_H
+#define HEADER_TSS_H
+
+#include <stdint.h>
+
+struct tss;
+void tss_init (void);
+struct tss *tss_get (void);
+void tss_set_esp0 (uint8_t *);
+
+#endif /* tss.h */