svn commit: r225899 - head/sys/sparc64/sparc64

Marius Strobl marius at FreeBSD.org
Sat Oct 1 13:11:29 UTC 2011


Author: marius
Date: Sat Oct  1 13:11:29 2011
New Revision: 225899
URL: http://svn.freebsd.org/changeset/base/225899

Log:
  Also allocate space for the PIL counters. Given that no machine actually
  uses IV_MAX interrupt vectors this wasn't a problem in practice though.

Modified:
  head/sys/sparc64/sparc64/exception.S

Modified: head/sys/sparc64/sparc64/exception.S
==============================================================================
--- head/sys/sparc64/sparc64/exception.S	Sat Oct  1 12:35:09 2011	(r225898)
+++ head/sys/sparc64/sparc64/exception.S	Sat Oct  1 13:11:29 2011	(r225899)
@@ -373,15 +373,15 @@ END(rsf_fatal)
 	_ALIGN_DATA
 	.globl	intrnames, sintrnames
 intrnames:
-	.space	IV_MAX * (MAXCOMLEN + 1)
+	.space	(IV_MAX + PIL_MAX) * (MAXCOMLEN + 1)
 sintrnames:
-	.quad	IV_MAX * (MAXCOMLEN + 1)
+	.quad	(IV_MAX + PIL_MAX) * (MAXCOMLEN + 1)
 
 	.globl	intrcnt, sintrcnt
 intrcnt:
-	.space	IV_MAX * 8
+	.space	(IV_MAX + PIL_MAX) * 8
 sintrcnt:
-	.quad	IV_MAX * 8
+	.quad	(IV_MAX + PIL_MAX) * 8
 
 	.text
 


More information about the svn-src-head mailing list