summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/include/autoconf.h
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>2004-09-20 10:31:17 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>2004-09-20 10:31:17 +0000
commite23dc300a351fc939a2fc15cf95007bf6bac77fe (patch)
treede7d537ecf99f691e339cef008ca6ecc7cc5a949 /sys/arch/sgi/include/autoconf.h
parent92bf9ed453ee4ec9bed85639bb539260d2f319c4 (diff)
Add support for R10K cpu class
Diffstat (limited to 'sys/arch/sgi/include/autoconf.h')
-rw-r--r--sys/arch/sgi/include/autoconf.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/arch/sgi/include/autoconf.h b/sys/arch/sgi/include/autoconf.h
index de6943333c7..cfeca154e64 100644
--- a/sys/arch/sgi/include/autoconf.h
+++ b/sys/arch/sgi/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.7 2004/08/10 21:11:42 pefo Exp $ */
+/* $OpenBSD: autoconf.h,v 1.8 2004/09/20 10:31:16 pefo Exp $ */
/*
* Copyright (c) 2001-2003 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -56,12 +56,21 @@ struct sys_rec {
u_int32_t cfg_reg;
u_int32_t stat_reg;
} cpu[MAX_CPUS];
+ /* Published Cache OPS */
+ void (*_SyncCache)(void);
+ void (*_InvalidateICache)(vaddr_t, int);
+ void (*_InvalidateICachePage)(vaddr_t);
+ void (*_SyncDCachePage)(vaddr_t);
+ void (*_HitSyncDCache)(vaddr_t, int);
+ void (*_IOSyncDCache)(vaddr_t, int, int);
+ void (*_HitInvalidateDCache)(vaddr_t, int);
+ /* BUS mappings */
struct mips_bus_space local;
struct mips_bus_space isa_io;
struct mips_bus_space isa_mem;
struct mips_bus_space pci_io[2];
struct mips_bus_space pci_mem[2];
-
+ /* Console/Serial configuration */
int cons_baudclk;
struct mips_bus_space console_io; /* for stupid map designs */
struct mips_bus_space *cons_iot;