Commit Graph

1519 Commits

Author SHA1 Message Date
hidnplayr
c9e26567fd Fixed wait_event call for tcp_input.
git-svn-id: svn://kolibrios.org@3407 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-23 16:46:22 +00:00
hidnplayr
4398dd7c40 Preparing to implement TCP reassembly queue.
Some cleanup of tcp_input and skip checksum recalculation for loopback segments. 

git-svn-id: svn://kolibrios.org@3406 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-23 14:02:38 +00:00
hidnplayr
372fe91892 Sync net branch with trunk
git-svn-id: svn://kolibrios.org@3405 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-23 11:56:23 +00:00
turbanoff
c3a49bafc1 fix ext4 dir blocks count check. fix bug in ext2_find_lfn
git-svn-id: svn://kolibrios.org@3403 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-22 18:35:06 +00:00
hidnplayr
4803caa65f bug in v86 irq, spotted by mikedld
git-svn-id: svn://kolibrios.org@3400 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-21 06:51:48 +00:00
Sergey Semyonov (Serge)
1c5f400737 kernel: export pe disk functions
git-svn-id: svn://kolibrios.org@3397 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-20 02:30:07 +00:00
CleverMouse
b5556d9137 wait_event_timeout: return 0 for timeout
git-svn-id: svn://kolibrios.org@3396 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-19 22:52:40 +00:00
CleverMouse
2bf2a6cd80 spin_lock_* macro
git-svn-id: svn://kolibrios.org@3395 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-19 21:45:05 +00:00
CleverMouse
817b73c24b activate PCI enumerator at boot
git-svn-id: svn://kolibrios.org@3394 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-19 21:43:59 +00:00
CleverMouse
8c506bcc45 PCI enumerator; save ebx/esi in pci_{read,write}_reg
git-svn-id: svn://kolibrios.org@3393 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-19 21:41:56 +00:00
CleverMouse
75ae4a827a increase size of debug board from 4K to 64K
git-svn-id: svn://kolibrios.org@3392 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-19 17:07:12 +00:00
Sergey Semyonov (Serge)
6e80a53e5e kernel: wait_event_timeout
git-svn-id: svn://kolibrios.org@3390 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-19 03:38:52 +00:00
hidnplayr
3717c3370d Run TCP input code in a separate thread.
git-svn-id: svn://kolibrios.org@3389 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-18 21:04:15 +00:00
hidnplayr
de440713d1 Re-enabled network2 events.
git-svn-id: svn://kolibrios.org@3388 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-18 20:37:23 +00:00
hidnplayr
2ee8f5d296 Enabled Promiscuous mode for i8254x so it works in Qemu.
git-svn-id: svn://kolibrios.org@3387 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-18 17:23:05 +00:00
hidnplayr
57c2018158 ARP_BLOCK logic was reversed
git-svn-id: svn://kolibrios.org@3386 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-18 16:26:54 +00:00
hidnplayr
0d13375a81 Fixed RTL8139 driver broken in #3346
git-svn-id: svn://kolibrios.org@3385 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-18 16:08:48 +00:00
hidnplayr
33f74c34fd zeroconf was sending the wrong MAC address since #3340
git-svn-id: svn://kolibrios.org@3384 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-18 14:16:13 +00:00
hidnplayr
c2dfee12a3 Fixed old bug (#1494) in system function 66, reported by mikedld.
Set default extension of kernel to ".mnt"

git-svn-id: svn://kolibrios.org@3383 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-17 18:58:28 +00:00
CleverMouse
17c018e1af fix insignificant misprint
git-svn-id: svn://kolibrios.org@3371 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-13 09:48:46 +00:00
hidnplayr
de654e7a3a Zeroconf now prints correct link-local IP to the debug board.
git-svn-id: svn://kolibrios.org@3367 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-12 13:23:08 +00:00
hidnplayr
71d9f3dce2 Zeroconfig: dont assume first received packet is the correct one.
Also fixed link-local IP assignment.

git-svn-id: svn://kolibrios.org@3361 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-11 17:17:07 +00:00
hidnplayr
a63322d121 ARP_BLOCK now lets you choose if ARP_IP_to_MAC should block or not.
git-svn-id: svn://kolibrios.org@3360 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-11 16:51:29 +00:00
hidnplayr
cc4161de83 Synced net branch with trunk (#3358)
git-svn-id: svn://kolibrios.org@3359 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-10 12:28:37 +00:00
Marat Zakiyanov (Mario79)
f6c49894db Fix for r.3355
git-svn-id: svn://kolibrios.org@3356 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-08 17:07:30 +00:00
Marat Zakiyanov (Mario79)
e6d03e93b1 F66.3 added indication pressing of keys: Win-left and Win-right.
git-svn-id: svn://kolibrios.org@3355 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-08 16:27:43 +00:00
hidnplayr
f7d75689e4 Fixed typo in ARP_IP_to_MAC (debug output displayed wrong IP)
git-svn-id: svn://kolibrios.org@3354 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-08 14:31:45 +00:00
hidnplayr
83754e005a MII: only include code when its actually used.
git-svn-id: svn://kolibrios.org@3351 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-07 21:04:18 +00:00
hidnplayr
c101fd199a PHY and link detection for PCnet32 driver (no watchdog yet), added general mii code for ethernet drivers.
git-svn-id: svn://kolibrios.org@3350 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-07 20:36:32 +00:00
hidnplayr
e4513c6c12 3c59x: enable RX/TX after enabling interrupts, not before.
git-svn-id: svn://kolibrios.org@3349 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-07 11:07:36 +00:00
hidnplayr
2c13dbe1c3 Netstat: redraw window on network subsystem event.
Kernel: send event when IP configuration changed.

git-svn-id: svn://kolibrios.org@3348 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-07 10:47:59 +00:00
hidnplayr
be4786e05f Fixed pcnet32 driver
git-svn-id: svn://kolibrios.org@3347 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-07 09:37:52 +00:00
hidnplayr
f685c27c07 Introduced new application event for network subsystem changes (link changed, ip changed, ...)
Removed get_mac and set_mac procedures from device structure, kernel does not need them.
Added link state detection capabilities for kernel and some drivers.

git-svn-id: svn://kolibrios.org@3346 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-07 09:35:24 +00:00
Yogev Ezra
b2da70be62 Group all Spanish translations in one place
git-svn-id: svn://kolibrios.org@3345 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 15:04:33 +00:00
Yogev Ezra
d1a0e37e4c Fix iglobal directive usage try 3
git-svn-id: svn://kolibrios.org@3344 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 14:21:43 +00:00
Yogev Ezra
d5752dec0e Fix iglobal directive usage try 2
git-svn-id: svn://kolibrios.org@3343 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 13:43:28 +00:00
Yogev Ezra
8acd7b0e95 Fix iglobal directive usage
git-svn-id: svn://kolibrios.org@3342 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 13:29:34 +00:00
Yogev Ezra
d990bce2e4 Fix Spanish language selection
git-svn-id: svn://kolibrios.org@3341 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 12:04:53 +00:00
hidnplayr
8f48436569 Now Zeroconfig waits for driver to be initialised.
git-svn-id: svn://kolibrios.org@3340 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-06 11:15:28 +00:00
Marat Zakiyanov (Mario79)
a0ee647f0e Correct documentation for F73
git-svn-id: svn://kolibrios.org@3338 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-05 21:11:06 +00:00
hidnplayr
487976c4f2 private chat support for IRCC
git-svn-id: svn://kolibrios.org@3337 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-05 20:42:09 +00:00
hidnplayr
8359c962a8 Updated readme.txt
git-svn-id: svn://kolibrios.org@3333 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-05 11:07:56 +00:00
hidnplayr
52f75a8646 Added missed and dumped TCP packet counters to netstat.
git-svn-id: svn://kolibrios.org@3332 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-05 10:52:13 +00:00
hidnplayr
336245620b Mostly cosmetical updates for IRCC
git-svn-id: svn://kolibrios.org@3331 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-05 10:44:36 +00:00
CleverMouse
d30caf231a ability to create kernel threads
git-svn-id: svn://kolibrios.org@3325 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 13:58:55 +00:00
hidnplayr
6639a4a944 Stub for forcedeth driver.
git-svn-id: svn://kolibrios.org@3324 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 12:34:31 +00:00
hidnplayr
ea9bb80074 Tied 3c59x network driver to new interface.
git-svn-id: svn://kolibrios.org@3323 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 12:05:33 +00:00
hidnplayr
397fdefac7 Removed obsolete EthReceiver interface
git-svn-id: svn://kolibrios.org@3322 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 12:03:56 +00:00
CleverMouse
31e9ec37f4 fix r2601
git-svn-id: svn://kolibrios.org@3320 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-04 11:01:50 +00:00
turbanoff
7af2e521dd ext2 fix bug: bad error checking in ext2_get_inode_block and in ext2_HdRead
git-svn-id: svn://kolibrios.org@3317 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 18:42:16 +00:00
turbanoff
3cd1e6838b ext2 fix stack inconsistent in ext2_find_lfn
git-svn-id: svn://kolibrios.org@3316 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 16:32:44 +00:00
Marat Zakiyanov (Mario79)
5769420383 Documentation for F73 to trunk kernel.
git-svn-id: svn://kolibrios.org@3315 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 15:03:27 +00:00
turbanoff
e239be3fe2 ext2 fix stack inconsistent in ext2_HdRead
git-svn-id: svn://kolibrios.org@3314 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 14:34:52 +00:00
turbanoff
33eee384bf ext2: fix bug in file read
git-svn-id: svn://kolibrios.org@3313 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-03 13:53:24 +00:00
esevece
7f9ee006fe Correction for recent commit
git-svn-id: svn://kolibrios.org@3310 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-02 21:05:28 +00:00
esevece
d2e8899b67 More spanish translation
git-svn-id: svn://kolibrios.org@3309 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-02 20:57:38 +00:00
hidnplayr
1b65aa6050 Fixed SOCKET_process_end (broken in #3264), Use mutexes for ring buffer reading/writing.
git-svn-id: svn://kolibrios.org@3307 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 19:08:37 +00:00
CleverMouse
1d49faceef fix FAT32 formatting in tmpdisk
git-svn-id: svn://kolibrios.org@3305 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 11:27:25 +00:00
CleverMouse
a5c1457eb0 I'm sorry
git-svn-id: svn://kolibrios.org@3304 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 10:30:42 +00:00
CleverMouse
a321a83609 Protect thread from external terminate while running any syscall except 5,10,23.
Now 18.2/18.12 are really safe through kernel-colored glasses (however, you still
should not use them except for really critical cases),
although the protection is sometimes quite excessive.

git-svn-id: svn://kolibrios.org@3303 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 10:27:19 +00:00
CleverMouse
165c453d43 protect thread from external terminate while running sysfn 70
git-svn-id: svn://kolibrios.org@3296 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 22:03:45 +00:00
CleverMouse
debda5ffe2 output program name in addition to PID when it crashes
git-svn-id: svn://kolibrios.org@3294 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 12:09:39 +00:00
hidnplayr
e2df6e8111 Fixed stack corruption in TCP_input when TCP queue is full
git-svn-id: svn://kolibrios.org@3293 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 11:51:11 +00:00
hidnplayr
ba61873d0c Fixed unlocking of mutex in TCP_output.
git-svn-id: svn://kolibrios.org@3289 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-28 03:21:03 +00:00
esevece
3ca743d7cf Added kernelsp.inc for some messages
git-svn-id: svn://kolibrios.org@3287 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-27 22:34:38 +00:00
CleverMouse
790f4651cc fix FAT16 formatting in tmpdisk
git-svn-id: svn://kolibrios.org@3285 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-27 10:56:28 +00:00
CleverMouse
dbd7b62e8f wrong var name
git-svn-id: svn://kolibrios.org@3284 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-27 10:54:05 +00:00
CleverMouse
4b55541f4c fix return value of disk_sync in compatibility case
git-svn-id: svn://kolibrios.org@3283 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-27 10:52:48 +00:00
esevece
0ee4a33419 Copied booteng.inc to booten.inc. So, removing booteng.inc
git-svn-id: svn://kolibrios.org@3276 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-26 21:00:05 +00:00
hidnplayr
46d92cd305 Cleanup in TCP, fixed possible deadlock in TCP_input.
git-svn-id: svn://kolibrios.org@3275 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-26 20:17:02 +00:00
esevece
9069d7e9ca Spanish translation (boot and kernel). Fix in makefile. Change name of booteng.inc to booten.inc
git-svn-id: svn://kolibrios.org@3274 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-26 18:29:14 +00:00
hidnplayr
82934c24f2 Updated network.inc for applications.
git-svn-id: svn://kolibrios.org@3272 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-25 12:15:01 +00:00
hidnplayr
4fe36c5853 Fixed bugs in TCP (crash when closing socket, crash when responding to segment that has no socket)
git-svn-id: svn://kolibrios.org@3270 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-24 17:12:10 +00:00
hidnplayr
7eb55c9625 Unblock a blocked socket before closing it.
git-svn-id: svn://kolibrios.org@3267 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-24 09:45:53 +00:00
hidnplayr
6b57089391 separate thread and process ID's for sockets.
git-svn-id: svn://kolibrios.org@3264 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-23 16:38:26 +00:00
hidnplayr
67f8bac00f PID fix for SOCKET_pair function.
git-svn-id: svn://kolibrios.org@3261 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-23 08:57:51 +00:00
hidnplayr
d12cb9e707 Re-applied some changes concerning local sockets. They were reverted by accident.
git-svn-id: svn://kolibrios.org@3259 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-19 17:06:46 +00:00
hidnplayr
89bfe5f5d6 Better blocking sockets, preparing for some API changes.
git-svn-id: svn://kolibrios.org@3257 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-19 16:56:54 +00:00
hidnplayr
4bceec50e4 Fixed some bugs with non-blocking local sockets.
git-svn-id: svn://kolibrios.org@3253 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 20:39:37 +00:00
hidnplayr
629fb2b3e1 Better TCP timestamp, fixed stack corruption if PAWS fails.
git-svn-id: svn://kolibrios.org@3252 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 19:43:01 +00:00
hidnplayr
72f758c218 Changed some debug output messages (and their levels) in new stack.
Implemented a queue for incoming TCP segments.

git-svn-id: svn://kolibrios.org@3251 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 17:58:53 +00:00
hidnplayr
8fc51dbddb Removed unused fields from netstat
git-svn-id: svn://kolibrios.org@3250 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 17:10:57 +00:00
hidnplayr
e68a03adef Removed non-working debug level specific for network stack.
git-svn-id: svn://kolibrios.org@3249 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 16:37:08 +00:00
Sergey Semyonov (Serge)
629515a9f6 heap.inc: Fix indention. Why don't we use 12 spaces ?
git-svn-id: svn://kolibrios.org@3246 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 12:07:32 +00:00
johnfound
f18f91c208 kernel.asm back to #3238
git-svn-id: svn://kolibrios.org@3242 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-11 19:53:26 +00:00
johnfound
0d1c86e7bb Introduced new header version, that to serve STDIO through a IPC sockets mechanism. Some code cleanup and comments added.
git-svn-id: svn://kolibrios.org@3240 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-11 19:09:43 +00:00
hidnplayr
ad706e4a24 IRCc: do not redraw userlist, unless scrollbar actually moved.
git-svn-id: svn://kolibrios.org@3234 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-07 13:55:04 +00:00
hidnplayr
1373a38089 Added alphabetic sorting for users in IRCc
git-svn-id: svn://kolibrios.org@3233 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-07 13:29:24 +00:00
Sergey Semyonov (Serge)
5690f9671b kolibri-acpi: update
git-svn-id: svn://kolibrios.org@3232 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-07 09:10:30 +00:00
hidnplayr
6e6fb52d02 Added PCI ID's for ADMtek N100 to DEC21x4x driver.
git-svn-id: svn://kolibrios.org@3231 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-07 09:08:49 +00:00
hidnplayr
2222c3412c Forgot to set the PID in previous revision.
git-svn-id: svn://kolibrios.org@3229 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-05 17:24:15 +00:00
hidnplayr
14019f31f8 New function Socket_pair for UNIX (IPC) sockets.
git-svn-id: svn://kolibrios.org@3228 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-05 17:15:09 +00:00
hidnplayr
b7a4b76a9e Now IRCc will print messages to the correct window instead of just using the one that is opened.
git-svn-id: svn://kolibrios.org@3226 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-04 18:51:09 +00:00
hidnplayr
ff07ff5192 Better NICK command support, support for channels with many users.
git-svn-id: svn://kolibrios.org@3222 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-03 22:52:24 +00:00
hidnplayr
15cb7df159 Some more updates for userlist in IRCC.
git-svn-id: svn://kolibrios.org@3220 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-03 21:09:16 +00:00
hidnplayr
bd75afb87d Some GUI updates for IRCC.
git-svn-id: svn://kolibrios.org@3216 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-02 21:47:33 +00:00
hidnplayr
31434d0fa5 Fixed some more servercommands, made scrollbar for userlist functional.
git-svn-id: svn://kolibrios.org@3215 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-01 18:37:23 +00:00
hidnplayr
1632f80d55 Fixed JOIN and PRIVMSG commands for IRCc.
git-svn-id: svn://kolibrios.org@3214 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-01 15:18:31 +00:00
hidnplayr
d46e0f80ee Fixed bug in IRCC's serverparser.
git-svn-id: svn://kolibrios.org@3212 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-01 14:28:44 +00:00
hidnplayr
49fa77deae Sceletone for a BCM57xx driver. Only for the brave!
git-svn-id: svn://kolibrios.org@3211 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-01-31 22:00:20 +00:00