OSDN Git Service

projects clean up 1
[pinoc/pinoc.git] / tryos / tryos_test / pinoc_x86 / test / PINoC / boot / head / segment_descriptor.h
diff --git a/tryos/tryos_test/pinoc_x86/test/PINoC/boot/head/segment_descriptor.h b/tryos/tryos_test/pinoc_x86/test/PINoC/boot/head/segment_descriptor.h
new file mode 100644 (file)
index 0000000..ed72c57
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef SEGMENT_DESCRIPTOR_H_
+#define SEGMENT_DESCRIPTOR_H_
+
+#include "../../../common/typedef.h"
+#include "../../../lib/string.h"
+
+class segment_descriptor
+{
+private:
+public:
+       vo io_sd16(SD* _sd, ui base, ui limit, u1 a, u1 type, u1 s, u1 dpl, u1 p, u1 avl, u1 db, u1 g);
+       vo LGDT16(u2 Limit, u4 Base);
+       vo LIDT16(u2 Limit, u4 Base);
+};
+
+
+#endif /* SEGMENT_DESCRIPTOR_H_ */