summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/include/autoconf.h
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>2004-08-09 14:57:27 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>2004-08-09 14:57:27 +0000
commit742d43747326c808a6f441af721d78525f69f4a8 (patch)
treedf270ec266f214aeb803b1ee29decdc03b1da0aa /sys/arch/sgi/include/autoconf.h
parentac8a30a6ca44a9d5f639c96c1c8fb2cf08ca1677 (diff)
Big cleanup. Removed some unused obsolete stuff and fixed copyrights
on some files. Arcbios support is now in, thus detects memorysize and cpu clock frequency.
Diffstat (limited to 'sys/arch/sgi/include/autoconf.h')
-rw-r--r--sys/arch/sgi/include/autoconf.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/arch/sgi/include/autoconf.h b/sys/arch/sgi/include/autoconf.h
index 8761e9ac4da..046b369c77c 100644
--- a/sys/arch/sgi/include/autoconf.h
+++ b/sys/arch/sgi/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.1 2004/08/06 21:12:18 pefo Exp $ */
+/* $OpenBSD: autoconf.h,v 1.2 2004/08/09 14:57:26 pefo Exp $ */
/*
* Copyright (c) 2001-2003 Opsycon AB (www.opsycon.se / www.opsycon.com)
@@ -43,20 +43,24 @@
/*
* Structure holding all misc config information.
*/
+#define MAX_CPUS 4
struct sys_rec {
int system_type;
struct {
- u_int32_t type;
- u_int32_t vers_maj;
- u_int32_t vers_min;
+ u_int16_t type;
+ u_int8_t vers_maj;
+ u_int8_t vers_min;
+ u_int16_t fptype;
+ u_int8_t fpvers_maj;
+ u_int8_t fpvers_min;
u_int32_t clock;
u_int32_t clock_bus;
u_int32_t tlbsize;
u_int32_t tlbwired;
u_int32_t cfg_reg;
u_int32_t stat_reg;
- } cpu;
+ } cpu[MAX_CPUS];
struct mips_bus_space local;
struct mips_bus_space isa_io;
struct mips_bus_space isa_mem;