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

Marius Strobl marius at FreeBSD.org
Sat Apr 10 10:56:59 UTC 2010


Author: marius
Date: Sat Apr 10 10:56:59 2010
New Revision: 206449
URL: http://svn.freebsd.org/changeset/base/206449

Log:
  Unlike the sun4v variant, the sun4u version of SUNW,set-trap-table
  actually only takes one argument.

Modified:
  head/sys/sparc64/sparc64/trap.c

Modified: head/sys/sparc64/sparc64/trap.c
==============================================================================
--- head/sys/sparc64/sparc64/trap.c	Sat Apr 10 10:44:41 2010	(r206448)
+++ head/sys/sparc64/sparc64/trap.c	Sat Apr 10 10:56:59 2010	(r206449)
@@ -260,7 +260,8 @@ sun4u_set_traptable(void *tba_addr)
 		cell_t tba_addr;
 	} args = {
 		(cell_t)"SUNW,set-trap-table",
-		2,
+		1,
+		0,
 	};
 
 	args.tba_addr = (cell_t)tba_addr;


More information about the svn-src-head mailing list