Date: Sun, 9 Apr 2000 10:47:20 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Warner Losh <imp@village.org> Cc: new-bus@freebsd.org Subject: Re: How dow you... Message-ID: <Pine.BSF.4.21.0004091045520.62105-100000@salmon.nlsystems.com> In-Reply-To: <200004090032.SAA24084@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Apr 2000, Warner Losh wrote: > ... get some memory. > > I need to get some memory. It needs to be in the ISA hole, but I don't care > where, just something that's not in use, 4k in size and aligned to 4k. I > know how to do the last clause of that, but not the rest. Ideas? You need to call bus_alloc_resource, using the start and end fields to constrain the returned memory to be within the hole and you probably need to incorporate the alignment patch which was floating around a while ago to make sure that its aligned correctly. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-new-bus" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004091045520.62105-100000>