bsp.am

Thomas Doerfler (nt) Thomas.Doerfler at imd-systems.de
Mon Dec 3 07:08:20 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Till,

Till Straumann schrieb:
> So what do you suggest - two separate headers, one
> for the public interface, a second one for BSP-internal
> interfaces?

I think this would be better than writing internals and externals into
one header, making it visible but not available to the user.

Having two headers e.g. is implemented for termios: sys/termios.h for
the interface, rtems/termiostypes.h for the internal types.


> 
> The technique of hiding internal interfaces by such a symbol
> is already employed widely by the RTEMS kernel and
> by the networking code.

Yes, but things could be made better?

wkr,
Thomas.

- --
- --------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    Thomas.Doerfler at imd-systems.de
PGP public key available at:
     http://www.imd-systems.de/pgpkey_en.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHU6tjwHyg4bDtfjQRAmysAKCJkYfCClAdN29XTb1sMd7ve9iZmwCcCBE6
iG1Kvd99QK6md+O22WKDTgM=
=p1KX
-----END PGP SIGNATURE-----



More information about the users mailing list