Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jul 2006 21:40:36 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 102806 for review
Message-ID:  <200607302140.k6ULeaSa015228@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=102806

Change 102806 by kmacy@kmacy_vt-x:dtrace on 2006/07/30 21:40:29

	add ttrace_addentry

Affected files ...

.. //depot/projects/dtrace/src/sys/sun4v/include/hypervisor_api.h#3 edit
.. //depot/projects/dtrace/src/sys/sun4v/include/hypervisorvar.h#2 edit
.. //depot/projects/dtrace/src/sys/sun4v/sun4v/hcall.S#2 edit

Differences ...

==== //depot/projects/dtrace/src/sys/sun4v/include/hypervisor_api.h#3 (text+ko) ====

@@ -110,6 +110,7 @@
 extern uint64_t hv_ttrace_buf_conf(uint64_t, uint64_t, uint64_t *);
 extern uint64_t hv_ttrace_enable(uint64_t, uint64_t *);
 extern uint64_t hv_ttrace_freeze(uint64_t, uint64_t *);
+extern uint64_t hv_ttrace_addentry(uint64_t, uint64_t, uint64_t, uint64_t, uint64_t);
 extern uint64_t hv_dump_buf_update(uint64_t, uint64_t, uint64_t *);
 
 extern int64_t hv_cnputchar(uint8_t);

==== //depot/projects/dtrace/src/sys/sun4v/include/hypervisorvar.h#2 (text+ko) ====

@@ -10,6 +10,7 @@
 #define	CPU_STICK_NPT		0x82
 #define	MMU_MAP_ADDR		0x83
 #define	MMU_UNMAP_ADDR		0x84
+#define TTRACE_ADDENTRY         0x85
 
 /*
  * Error returns in %o0.

==== //depot/projects/dtrace/src/sys/sun4v/sun4v/hcall.S#2 (text+ko) ====

@@ -1322,6 +1322,23 @@
 	SET_SIZE(hv_ttrace_freeze)
 
 	/*
+	 * TTRACE_ADDENTRY
+	 * arg0 tag (16-bits) (%o0)
+	 * arg1 data word 0 (%o1)
+	 * arg2 data word 1 (%o2)
+	 * arg3 data word 2 (%o3)
+	 * arg4 data word 3 (%o4)
+	 * ret0 status (%o0)
+	*/
+	ENTRY(hv_ttrace_addentry)
+	ta	TTRACE_ADDENTRY
+	retl
+	  nop	
+	SET_SIZE(hv_ttrace_freeze)
+
+
+	
+	/*
 	 * MACH_DESC
 	 * arg0 buffer real address
 	 * arg1 pointer to uint64_t for size of buffer



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