DEADSOFTWARE

Kernel: fix kernels compilation and processor types
[cpc.git] / src / native / posix / 486 / System / Mod / Kernel.cp
index 2ffbe43c520daa3c7c64038e9572b6f5c931fe8d..7853c5178860262ae65fb327a594d7b5c459697e 100644 (file)
@@ -15,7 +15,7 @@ MODULE Kernel;
     littleEndian* = TRUE;
     timeResolution* = 1000; (* ticks per second *)
 
-    processor* = 1;  (* generic c *)
+    processor* = 10;  (* 486 *)
 
     objType* = "ocf"; (* file types *)
     symType* = "osf";
@@ -587,7 +587,7 @@ MODULE Kernel;
     | 9: eltyp := S.ADR(Char16Type)
     | 10: eltyp := S.ADR(Int64Type)
     | 11: eltyp := S.ADR(ProcType)
-    | 12: eltype := S.ADR(UPtrType)
+    | 12: eltyp := S.ADR(UPtrType)
     ELSE
       ASSERT(~ODD(eltyp), 101)  (* COM interface pointers not supported *)
     END;