Commit graph

22 commits

Author SHA1 Message Date
Stefan Lankes
2f64a5c772 replace tcpip_input by ethernet_input/ip_input
All MetalSVM drivers guarantee that the input function will be called in the context of the tcpip thread.
Therefore, we are able to use ethernet_input/ip_input instead of tcpip_input
2012-09-11 10:36:29 +02:00
Stefan Lankes
78e4fc2257 removce wrong enhancement of LwIP error counters 2012-08-01 14:38:49 +02:00
Stefan Lankes
ac20297df9 extending the RTL8139 driver for the new PCI interface 2012-07-26 09:09:58 +02:00
Stefan Lankes
24914fcb4f add prototype of a tickless kernel
only by entering the kernel, the tick counter will be updated
=> by using this feature, MetalSVM supports only LwIP's raw interface,
   because we have no guarantee that the tcpip thread will get computation time
=> no NETCONN & BSD socket support
=> no load balancing support
2012-07-03 16:46:54 +02:00
Stefan Lankes
1ada6d15af minor optimizations, avoiding mailbox overflow 2011-09-20 21:05:15 +02:00
Stefan Lankes
d199ee059b avoid mailbox overflow by sending a polling request to the tcpip thread 2011-09-20 16:38:37 +02:00
Stefan Lankes
9bafdf63c5 use pbuf_free_callback to free pbufs in the context of an interrupt handler
=> forward this request to the tcpip thread
2011-09-18 22:42:12 +02:00
Stefan Lankes
2f9f6916c5 cosmetic changes 2011-09-18 18:05:05 +02:00
Stefan Lankes
e0e3a4fd82 improve the performance by using the "wrap modus"
=> http://wiki.osdev.org/RTL8139
2011-09-17 08:41:33 +02:00
Stefan Lankes
ce4bfa61bd fix bug in ring buffer handling 2011-09-17 00:55:47 +02:00
Stefan Lankes
308f9b136f remove tcpip_callback(netif_set_link_up, netif)
=> the initd will set the link up
2011-09-07 10:11:16 +02:00
Stefan Lankes
4fe793e607 use tcpip_callback(netif_set_link_up, netif) to set the flag NETIF_FLAG_LINK_UP 2011-09-01 21:30:11 +02:00
Stefan Lankes
87cd484bb9 add additional debug information 2011-08-06 15:46:10 +02:00
Stefan Lankes
253ec92ca0 remove obsolete wait function
=> IRQ handler uses directly the LwIP stacks
2011-08-01 21:52:57 +02:00
Stefan Lankes
a26f88c940 cosmetic changes 2011-07-31 19:17:42 +02:00
Stefan Lankes
1157306567 remove typo 2011-04-22 23:19:53 -07:00
Stefan Lankes
900c67c2a0 remove obsolete flags 2011-04-22 09:31:33 +02:00
Stefan Lankes
16efb49204 remove obsolete function arguments 2011-02-24 10:15:58 +01:00
stefan
ab442041c1 - remove bug in the network driver
=> now, we use correct irq number


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@334 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-12-13 21:58:46 +00:00
stefan
45219bce2e - huge commit
- enable the paging support
- redesign of the APIC code

TODO:
- Currently, we are not able to start user-level applications.
- The RTL8139 driver does not longer work. Perhaps, a bug in the output function.
- The APIC codes doesn't work on all systems. Therefore, the code is currently disabled.



git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@326 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-12-10 06:16:58 +00:00
stefan
c3c7468208 - some code cleanup
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@301 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-11-30 19:47:46 +00:00
stefan
6dc323dd6e - Add a quick and dirty driver for the RTL8139 network adapters
- Currently, the driver detects only one adapter card. But the driver is already prepared to support several adapters.


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@296 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-11-30 06:04:56 +00:00