summaryrefslogtreecommitdiffstats
path: root/private/mvdm/softpc.new/base/ccpu386/c_tlb.h
diff options
context:
space:
mode:
Diffstat (limited to 'private/mvdm/softpc.new/base/ccpu386/c_tlb.h')
-rw-r--r--private/mvdm/softpc.new/base/ccpu386/c_tlb.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/private/mvdm/softpc.new/base/ccpu386/c_tlb.h b/private/mvdm/softpc.new/base/ccpu386/c_tlb.h
new file mode 100644
index 000000000..d1d0d4f32
--- /dev/null
+++ b/private/mvdm/softpc.new/base/ccpu386/c_tlb.h
@@ -0,0 +1,39 @@
+/*[
+
+c_tlb.h
+
+Translation Lookaside Buffer Emulation.
+---------------------------------------
+
+LOCAL CHAR SccsID[]="@(#)c_tlb.h 1.5 02/25/94";
+
+]*/
+
+
+/*
+ Page Accessor Types.
+ */
+#define PG_S 0x0 /* Supervisor */
+#define PG_U 0x2 /* User */
+
+IMPORT VOID flush_tlb IPT0();
+
+IMPORT VOID invalidate_tlb_entry IPT1
+ (
+ IU32, lin
+ );
+
+IMPORT IU32 lin2phy IPT2
+ (
+ IU32, lin,
+ ISM32, access
+ );
+
+IMPORT VOID test_tlb IPT0();
+
+extern IBOOL xtrn2phy IPT3
+ (
+ LIN_ADDR, lin,
+ IUM8, access_request,
+ PHY_ADDR *, phy
+ );