From owner-p4-projects@FreeBSD.ORG Tue Apr 11 01:08:59 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5474E16A405; Tue, 11 Apr 2006 01:08:59 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ED3416A400 for ; Tue, 11 Apr 2006 01:08:59 +0000 (UTC) (envelope-from jmg@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEC5E43D49 for ; Tue, 11 Apr 2006 01:08:58 +0000 (GMT) (envelope-from jmg@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3B18wOx055663 for ; Tue, 11 Apr 2006 01:08:58 GMT (envelope-from jmg@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3B18w1C055660 for perforce@freebsd.org; Tue, 11 Apr 2006 01:08:58 GMT (envelope-from jmg@freebsd.org) Date: Tue, 11 Apr 2006 01:08:58 GMT Message-Id: <200604110108.k3B18w1C055660@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmg@freebsd.org using -f From: John-Mark Gurney To: Perforce Change Reviews Cc: Subject: PERFORCE change 94963 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 01:08:59 -0000 http://perforce.freebsd.org/chv.cgi?CH=94963 Change 94963 by jmg@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);