Date: Fri, 22 Jan 2016 07:25:12 -0800 From: Conrad Meyer <cem@FreeBSD.org> To: Wojciech Macek <wma@freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r294547 - head/sys/boot/kshim Message-ID: <CAG6CVpV=Swg3Wca0MCLjqwhEXfYPXp0hT94GtymcJodWfZNEig@mail.gmail.com> In-Reply-To: <201601220626.u0M6QBod047676@repo.freebsd.org> References: <201601220626.u0M6QBod047676@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Is this incomplete? On Thu, Jan 21, 2016 at 10:26 PM, Wojciech Macek <wma@freebsd.org> wrote: > Author: wma > Date: Fri Jan 22 06:26:11 2016 > New Revision: 294547 > URL: https://svnweb.freebsd.org/changeset/base/294547 > > Log: > Provide busdma stubs for loader/kshim > > Simple bus space stubs require the VA-PA mapping > to be identical. > > Approved by: hselasky, cognet (mentor) > Differential revision: https://reviews.freebsd.org/D4314 > > ... > > + ret = malloc(sizeof(struct bus_dma_tag), XXX, XXX); > ... > +int > +bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, > + bus_dmamap_t *mapp) > +{ > + void *addr; > + > + addr = malloc(dmat->maxsize + dmat->alignment, XXX, XXX); etc. Best, Conrad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpV=Swg3Wca0MCLjqwhEXfYPXp0hT94GtymcJodWfZNEig>