From owner-p4-projects@FreeBSD.ORG Sun Apr 2 04:13:22 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 6B81C16A401; Sun, 2 Apr 2006 04:13:22 +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 23B9716A422 for ; Sun, 2 Apr 2006 04:13:22 +0000 (UTC) (envelope-from kmacy@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E226D43D45 for ; Sun, 2 Apr 2006 04:13:21 +0000 (GMT) (envelope-from kmacy@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 k324DLqZ098065 for ; Sun, 2 Apr 2006 04:13:21 GMT (envelope-from kmacy@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k324DLvh098062 for perforce@freebsd.org; Sun, 2 Apr 2006 04:13:21 GMT (envelope-from kmacy@freebsd.org) Date: Sun, 2 Apr 2006 04:13:21 GMT Message-Id: <200604020413.k324DLvh098062@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kmacy@freebsd.org using -f From: Kip Macy To: Perforce Change Reviews Cc: Subject: PERFORCE change 94434 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: Sun, 02 Apr 2006 04:13:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=94434 Change 94434 by kmacy@kmacy_storage:sun4v_work on 2006/04/02 04:13:10 add hvio_config_get Affected files ... .. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/hypervisor_api.h#6 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/hypervisor_api.h#6 (text+ko) ==== @@ -92,9 +92,10 @@ extern uint64_t hvio_intr_setstate(uint64_t sysino, int intr_state); extern uint64_t hvio_intr_gettarget(uint64_t sysino, uint32_t *cpuid); extern uint64_t hvio_intr_settarget(uint64_t sysino, uint32_t cpuid); -extern uint64_t hvio_peek(uint64_t dev_hdl, uint64_t r_addr, uint64_t size, +extern uint64_t hvio_peek(devhandle_t dev_hdl, uint64_t r_addr, uint64_t size, uint64_t *err_flag, uint64_t *data); - +extern uint64_t hvio_config_get(devhandle_t dev_hdl, uint64_t pci_device, + uint64_t r_addr, uint64_t size, uint32_t *data); extern void hv_magic_trap_on(void); extern void hv_magic_trap_off(void);