Commit Graph

299 Commits

Author SHA1 Message Date
hidnplayr
d93ba1183b Small update in TCP code, stub for TCP_close
git-svn-id: svn://kolibrios.org@1716 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-12-10 18:37:02 +00:00
Artem Jerdev (art_zh)
5ce26ca2da Kolibri-A: non-cacheable WinMap = BARE TEST VERSION! =
git-svn-id: svn://kolibrios.org@1710 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-24 16:10:45 +00:00
Artem Jerdev (art_zh)
c910c0615f hline/vline coolhack a-la Serge
git-svn-id: svn://kolibrios.org@1708 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-24 00:40:14 +00:00
Artem Jerdev (art_zh)
1feef39077 VESA 32bpp optimisation
git-svn-id: svn://kolibrios.org@1707 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-23 10:44:43 +00:00
Artem Jerdev (art_zh)
57b74ef78d blue screen removal: some bugs fixed
git-svn-id: svn://kolibrios.org@1703 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-15 23:04:33 +00:00
Artem Jerdev (art_zh)
39b5906518 Kolibri-A: anoying blue screen menu removed
git-svn-id: svn://kolibrios.org@1700 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-14 19:30:26 +00:00
Artem Jerdev (art_zh)
ccb39c0999 simplified kernel build scripts
git-svn-id: svn://kolibrios.org@1699 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-14 01:19:48 +00:00
Artem Jerdev (art_zh)
500832c01d SYNC WITH MAIN TRUNC: kernel-A updated to $1687
git-svn-id: svn://kolibrios.org@1689 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-06 23:50:26 +00:00
Artem Jerdev (art_zh)
309387e070 sync with main kernel: rotationless sysfn62 call
git-svn-id: svn://kolibrios.org@1687 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-05 10:31:58 +00:00
Artem Jerdev (art_zh)
74c5e79c92 init.inc optimized for AMD chipsets
git-svn-id: svn://kolibrios.org@1683 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-11-01 11:30:29 +00:00
Artem Jerdev (art_zh)
6cb25c9e01 Kolibri-A: Linux-friendly now
git-svn-id: svn://kolibrios.org@1678 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-10-25 12:43:42 +00:00
Artem Jerdev (art_zh)
c801706373 CDROM is not supported any more...
git-svn-id: svn://kolibrios.org@1664 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-10-17 18:19:57 +00:00
Artem Jerdev (art_zh)
112a3665cb an experimental kernel with a mad syscall and FHT inside
git-svn-id: svn://kolibrios.org@1641 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-10-03 23:11:42 +00:00
Sergey Semyonov (Serge)
1e30c8e1c2 APIC patch from Ghost. Not tested.
git-svn-id: svn://kolibrios.org@1638 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-10-01 20:49:29 +00:00
Sergey Semyonov (Serge)
8f992ed021 acpi branch
git-svn-id: svn://kolibrios.org@1635 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-10-01 09:21:55 +00:00
Artem Jerdev (art_zh)
8c44a1652a a test version with FFT library inside kernel
git-svn-id: svn://kolibrios.org@1626 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-09-26 16:16:10 +00:00
Artem Jerdev (art_zh)
e5b8886135 1) SouthBridge utilities;
2) reverted for the old (but stable) 62syscall for a while...

git-svn-id: svn://kolibrios.org@1599 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-09-02 20:24:07 +00:00
Alexey Teplov (
0b08e1d642 A sys func. 62 have call without cross registers.
git-svn-id: svn://kolibrios.org@1587 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-24 15:08:47 +00:00
Artem Jerdev (art_zh)
5c5ccb819d rs780 northbridge test utilities (for 6 major config spaces)
git-svn-id: svn://kolibrios.org@1565 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-11 09:52:24 +00:00
hidnplayr
1d3a993b72 Fixed PCnet driver.
git-svn-id: svn://kolibrios.org@1564 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-09 15:40:52 +00:00
hidnplayr
d870ca09d5 Fixed typo in driverlist of netcfg
git-svn-id: svn://kolibrios.org@1562 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-08 19:54:52 +00:00
hidnplayr
0840e2b342 MTD80x driver for net branch:
Only mtd803 aka surecom ep-320x for now.

git-svn-id: svn://kolibrios.org@1561 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-07 21:04:24 +00:00
Artem Jerdev (art_zh)
849a203279 PCIe config bugs fixed
git-svn-id: svn://kolibrios.org@1560 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-07 12:38:03 +00:00
hidnplayr
08ea0b5f68 Latest bugfix in RTL8169 for today.
git-svn-id: svn://kolibrios.org@1559 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-06 22:26:00 +00:00
hidnplayr
cb06c448b9 Update of RTL8169 driver for net branch
git-svn-id: svn://kolibrios.org@1558 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-06 22:15:25 +00:00
hidnplayr
00d5a0b321 Some bugfixes in RTL8169 driver for net branch.
git-svn-id: svn://kolibrios.org@1557 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-06 13:12:11 +00:00
hidnplayr
0503ca2897 Fixed RTL8139 driver.
bugfix in RTL8169 driver.

git-svn-id: svn://kolibrios.org@1556 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-05 14:03:47 +00:00
hidnplayr
1dd3566e02 I uploaded the wrong file in previous revision
reverted the file + uploaded right file this time

git-svn-id: svn://kolibrios.org@1554 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-03 15:36:54 +00:00
hidnplayr
6d55f4e33d RTL8169 driver for NET branch (not tested/debugged yet!)
git-svn-id: svn://kolibrios.org@1553 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-03 15:21:38 +00:00
Artem Jerdev (art_zh)
24fbc88418 further AMD-kernel tuning:
1)faster syscall bridge for future APIs; 
2)HyperTransport module added (quite raw yet);
4)unrestricted i/o port access;
3)some MeOS rudiments removed. 

git-svn-id: svn://kolibrios.org@1551 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-03 13:07:43 +00:00
hidnplayr
7d3a0d9fb0 Bugfix in 3com network driver concerning tx reset on transmit.
git-svn-id: svn://kolibrios.org@1545 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-01 17:39:54 +00:00
hidnplayr
714722b812 ICMP checksum validation + cleanup of echo reply code
git-svn-id: svn://kolibrios.org@1544 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-01 14:47:24 +00:00
hidnplayr
5b0ea56111 Updated SOCKET_listen and SOCKET_accept so they can actually work now.
Changed SOCKET_alloc so that it returns better socket numbers.

git-svn-id: svn://kolibrios.org@1543 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-31 19:44:17 +00:00
hidnplayr
445f854cae Correct use of TYPE and PROTOCOL parameters in socket function
git-svn-id: svn://kolibrios.org@1542 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-31 11:17:06 +00:00
hidnplayr
8a7ebf6b32 fix in ARPcfg application
added pci ids of dec21x4x cards to netcfg
bugfixes in dex21x4x driver, pcnet32 driver, rtl8139 driver and sis900 driver
new network program (ICMP) to ping computers, uses new RAW socket code (experimental)

git-svn-id: svn://kolibrios.org@1541 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-30 21:54:27 +00:00
hidnplayr
0ae1d5df1d Synergy client for KolibriOS net branch.
For more info about synergy: http://synergy2.sourceforge.net/

git-svn-id: svn://kolibrios.org@1539 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-30 17:55:49 +00:00
hidnplayr
718d8df6de Refactoring of socket.inc
bugfix in ETH_output when sending packets of 60 bytes
updates in TCP code

git-svn-id: svn://kolibrios.org@1536 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-30 09:09:06 +00:00
hidnplayr
22f5ee5447 Some bugfixes in TCP, still very buggy however
git-svn-id: svn://kolibrios.org@1534 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-29 14:03:16 +00:00
hidnplayr
b90d3b7f56 Updates in TCP code of net branch
git-svn-id: svn://kolibrios.org@1533 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-28 23:59:42 +00:00
hidnplayr
5e2d9e4b59 Fixed bugs in previous revision
git-svn-id: svn://kolibrios.org@1530 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-27 22:08:21 +00:00
hidnplayr
fab920c5c8 Deleted double macro in netdrv.inc
Refactoring of ARP code.
Used universal names for protocol handlers.
Moved some pieces of code from procs to macros.
Added IPv4_fragment (currently disabled)
Added ring-buffer functions for sockets 
Updates in TCP code

git-svn-id: svn://kolibrios.org@1529 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-27 18:53:38 +00:00
hidnplayr
f01c3da0f2 Made Netstat application run on P5 processors
git-svn-id: svn://kolibrios.org@1528 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-27 16:10:11 +00:00
hidnplayr
c6d66896a5 net branch: Fixed previously broken ne2000/rtl8029 driver
git-svn-id: svn://kolibrios.org@1527 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-26 19:06:33 +00:00
hidnplayr
55e0141343 Fixed 3c59x driver to work with 3c900b-tpo cards
git-svn-id: svn://kolibrios.org@1521 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-16 15:37:50 +00:00
hidnplayr
084d99548d -Refactoring of network drivers.
-Ommitted unnescessary copying of packets in some drivers.
-Some small updates in TCP (perhaps 50% done ?)

git-svn-id: svn://kolibrios.org@1519 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-15 18:54:19 +00:00
hidnplayr
6a1d621671 - globalisation of network driver functions
(Replaced EthRegDev with NetRegDev)
- rewrite/cleanup of socket.inc
- started rewrite of tcp.inc 
- port numbers in application are not byte-swapped anymore
- many more fixes and changes

- TCP does not work but UDP/IP/ICMP/ARP (partly) work.. (as before)



git-svn-id: svn://kolibrios.org@1514 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-11 23:13:12 +00:00
Artem Jerdev (art_zh)
090643ac3f lo-res vesa modes excluded
git-svn-id: svn://kolibrios.org@1508 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-28 11:46:11 +00:00
Artem Jerdev (art_zh)
1b582176be basic embedded features
git-svn-id: svn://kolibrios.org@1507 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-25 17:44:14 +00:00
Artem Jerdev (art_zh)
93e2a6c29f some mess cleanout
git-svn-id: svn://kolibrios.org@1506 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-25 16:53:52 +00:00
Artem Jerdev (art_zh)
9022bde80a Embedded KOS (AMD/HT version)
git-svn-id: svn://kolibrios.org@1505 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-25 16:47:51 +00:00
hidnplayr
cb55d99b40 Net-branch: Updates in dec21x4x.asm, still only works in virtual pc.
git-svn-id: svn://kolibrios.org@1503 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-22 16:15:11 +00:00
hidnplayr
ba3fb040e1 Net-branch: another work in progress: dec21x4x driver.
Only works in MS Virtual-PC for now. (not on real hardware yet)

git-svn-id: svn://kolibrios.org@1502 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-20 22:36:52 +00:00
hidnplayr
34efef1da5 Updates in RTL8029 and PCNET32 driver.
Moved public data structure for network drivers to netdrv.inc

git-svn-id: svn://kolibrios.org@1492 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-11 16:44:47 +00:00
hidnplayr
7ccd311e15 Net-branch:
Fixed bug in RTL8139 interrupt handler.

git-svn-id: svn://kolibrios.org@1486 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-07 18:48:49 +00:00
hidnplayr
721a4859b3 net-branch:
Fix crash in udp.inc when arp-entry is not found.
Fixed bug in deleting of arp entry's

git-svn-id: svn://kolibrios.org@1485 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-07 16:10:07 +00:00
hidnplayr
9cbcb28cd1 Looks like I uploaded wrong udp.inc in previous revision...
git-svn-id: svn://kolibrios.org@1484 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-07 14:17:36 +00:00
hidnplayr
e4b0f6f30d net-branch:
Fixed error in udp.inc
Fixed another error in checksum, seems to work bug-free now :)

git-svn-id: svn://kolibrios.org@1483 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-07 12:57:52 +00:00
hidnplayr
34c194bda4 Net-branch:
Fixed Bugs in checksum, introduced in #1473
Checksum for IP/UDP/TCP is now very fast.


git-svn-id: svn://kolibrios.org@1482 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-07 09:37:13 +00:00
hidnplayr
049d796e81 Net-branch:
Added statistics to 3c59x driver.
Fixed mixed up DNS and Gateway of static settings for zeroconf

git-svn-id: svn://kolibrios.org@1481 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-06 19:04:46 +00:00
hidnplayr
63480d7af3 Fixed merging error in RTL8139.Asm for net-branch
git-svn-id: svn://kolibrios.org@1478 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-01 14:53:43 +00:00
hidnplayr
c59969f41c Updates in net branch coded 6 months ago.
Mostly concerning checksuming, and cleanups

git-svn-id: svn://kolibrios.org@1473 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-05-28 20:47:32 +00:00
hidnplayr
9ca8f38b9e Changes in net_branch:
Fixed yet another bug in RTL8139 driver (should be almost bug-free now)
Added 3com driver (only boomerang cards tested)
If somebody has a vortex type 3com card, please help me debug the driver!



git-svn-id: svn://kolibrios.org@1472 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-05-28 15:40:36 +00:00
CleverMouse
35c4be95ad fix typo in network drivers
git-svn-id: svn://kolibrios.org@1377 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-22 11:09:23 +00:00
CleverMouse
d003a8b8fe sync with trunk
git-svn-id: svn://kolibrios.org@1376 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-15 11:54:11 +00:00
IgorA
2aad33c4e5 deleted file 'editbox_ex.mac' all programs
git-svn-id: svn://kolibrios.org@1373 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-09 22:01:26 +00:00
hidnplayr
db3d073d65 Changes in net branch:
More fixes in UDP
added TFTP client

git-svn-id: svn://kolibrios.org@1337 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-28 21:02:54 +00:00
hidnplayr
3b4749a91b UDP fixes for net branch
git-svn-id: svn://kolibrios.org@1335 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-27 21:05:25 +00:00
hidnplayr
0e0b5fb665 More TCP code updates for net branch, code is still very unstable
git-svn-id: svn://kolibrios.org@1318 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-13 14:55:42 +00:00
Sergey Semyonov (Serge)
5da0aff00a kms: rc8
git-svn-id: svn://kolibrios.org@1313 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-10 19:32:56 +00:00
CleverMouse
18d56a4087 allow query of TCP socket state through getsockopt()
git-svn-id: svn://kolibrios.org@1299 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-30 11:19:59 +00:00
hidnplayr
7b9c6b519b Changes in Net Branch: Proof of concept 'Telnet Client'
git-svn-id: svn://kolibrios.org@1282 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-22 17:27:10 +00:00
hidnplayr
c14545104d changes in Net Branch: further development of TCP code
git-svn-id: svn://kolibrios.org@1281 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-22 17:25:31 +00:00
hidnplayr
e586c535b0 Updates in TCP code of net branch
Actively initiating a connection works, other things not tested yet.

git-svn-id: svn://kolibrios.org@1274 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-15 21:44:17 +00:00
CleverMouse
e71825c2b1 * fixed return value for udp send()
* added required zero-initialization of some fields in pcnet driver
* fixed debug output in pcnet driver


git-svn-id: svn://kolibrios.org@1263 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-10 11:49:07 +00:00
hidnplayr
dc1c59db4d Now you can compile the net kernel with or without procedure to QUEUE ethernet packets first, or send them immediately.
git-svn-id: svn://kolibrios.org@1259 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-09 17:59:50 +00:00
hidnplayr
9206b5fc97 update in ARP_IP_to_MAC function, if it needs to send an ARP request packet, the routine will change task until the reply is received, or the request has timed-out.
git-svn-id: svn://kolibrios.org@1258 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-09 16:52:58 +00:00
hidnplayr
adec2ac083 Some code cleanup (cosmethical changes) in net_branch
git-svn-id: svn://kolibrios.org@1257 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-09 13:59:46 +00:00
CleverMouse
1f42f20b6f Some changes in TCP for net branch:
* listening sockets have now a queue of incoming connections
* a mechanism which allows an application to know when sent packet is ACKed
* some fixes


git-svn-id: svn://kolibrios.org@1256 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-09 11:34:51 +00:00
hidnplayr
30373c2ee1 changes in net branch:
Some more changes in TCP code.
I should perhaps read the full RFC before doing any further changes..

git-svn-id: svn://kolibrios.org@1255 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-08 21:44:04 +00:00
hidnplayr
2fcdc75ae8 changes in net branch:
-Further development of TCP
-Fixed a design issue in Ethernet drivers wich would cause a lot of overhead for TCP (I probably completely broke RTL8029 driver now, let's finish TCP first..)

git-svn-id: svn://kolibrios.org@1254 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-08 18:00:01 +00:00
hidnplayr
1a07e149d0 Netcfg now accept parameters, so it can automatically load network drivers on boot.
F to load first card only
A to load all cards

git-svn-id: svn://kolibrios.org@1253 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-07 20:38:09 +00:00
CleverMouse
b35a874c08 Some fixes in net branch:
* pseudoheader for UDP checksum was wrong
* network checksum for data with odd length was wrong
* stack issues in ARP_add_entry fixed
* more correct checking for new packets in pcnet driver


git-svn-id: svn://kolibrios.org@1251 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-07 16:13:47 +00:00
hidnplayr
441819a385 Forgot to upload a file, wich caused net kernel not to compile.
PS: There seems to be a bug in UDP checksum wich causes it to currently only work on DHCP

git-svn-id: svn://kolibrios.org@1250 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-07 14:39:14 +00:00
hidnplayr
7f9d0c6697 Changes in net branch:
Things changed: sockets data organisation, queue macro's are more universal, new checksum routines, changed socket structures, ...
What's new: UDP checksum generation & validation
Rough TCP code has been written, but not debugged yet.

git-svn-id: svn://kolibrios.org@1249 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-06 20:45:08 +00:00
CleverMouse
297880faa4 small fix in statistics
git-svn-id: svn://kolibrios.org@1241 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-28 13:09:28 +00:00
CleverMouse
8b09309dd2 driver for SIS900 card, ported from trunk
git-svn-id: svn://kolibrios.org@1237 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-26 11:32:59 +00:00
hidnplayr
f3fa774b6a updated network driver list of netcfg in net branch, with entries to possible future drivers.
git-svn-id: svn://kolibrios.org@1226 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-22 20:03:10 +00:00
hidnplayr
7c8d55d5bb More fixes in UDP, IPv4 and socket code.
Fixes in network library, nslookup works now.

git-svn-id: svn://kolibrios.org@1208 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-12 18:14:14 +00:00
hidnplayr
e39d270463 A lot of bugfixes in ARP, IPv4, UDP and sockets code.
git-svn-id: svn://kolibrios.org@1206 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-12 14:39:59 +00:00
CleverMouse
f6498da63c fixes in PCNet driver (now it works in VMWare)
git-svn-id: svn://kolibrios.org@1202 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-09 10:18:36 +00:00
CleverMouse
bbdad4119d * fixes in FDO for drivers from FDO for the kernel
* fixes in PCNet driver (works in VirtualBox, still problems in VMWare)

git-svn-id: svn://kolibrios.org@1201 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-08 10:24:33 +00:00
hidnplayr
83387bfc23 added very simple ARP manager
IPv4 variables are 255.255.255.255 again at reset, 0.0.0.0 was a big mistake..

git-svn-id: svn://kolibrios.org@1200 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-07 20:36:58 +00:00
CleverMouse
6507cc5019 sync with trunk
git-svn-id: svn://kolibrios.org@1198 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-07 09:59:35 +00:00
CleverMouse
9c06d10fb3 * I'm sure that UDP data length includes sizeof UDP header
* network library with DNS resolving from trunk and
  an application for DNS name lookup
  (do not work at moment due to crashes in the kernel)


git-svn-id: svn://kolibrios.org@1197 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-06 11:52:00 +00:00
hidnplayr
602924a5b5 compile netcfg on unix
fixed bug in netcfg created in last revision
netcfg gives error msg when driver is not loaded
zeroconfig now works with latest version of libini
also fixed use of static and link-local ip in zeroconfig
initial IPv4 variables are now 0.0.0.0 instead of 255.255.255.255
created kernel function that shows number of active network devices 
fixed the use of temp mac variable in IPV4.inc (variable is now in stack)
rewrite of ARP code, needs full testing/debugging (new application needed: ARP manager)
port numbers are now in INET byte order, as is in posix standards

git-svn-id: svn://kolibrios.org@1196 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-05 20:47:27 +00:00
hidnplayr
cc16ee7b51 Fix of previous commit
git-svn-id: svn://kolibrios.org@1193 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-02 19:59:04 +00:00
hidnplayr
d5c54dd1d0 Fixes in netstat/zeroconf
update of netcfg 

git-svn-id: svn://kolibrios.org@1192 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-02 19:49:42 +00:00
hidnplayr
8fa80be372 small optimisation and cleanup of rtl8029.inc
last in series of attempts to make kernel compile on unix


git-svn-id: svn://kolibrios.org@1187 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 20:16:23 +00:00
Dmitry Kartashov (shurf)
b3b3d9d928 net/fs/fs.inc - sync with main trunk
git-svn-id: svn://kolibrios.org@1186 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 20:07:21 +00:00
hidnplayr
d0d8c7f17c More fixes to make net brach compile on unix
+ some general bugfixes and updates

git-svn-id: svn://kolibrios.org@1185 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 19:48:32 +00:00
hidnplayr
f7ddce1888 renamed error label to s_error
git-svn-id: svn://kolibrios.org@1184 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 19:34:18 +00:00
hidnplayr
68b0c1de2a Some more bugfixes and cleanup of RTL8029 driver.
Driver works on real hardware, but is not stable yet.

git-svn-id: svn://kolibrios.org@1178 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-25 21:09:41 +00:00
CleverMouse
740caf3d0d fixes in RTL8029 driver (now it works in qemu)
git-svn-id: svn://kolibrios.org@1177 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-25 10:52:09 +00:00
hidnplayr
698f06c417 Fixed bug wich made kernel crash when stack was used with no driver loaded.
Made some code more logical regarding stats 

git-svn-id: svn://kolibrios.org@1174 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-24 18:32:03 +00:00
CleverMouse
65fa263646 * UDP data length includes sizeof UDP header
* fixes in RTL8139 driver
* fixes in RTL8029 driver (works in Bochs, still problems in qemu)


git-svn-id: svn://kolibrios.org@1173 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-24 10:43:38 +00:00
hidnplayr
bb5ed21ec9 Small fix in RTL8139 driver regarding stats
Fixes and updates in stack for function 75
+ some other small fixes

Netstat program

Deleting of some unrelated files

Coming up next: fixes and updates in ARP code

git-svn-id: svn://kolibrios.org@1171 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-22 16:42:54 +00:00
hidnplayr
e3cdb8950b Uploading right version of zeroconf.
Previous was not working on this kernel.

Coming up next: netstat

git-svn-id: svn://kolibrios.org@1170 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-21 18:52:12 +00:00
hidnplayr
7cb34de2df Making applications compileable
+ Fixes in IPv4.inc

git-svn-id: svn://kolibrios.org@1166 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 14:31:34 +00:00
hidnplayr
1afe10aa6e Small fix in ICMP code
git-svn-id: svn://kolibrios.org@1165 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 14:15:37 +00:00
hidnplayr
bb5be0798a "net" branch:
Removed some files that dont belong in specific branch.
Added some applications that work with this kernel only.

git-svn-id: svn://kolibrios.org@1164 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 12:19:46 +00:00
hidnplayr
8f20fe84d3 Making it compileable
git-svn-id: svn://kolibrios.org@1162 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-17 13:08:13 +00:00
hidnplayr
6439263aed Moving the files...
git-svn-id: svn://kolibrios.org@1161 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-17 12:59:26 +00:00
hidnplayr
c13e52817d New branch - network experimental code
git-svn-id: svn://kolibrios.org@1159 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-17 11:55:38 +00:00
Sergey Semyonov (Serge)
4ad5e0815b kernel heap: use on demand mapping
git-svn-id: svn://kolibrios.org@1066 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-04-23 12:26:47 +00:00
Sergey Semyonov (Serge)
f7e7dc15e2 remove fixed memory variables
git-svn-id: svn://kolibrios.org@996 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-01-17 16:04:50 +00:00
Sergey Semyonov (Serge)
072729a7f2 move kernel vars into .bss
git-svn-id: svn://kolibrios.org@928 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-22 12:57:25 +00:00
Sergey Semyonov (Serge)
c01a33cfa5 sync with trunk #913
git-svn-id: svn://kolibrios.org@914 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-07 04:10:42 +00:00
Sergey Semyonov (Serge)
9ad23608e6 link dll
git-svn-id: svn://kolibrios.org@908 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-05 07:10:14 +00:00
Sergey Semyonov (Serge)
53f90bca38 exec PE
git-svn-id: svn://kolibrios.org@897 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-03 09:38:21 +00:00
Sergey Semyonov (Serge)
c6b57fbd1a PE loader. link with required dll
git-svn-id: svn://kolibrios.org@892 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-11-01 01:25:51 +00:00
Sergey Semyonov (Serge)
da448a7a84 PE loader. Link kernel.mnt
git-svn-id: svn://kolibrios.org@890 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-30 19:23:42 +00:00
Sergey Semyonov (Serge)
cb4549795b PE loader. "C" version
git-svn-id: svn://kolibrios.org@889 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-30 06:30:13 +00:00
Sergey Semyonov (Serge)
b7083f5742 new memory management for kernel heap
git-svn-id: svn://kolibrios.org@888 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-29 15:55:39 +00:00
Sergey Semyonov (Serge)
3f22b06b9f replace old kernel_free with mem_free
git-svn-id: svn://kolibrios.org@887 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-27 23:38:33 +00:00
Sergey Semyonov (Serge)
bc6cebbf4b mem_free
git-svn-id: svn://kolibrios.org@886 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-27 20:47:58 +00:00
Mihail Semenyako (mike.dld)
5620ba7561 Fixed network stack crash in stateTCB_FIN_WAIT_2 (page fault), trunk + all branches
git-svn-id: svn://kolibrios.org@871 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-10-03 05:50:39 +00:00
Iliya Mihailov (Ghost)
639d436580 and eax, 0xff -> movzx eax, al
git-svn-id: svn://kolibrios.org@865 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-20 05:52:34 +00:00
Sergey Semyonov (Serge)
6cb566cf5e replace old alloc_kernel_space and kernel_alloc with mem_alloc
git-svn-id: svn://kolibrios.org@864 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-15 15:25:03 +00:00
Sergey Semyonov (Serge)
0e79d8c724 reboot & power off
git-svn-id: svn://kolibrios.org@863 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-13 15:52:04 +00:00
Sergey Semyonov (Serge)
d08f862229 fixed ASSERT conditions
git-svn-id: svn://kolibrios.org@862 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-12 10:56:47 +00:00
Sergey Semyonov (Serge)
f806f6b7f8 fixed:
1) small heap
2) malloc
3) background image

git-svn-id: svn://kolibrios.org@861 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-11 20:26:49 +00:00
Sergey Semyonov (Serge)
d10c087a12 merged trunk 850 - 858
git-svn-id: svn://kolibrios.org@860 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-10 14:00:21 +00:00
Sergey Semyonov (Serge)
2b91637d4d 1) slab allocator
2) new kernel heap

git-svn-id: svn://kolibrios.org@859 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-09-10 13:04:24 +00:00
Sergey Semyonov (Serge)
06eb2f3614 compact static kernel memory
git-svn-id: svn://kolibrios.org@855 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-20 18:37:48 +00:00
Sergey Semyonov (Serge)
e7779275eb mixed compilation
git-svn-id: svn://kolibrios.org@854 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-13 19:13:40 +00:00
Sergey Semyonov (Serge)
4637e1f6a3 splitting kernel into sections
git-svn-id: svn://kolibrios.org@851 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-10 05:23:24 +00:00
Sergey Semyonov (Serge)
c6d4df748c PE kernel
git-svn-id: svn://kolibrios.org@849 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-09 08:38:20 +00:00
Sergey Semyonov (Serge)
7cb2a21b33 GRUB Now!!!
git-svn-id: svn://kolibrios.org@848 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-08 13:30:55 +00:00
Sergey Semyonov (Serge)
ebacfa0899 multiboot kernel
git-svn-id: svn://kolibrios.org@847 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-07 15:34:13 +00:00
Sergey Semyonov (Serge)
94030d053e preparing for GRUB
git-svn-id: svn://kolibrios.org@846 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-07 09:14:48 +00:00
Sergey Semyonov (Serge)
2769f0fd61 merged trunk 842
git-svn-id: svn://kolibrios.org@844 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-05 16:58:13 +00:00
Sergey Semyonov (Serge)
28b0948e61 initial buddy allocator
git-svn-id: svn://kolibrios.org@843 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-05 14:17:58 +00:00
Sergey Semyonov (Serge)
b2e313b0d9 boot time allocator
git-svn-id: svn://kolibrios.org@841 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-30 08:32:24 +00:00
Sergey Semyonov (Serge)
3a719cd911 allocate memory for display_data
git-svn-id: svn://kolibrios.org@840 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-29 15:39:22 +00:00
Sergey Semyonov (Serge)
0490e63747 redesigned memory layout
git-svn-id: svn://kolibrios.org@839 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-29 12:37:27 +00:00
Sergey Semyonov (Serge)
1146b67279 check for PSE and BIOS SMAP
git-svn-id: svn://kolibrios.org@838 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-28 14:49:38 +00:00
Sergey Semyonov (Serge)
2a2b5a8ff8 use e820 smap
git-svn-id: svn://kolibrios.org@837 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-28 06:29:05 +00:00
Sergey Semyonov (Serge)
981a4ac300 Removed file/folder
git-svn-id: svn://kolibrios.org@487 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-11 07:53:05 +00:00
Sergey Semyonov (Serge)
4c272bed81 update memmap.inc
git-svn-id: svn://kolibrios.org@464 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-13 16:20:27 +00:00
Sergey Semyonov (Serge)
8101a2af97 drivers update
git-svn-id: svn://kolibrios.org@462 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-13 08:17:42 +00:00