From owner-p4-projects Thu Nov 28 11:15:44 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1B91537B404; Thu, 28 Nov 2002 11:15:43 -0800 (PST) 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 ABB5C37B401 for ; Thu, 28 Nov 2002 11:15:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6724C43EA9 for ; Thu, 28 Nov 2002 11:15:42 -0800 (PST) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gASJBvmV092908 for ; Thu, 28 Nov 2002 11:11:57 -0800 (PST) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gASJBukU092905 for perforce@freebsd.org; Thu, 28 Nov 2002 11:11:56 -0800 (PST) Date: Thu, 28 Nov 2002 11:11:56 -0800 (PST) Message-Id: <200211281911.gASJBukU092905@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar Subject: PERFORCE change 21645 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=21645 Change 21645 by marcel@marcel_nfs on 2002/11/28 11:11:21 Implement bus_space_subregion in the same way as done for i386. We use this in the vga(4) driver to create a handle for that part of the frame buffer that is visible. Affected files ... .. //depot/projects/ia64/sys/ia64/include/bus.h#4 edit Differences ... ==== //depot/projects/ia64/sys/ia64/include/bus.h#4 (text+ko) ==== @@ -131,9 +131,14 @@ * Get a new handle for a subregion of an already-mapped area of bus space. */ -int bus_space_subregion(bus_space_tag_t t, bus_space_handle_t bsh, - bus_size_t offset, bus_size_t size, - bus_space_handle_t *nbshp); +static __inline int +bus_space_subregion(bus_space_tag_t t, bus_space_handle_t bsh, + bus_size_t offset, bus_size_t size, + bus_space_handle_t *nbshp) +{ + *nbshp = bsh + offset; + return (0); +} /* * Allocate a region of memory that is accessible to devices in bus space. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message