From owner-p4-projects@FreeBSD.ORG Sat Apr 12 09:11:04 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1E98937B404; Sat, 12 Apr 2003 09:11:04 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 75F8937B401 for ; Sat, 12 Apr 2003 09:11:03 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FD4A43FAF for ; Sat, 12 Apr 2003 09:11:03 -0700 (PDT) (envelope-from robert@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3CGB20U022734 for ; Sat, 12 Apr 2003 09:11:02 -0700 (PDT) (envelope-from robert@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3CGB25D022729 for perforce@freebsd.org; Sat, 12 Apr 2003 09:11:02 -0700 (PDT) Date: Sat, 12 Apr 2003 09:11:02 -0700 (PDT) Message-Id: <200304121611.h3CGB25D022729@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to robert@freebsd.org using -f From: Robert Drehmel To: Perforce Change Reviews Subject: PERFORCE change 28827 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 16:11:05 -0000 http://perforce.freebsd.org/chv.cgi?CH=28827 Change 28827 by robert@robert_spes on 2003/04/12 09:11:01 Define the SPBlock macro - if `sgimips' is defined - to the value of the ARC BIOS SPB location on an SGI Octane. Add a comment which contains information on an issue which is still unresolved. Affected files ... .. //depot/projects/mips/sys/boot/arc/include/arcfuncs.h#2 edit Differences ... ==== //depot/projects/mips/sys/boot/arc/include/arcfuncs.h#2 (text+ko) ==== @@ -35,7 +35,19 @@ /* System Parameter Block holding ARC and VENDOR function vector addresses */ +#if defined(__alpha__) #define SPBlock ((SPB *)0xffffffff806fe000ul) +#elif defined(sgimips) +/* + * XXX This is probably not correct. + * All I know for sure is that the function vector is at + * address 0xa000000000001040 on a SGI Octane/R10000 here. + * That would be offset 0x40 of the usual ARCBIOS address + * 0xa000000000001000. + * But offsetof(SPB, FirmwareVectorP) is 0x3c! + */ +#define SPBlock ((SPB *)0xa000000000001008) +#endif /* * Convert between 32bit (ARC) and 64bit (Alpha) pointers