summaryrefslogtreecommitdiffstats
path: root/private/mvdm/softpc.new/base/ccpu386/sldt.c
diff options
context:
space:
mode:
Diffstat (limited to 'private/mvdm/softpc.new/base/ccpu386/sldt.c')
-rw-r--r--private/mvdm/softpc.new/base/ccpu386/sldt.c45
1 files changed, 45 insertions, 0 deletions
diff --git a/private/mvdm/softpc.new/base/ccpu386/sldt.c b/private/mvdm/softpc.new/base/ccpu386/sldt.c
new file mode 100644
index 000000000..08449a102
--- /dev/null
+++ b/private/mvdm/softpc.new/base/ccpu386/sldt.c
@@ -0,0 +1,45 @@
+/*[
+
+sldt.c
+
+LOCAL CHAR SccsID[]="@(#)sldt.c 1.5 02/09/94";
+
+SLDT CPU Functions.
+-------------------
+
+]*/
+
+
+#include <insignia.h>
+
+#include <host_def.h>
+#include <xt.h>
+#include <c_main.h>
+#include <c_addr.h>
+#include <c_bsic.h>
+#include <c_prot.h>
+#include <c_seg.h>
+#include <c_stack.h>
+#include <c_xcptn.h>
+#include <c_reg.h>
+#include <sldt.h>
+
+
+/*
+ =====================================================================
+ EXTERNAL ROUTINES START HERE
+ =====================================================================
+ */
+
+
+GLOBAL VOID
+SLDT
+
+IFN1(
+ IU32 *, pop1
+ )
+
+
+ {
+ *pop1 = GET_LDT_SELECTOR();
+ }