Commit Graph

1582 Commits

Author SHA1 Message Date
hidnplayr
8e107a1443 Socket_receive: return -1 when socket is closed.
git-svn-id: svn://kolibrios.org@3565 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-29 11:46:06 +00:00
Sergey Semyonov (Serge)
f08dd2c7ab Kernel: remove ENABLE_TASKSWITCH PS2_CHUNK stack_data_start eth_data_start eth_data_start stack_data_end resendQ
git-svn-id: svn://kolibrios.org@3560 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 19:56:59 +00:00
hidnplayr
0c73d15f63 Delete old net branch
git-svn-id: svn://kolibrios.org@3559 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 19:53:40 +00:00
Sergey Semyonov (Serge)
d81e718e9b Kernel: remove useless MOUSE_DOWN MOUSE_BACKGROUND DONT_DRAW_MOUSE.
git-svn-id: svn://kolibrios.org@3558 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 19:40:50 +00:00
hidnplayr
e93a49b442 Disabled network debug output by default.
git-svn-id: svn://kolibrios.org@3556 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 19:19:23 +00:00
Sergey Semyonov (Serge)
3adc7b1d8e acpi:update
git-svn-id: svn://kolibrios.org@3555 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 19:09:31 +00:00
hidnplayr
e4cf34c0de Merge new network stack with trunk
git-svn-id: svn://kolibrios.org@3545 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 17:34:26 +00:00
CleverMouse
43f6a7d07a restore sec_loader after r3539
git-svn-id: svn://kolibrios.org@3544 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 17:12:19 +00:00
CleverMouse
efb80df08b never relink mouse handler
git-svn-id: svn://kolibrios.org@3543 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 16:29:26 +00:00
CleverMouse
b1b43099ea add forgotten include
git-svn-id: svn://kolibrios.org@3540 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 22:19:11 +00:00
CleverMouse
32b4fcb9ab recode all kernel sources to UTF-8; binary still uses single-byte encoding and isn't changed at all
git-svn-id: svn://kolibrios.org@3539 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 22:16:00 +00:00
CleverMouse
0a61fc62ad remove sec_loader/trunk/kolibri_ldm: uncompilable copy of some kernel files
git-svn-id: svn://kolibrios.org@3538 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 21:37:45 +00:00
Sergey Semyonov (Serge)
8119f00711 kernel: remove ScreenBPP variable
git-svn-id: svn://kolibrios.org@3537 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 19:09:54 +00:00
CleverMouse
f427028551 fix some GUI problems highlighted by r3534
git-svn-id: svn://kolibrios.org@3536 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 16:49:46 +00:00
CleverMouse
bd6a09fefc fix direct I/O access broken in r3534
git-svn-id: svn://kolibrios.org@3535 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 13:05:53 +00:00
CleverMouse
f059bc06d5 priorities in scheduler
git-svn-id: svn://kolibrios.org@3534 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 09:02:35 +00:00
Artem Jerdev (art_zh)
55496cc735 LAPIC timer interrupt test
git-svn-id: svn://kolibrios.org@3531 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-23 17:29:52 +00:00
Artem Jerdev (art_zh)
3aef84d056 minor corrections
git-svn-id: svn://kolibrios.org@3526 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-21 20:28:08 +00:00
CleverMouse
df1bbc6819 fix disk-full handling when creating a folder in ramdisk
git-svn-id: svn://kolibrios.org@3525 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-21 13:34:46 +00:00
CleverMouse
b7d54cce54 export USB API to drivers
git-svn-id: svn://kolibrios.org@3524 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-20 08:45:18 +00:00
hidnplayr
75882efdc9 Removed code trap (shouldnt have been comitted in the first place).
git-svn-id: svn://kolibrios.org@3523 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-18 10:55:03 +00:00
CleverMouse
4aaa9b7e36 that would be too verbose
git-svn-id: svn://kolibrios.org@3522 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-18 00:17:04 +00:00
CleverMouse
c1284fc3b6 USB support
git-svn-id: svn://kolibrios.org@3520 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 23:53:28 +00:00
Artem Jerdev (art_zh)
bcdfe175d7 APU mmio area: hack-ready
git-svn-id: svn://kolibrios.org@3519 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 17:17:20 +00:00
hidnplayr
a0f9d2e236 Fixed Network2 event (low level network event)
git-svn-id: svn://kolibrios.org@3518 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 13:33:04 +00:00
CleverMouse
b7bd43fe91 do not flood logs with unrecognized network packets
git-svn-id: svn://kolibrios.org@3517 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 13:32:52 +00:00
hidnplayr
7a6a47ea05 Renamed zeroconfig.ini to network.ini and moved to /sys/
git-svn-id: svn://kolibrios.org@3516 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 12:22:14 +00:00
hidnplayr
6bf8356208 Renamed IPv4_dest_to_dev to IPv4_route
git-svn-id: svn://kolibrios.org@3515 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 11:33:49 +00:00
hidnplayr
a8351928d4 SOCKET_is_disconnected now clears TCP and UDP ports.
git-svn-id: svn://kolibrios.org@3514 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-17 11:30:56 +00:00
CleverMouse
5f291d1d1c small fix - 3
git-svn-id: svn://kolibrios.org@3513 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-16 21:15:02 +00:00
CleverMouse
0f3580df30 small fix - 2
git-svn-id: svn://kolibrios.org@3512 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-16 19:14:59 +00:00
CleverMouse
8573603b63 small fix
git-svn-id: svn://kolibrios.org@3511 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-16 18:45:41 +00:00
CleverMouse
0674683a36 correction for r3505: exclude IRQ6, 14, 15 and keyboard handler
git-svn-id: svn://kolibrios.org@3509 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-15 18:17:49 +00:00
CleverMouse
17945ca19c force setting native resolution for intel displays
git-svn-id: svn://kolibrios.org@3508 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-15 18:03:17 +00:00
CleverMouse
1ffc38fb43 conditional printing of debug board to the screen
git-svn-id: svn://kolibrios.org@3507 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-15 16:40:59 +00:00
CleverMouse
c0389b4be3 +declaration
git-svn-id: svn://kolibrios.org@3506 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-15 15:13:51 +00:00
CleverMouse
9bae783f11 workaround for handlers registered with wrong IRQ
git-svn-id: svn://kolibrios.org@3505 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-15 15:10:55 +00:00
Marat Zakiyanov (Mario79)
f3b083075c Kernel scheduler - equal rights for all threads. Discussion http://board.kolibrios.org/viewtopic.php?f=35&t=2303
git-svn-id: svn://kolibrios.org@3504 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-14 22:47:15 +00:00
Sergey Semyonov (Serge)
5e88b2cdeb kernel: show cpu frequency in Mhz, not Hz
git-svn-id: svn://kolibrios.org@3502 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-11 20:53:01 +00:00
Sergey Semyonov (Serge)
b9d4fa554f kernel: fix boot time cpu frequency information
git-svn-id: svn://kolibrios.org@3501 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-11 18:01:06 +00:00
Sergey Semyonov (Serge)
7f3e618a3a kos_acpi:update
git-svn-id: svn://kolibrios.org@3500 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-11 12:38:27 +00:00
Marat Zakiyanov (Mario79)
f06345297e Restore default cursor before terminating the process.
git-svn-id: svn://kolibrios.org@3493 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-03 22:00:44 +00:00
Artem Jerdev (art_zh)
f78035819c some kernel cleaning...
git-svn-id: svn://kolibrios.org@3490 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-01 22:17:31 +00:00
Artem Jerdev (art_zh)
e07b0a88df some kernel cleaning...
git-svn-id: svn://kolibrios.org@3489 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-01 20:06:02 +00:00
Artem Jerdev (art_zh)
9a9f1fd084 some kernel cleaning...
git-svn-id: svn://kolibrios.org@3488 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-01 20:02:18 +00:00
Artem Jerdev (art_zh)
08bb2f6f9f good-bye floppy!
git-svn-id: svn://kolibrios.org@3487 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-01 19:48:56 +00:00
Sergey Semyonov (Serge)
d613a64038 kernel: cleanup
git-svn-id: svn://kolibrios.org@3486 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-28 12:43:27 +00:00
Sergey Semyonov (Serge)
d67b35544c kernel: export GetCpuFreq
git-svn-id: svn://kolibrios.org@3481 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-26 10:57:25 +00:00
Marat Zakiyanov (Mario79)
8977965c09 Fix for r.2536
git-svn-id: svn://kolibrios.org@3462 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-09 18:17:01 +00:00
hidnplayr
2bc923d897 SOCKET_receive_stream returns 0 now when there is no data instead of -1.
git-svn-id: svn://kolibrios.org@3461 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-09 11:43:59 +00:00
CleverMouse
6edb329ec0 replace align with explicit padding (align in struct is silently ignored after r2381)
git-svn-id: svn://kolibrios.org@3460 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-09 11:40:03 +00:00
hidnplayr
1fc22f7bce Experimental support for MSG_PEEK and MSG_DONTWAIT in SOCKET_receive_stream.
git-svn-id: svn://kolibrios.org@3459 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-09 10:47:23 +00:00
Marat Zakiyanov (Mario79)
37684e0d2a Fix f.18.3 - If the window is captured and moved by the user, then you can't change the position in window stack.
git-svn-id: svn://kolibrios.org@3455 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-07 16:11:35 +00:00
Marat Zakiyanov (Mario79)
53d7a1b52f trunk kernel: print svn revision on the debug board
git-svn-id: svn://kolibrios.org@3454 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-07 11:24:02 +00:00
Marat Zakiyanov (Mario79)
58f7495fc7 Fix f.67 for correct sequence of calling repaint the background (example KFAR, Fplay etc.)
git-svn-id: svn://kolibrios.org@3452 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-05 22:16:17 +00:00
Marat Zakiyanov (Mario79)
f08eb54025 Fix for f.72
git-svn-id: svn://kolibrios.org@3451 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-05 21:01:06 +00:00
CleverMouse
e61b3f010d fix RamdiskDelete+FloppyDelete, they worked incorrectly since their introduction in r171
git-svn-id: svn://kolibrios.org@3442 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-02 14:55:10 +00:00
esevece
541cf8982e Accept key S to save settings in spanish build
git-svn-id: svn://kolibrios.org@3430 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-27 16:58:27 +00:00
hidnplayr
287ae5e937 Fixed previous revision.
git-svn-id: svn://kolibrios.org@3429 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-26 21:39:35 +00:00
hidnplayr
e53d005571 Added Atheros to netcfg vendor list.
git-svn-id: svn://kolibrios.org@3428 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-26 21:35:38 +00:00
hidnplayr
fa2168cc4f Fix typos from #2089 (reported by mikedld)
git-svn-id: svn://kolibrios.org@3426 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-26 20:10:37 +00:00
esevece
c1b0143546 Translating desktop to spanish
git-svn-id: svn://kolibrios.org@3416 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-26 02:16:58 +00:00
esevece
a3a6f17e0b Translating desktop to spanish
git-svn-id: svn://kolibrios.org@3415 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-26 02:12:02 +00:00
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