Date: Thu, 28 Nov 2002 11:11:56 -0800 (PST) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 21645 for review Message-ID: <200211281911.gASJBukU092905@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211281911.gASJBukU092905>