PERFORCE change 102619 for review

John Birrell jb at FreeBSD.org
Fri Jul 28 00:56:04 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=102619

Change 102619 by jb at jb_freebsd2 on 2006/07/28 00:55:46

	Move the CPU register snapshot code into an include file so that it can
	be included as part of the cpu_snapshot_save leaf function as well as
	being included inline in asm code where a 'call' to a function at tl1
	would end in tears.
	
	The index to the per-cpu snapshot array is the program counter when 
	embedded in asm code and %o7 when included in the cpu_snapshot_save leaf
	function.
	
	The most imprtant thing to capture in this info is the index (program
	counter or return address) because that identifies the section of code
	that the CPU was last seen executing.
	
	None of this would be needed if Sun would just make the hypervisor give
	access to another CPU's registers. Apparently that is work in progress
	at Sun.

Affected files ...

.. //depot/projects/dtrace/src/sys/sun4v/include/cpu_snapshot_save.h#1 add

Differences ...


More information about the p4-projects mailing list