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 <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--

Reply via email to