diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-19 19:55:40 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-02-19 19:55:40 +0000 |
commit | 89376b7141edb6f927fb940c27391cda6e67c785 (patch) | |
tree | 57dd01fd9328b879289493ba848ae5c34c607b91 /bsd_eth_drivers/libbsdport/README | |
download | libbsdport-89376b7141edb6f927fb940c27391cda6e67c785.tar.bz2 |
Initial import.initial
Diffstat (limited to 'bsd_eth_drivers/libbsdport/README')
-rw-r--r-- | bsd_eth_drivers/libbsdport/README | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bsd_eth_drivers/libbsdport/README b/bsd_eth_drivers/libbsdport/README new file mode 100644 index 0000000..14fd4a5 --- /dev/null +++ b/bsd_eth_drivers/libbsdport/README @@ -0,0 +1,29 @@ +This is a library and collection of header files +intended to ease porting recent FreeBSD (as of 7/2007) +drivers to RTEMS. Currently, only the PCI bus is supported. + +A lot of macro-magic is used in the 'libbsdport.h' +and 'libbsdport_post.h' headers which are te be included +from the driver source file prior and after the driver +includes the normal headers it uses: + +At the top of if_xxx.c add: + +#ifdef __rtems__ +#include <libbsdport.h> +#endif + +... leave all normal include statements in place... +#include <sys/yyy.h> + +lastly, add: + +#ifdef __rtems__ +#include <libbsdport_post.h> +#endif + +Note that libbsdport does not provide the full freebsd +kernel API but only a subset. + +<< MORE TO COME >> + |