tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PAE support] Types + cosmetic fixes



On Fri, Feb 26, 2010 at 09:12:55PM +0900, Izumi Tsutsui wrote:
> > bus_space_handle_t is different, for example.
> > I'm not sure the bus_space macros are the same.
> > 
> > Maybe atari vs mac68k was not the best example; if you look at
> > mac68k vs sun3 you'll find differences in macros and inline functions
> > in pmap.h
> 
> Are you talking about ABI of kernel modules?

Yes. modules can use bus_space, or inlines/macros from pmap
(eventually indirectly through e.g. bus_dma).

> 
> Of course different $MACHINEs have different ABI in kernel,
> but i386 and xen have the same $MACHINE, don't they?

they have, although it would make sense to make it different.
The main problem would be configure scripts that may not parse properly
a different $MACHINE.

> 
> Probably you should mention kernel modules for sun3 vs sun3x,

yes, that's also an issue for modules.


-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index