Problems with dma_alloc_coherent()

Paul Mackerras paulus at samba.org
Sun Apr 4 09:17:42 EST 2004


Brad Boyer writes:

> It's generally better not to decide this sort of thing at compile time
> if you want it to be portable. If you want an example of a kernel that
> can do everything, try compiling Linux for m68k sometime. You can have
> one kernel that can support Amigas, Ataris, Macs, and a few others all
> at once. I'm sure it goes without saying that pretty much everything
> other than the base CPU is different on each platform.  In fact, even
> just with 68k based Macs, Apple changed stuff so often that any two
> models may have almost nothing in common.

We tend not to do that with kernels for embedded systems, mainly
because memory is at a premium and people developing embedded systems
don't want to include any code that isn't going to get used.

Paul.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list