PERFORCE change 28827 for review
Robert Drehmel
robert at FreeBSD.org
Sat Apr 12 09:11:05 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28827
Change 28827 by robert at 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
More information about the p4-projects
mailing list