Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2011 13:11:29 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r225899 - head/sys/sparc64/sparc64
Message-ID:  <201110011311.p91DBTIx018419@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110011311.p91DBTIx018419>