diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-10-20 12:49:16 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 2004-10-20 12:49:16 +0000 |
commit | 666be00caca11319514942c23a3c0f48db4bb768 (patch) | |
tree | a693f7523fd17764acc1700263eff8ac40e129b2 /sys/arch/sgi/stand | |
parent | 5ca85159004181139801964bee576b87be4abd22 (diff) |
Fix some 64 bit address problems.
Some function names made more unique.
Other changes for the upcoming Origin 200 support.
Diffstat (limited to 'sys/arch/sgi/stand')
-rw-r--r-- | sys/arch/sgi/stand/boot/arcbios.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/sgi/stand/boot/arcbios.c b/sys/arch/sgi/stand/boot/arcbios.c index 944608ced82..6724d926bd5 100644 --- a/sys/arch/sgi/stand/boot/arcbios.c +++ b/sys/arch/sgi/stand/boot/arcbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arcbios.c,v 1.3 2004/09/16 18:54:48 pefo Exp $ */ +/* $OpenBSD: arcbios.c,v 1.4 2004/10/20 12:49:15 pefo Exp $ */ /*- * Copyright (c) 1996 M. Warner Losh. All rights reserved. * Copyright (c) 1996-2004 Opsycon AB. All rights reserved. @@ -34,8 +34,6 @@ #define USE_SGI_PARTITIONS 1 -arc_param_blk_t *bios_base = ArcBiosBase; - void bios_configure_memory(void); int bios_get_system_type(void); const char *bios_get_path_component(const char *, char *, int *); @@ -175,8 +173,8 @@ bios_get_system_type() arc_sid_t *sid; int i; - if ((bios_base->magic != ARC_PARAM_BLK_MAGIC) && - (bios_base->magic != ARC_PARAM_BLK_MAGIC_BUG)) { + if ((ArcBiosBase32->magic != ARC_PARAM_BLK_MAGIC) && + (ArcBiosBase32->magic != ARC_PARAM_BLK_MAGIC_BUG)) { return(-1); /* This is not an ARC system */ } |