Date: Sat, 12 Apr 2003 09:11:02 -0700 (PDT) From: Robert Drehmel <robert@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 28827 for review Message-ID: <200304121611.h3CGB25D022729@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304121611.h3CGB25D022729>