summaryrefslogtreecommitdiff
path: root/sys/arch/arc/include/cpu.h
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-08-26 11:12:04 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-08-26 11:12:04 +0000
commitd839639afe6c5828f1e17b3a6b6762d250d49b68 (patch)
tree79af0d5d3081bd2b1b6eda7d5fc2c8752648865f /sys/arch/arc/include/cpu.h
parent42cd6d30a630d04191471afa01a3b396e7253b2d (diff)
Changes and bugfixes in memory handling system.
Sysmap too small. Alloc map page failure. Support for discontigous memory. Needs testing. Name changes. "Mach" removal. Kernel memory size increased.
Diffstat (limited to 'sys/arch/arc/include/cpu.h')
-rw-r--r--sys/arch/arc/include/cpu.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/sys/arch/arc/include/cpu.h b/sys/arch/arc/include/cpu.h
index f43cf199abf..3330f03c8b9 100644
--- a/sys/arch/arc/include/cpu.h
+++ b/sys/arch/arc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.2 1996/07/16 07:46:17 pefo Exp $ */
+/* $OpenBSD: cpu.h,v 1.3 1996/08/26 11:12:02 pefo Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -62,7 +62,9 @@
#define PHYS_TO_UNCACHED(x) ((unsigned)(x) | UNCACHED_MEMORY_ADDR)
#define VA_TO_CINDEX(x) ((unsigned)(x) & 0xffffff | CACHED_MEMORY_ADDR)
+#if 0
#define CODE_START 0x80080000
+#endif
#ifdef _KERNEL
/*
@@ -401,11 +403,12 @@ union cpuprid {
#if defined(_KERNEL) && !defined(_LOCORE)
union cpuprid cpu_id;
union cpuprid fpu_id;
-u_int machPrimaryDataCacheSize;
-u_int machPrimaryInstCacheSize;
-u_int machPrimaryDataCacheLSize;
-u_int machPrimaryInstCacheLSize;
-u_int machCacheAliasMask;
+u_int CpuPrimaryDataCacheSize;
+u_int CpuPrimaryInstCacheSize;
+u_int CpuPrimaryDataCacheLSize;
+u_int CpuPrimaryInstCacheLSize;
+u_int CpuCacheAliasMask;
+u_int CpuTwoWayCache;
extern struct intr_tab intr_tab[];
#endif