diff options
author | Chris Johns <chrisj@rtems.org> | 2009-08-05 00:00:54 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2009-08-05 00:00:54 +0000 |
commit | 0d15414ed6c144f7f7e4ce63476b3eb9b94acceb (patch) | |
tree | d403db6ba0eae020e8613bb81a0427ca1ab85867 /cpukit/libmisc/dummy/dummy.c | |
parent | 2009-08-04 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-0d15414ed6c144f7f7e4ce63476b3eb9b94acceb.tar.bz2 |
009-08-05 Chris Johns <chrisj@rtems.org>
* libmisc/dummy/dummy-networking.c: New.
* libmisc/dummy/dummy.c, libmisc/Makefile.am: Move
trhe networking configuration into a separate file so
configuration varations do not cause conflicts.
* score/inline/rtems/score/object.inl,
score/include/rtems/score/object.h: Remove warnings.
* score/inline/rtems/score/object.inl: Add _Chain_First,
_Chain_Last, _Chain_Mext, and _Chain_Previous.
* sapi/inline/rtems/chain.inl: Add rtems_chain_first,
rtems_chain_last, rtems_chain_mext, and rtems_chain_previous.
* libblock/include/rtems/diskdevs.h: Remove the bdbuf pool id and
block_size_log2. Add media_block_size.
* libblock/src/diskdevs.c: Remove size restrictions on block
size. Add media block size initialisation. Remove comment to clean
up the bdbuf cache.
* libblock/src/blkdev.c: Remove references to
block_size_log2. Allow any block size.
* libblock/include/rtems/bdbuf.h, libblock/src/bdbuf.c: Remove all
references to pools and make the cache handle demand driver
variable buffer size allocation. Added worker threads support the
swapout task.
* sapi/include/confdefs.h: Updated the bdbuf configutation.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libmisc/dummy/dummy.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/cpukit/libmisc/dummy/dummy.c b/cpukit/libmisc/dummy/dummy.c index d577689114..b062c06091 100644 --- a/cpukit/libmisc/dummy/dummy.c +++ b/cpukit/libmisc/dummy/dummy.c @@ -36,43 +36,3 @@ int main( int, char **, char **); #include <rtems/confdefs.h> -/* Loopback Network Configuration */ -#if defined(RTEMS_NETWORKING) - #include <rtems/rtems_bsdnet.h> - #include <sys/socket.h> - #include <netinet/in.h> - - extern int rtems_bsdnet_loopattach(struct rtems_bsdnet_ifconfig *, int); - - static struct rtems_bsdnet_ifconfig loopback_config = { - "lo0", /* name */ - rtems_bsdnet_loopattach, /* attach function */ - NULL, /* link to next interface */ - "127.0.0.1", /* IP address */ - "255.0.0.0", /* IP net mask */ - 0, /* hardware_address */ - 0, 0, 0, 0, - 0, 0, 0, - 0 - }; - - struct rtems_bsdnet_config rtems_bsdnet_config = { - &loopback_config, /* Network interface */ - NULL, /* Use fixed network configuration */ - 0, /* Default network task priority */ - 0, /* Default mbuf capacity */ - 0, /* Default mbuf cluster capacity */ - "testSystem", /* Host name */ - "nowhere.com", /* Domain name */ - "127.0.0.1", /* Gateway */ - "127.0.0.1", /* Log host */ - {"127.0.0.1" }, /* Name server(s) */ - {"127.0.0.1" }, /* NTP server(s) */ - 1, /* sb_efficiency */ - 0, /* udp_tx_buf_size */ - 0, /* udp_rx_buf_size */ - 0, /* tcp_tx_buf_size */ - 0 /* tcp_rx_buf_size */ - }; -#endif - |