PERFORCE change 94963 for review

John-Mark Gurney jmg at FreeBSD.org
Tue Apr 11 01:08:59 UTC 2006


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

Change 94963 by jmg at jmg_carbon-60 on 2006/04/11 01:08:05

	fix odering of args, the hcall.S has them this way, how anoying...
	
	make an arg uint64_t, the hv docs doesn't say how large this needs
	to be..

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/hypervisor_api.h#14 edit

Differences ...

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

@@ -130,13 +130,13 @@
 extern uint64_t hvio_iommu_demap(devhandle_t dev_hdl, tsbid_t tsbid,
 				pages_t pages, pages_t *pages_demapped);
 extern uint64_t hvio_iommu_getmap(devhandle_t dev_hdl, tsbid_t tsbid,
-				io_attributes_t *attributes_p,
-				r_addr_t *r_addr_p);
+				r_addr_t *r_addr_p,
+				io_attributes_t *attributes_p);
 extern uint64_t hvio_iommu_getbypass(devhandle_t dev_hdl, r_addr_t ra,
 				io_attributes_t io_attributes,
 				io_addr_t *io_addr_p);
 extern uint64_t hvio_dma_sync(devhandle_t dev_hdl, r_addr_t ra,
-				size_t num_bytes, int io_sync_direction,
+				size_t num_bytes, uint64_t io_sync_direction,
 				size_t *bytes_synched);
 
 extern void hv_magic_trap_on(void);


More information about the p4-projects mailing list