Commit Graph

632 Commits

Author SHA1 Message Date
Sergey Semyonov (Serge)
e147a8e695 kolibri-process: fix shutdown/restart
git-svn-id: svn://kolibrios.org@5122 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-14 10:45:14 +00:00
Sergey Semyonov (Serge)
305be12d23 kolibri-process: complete
git-svn-id: svn://kolibrios.org@5121 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-13 19:11:22 +00:00
Sergey Semyonov (Serge)
933e63dccf kolibri-process: v86 ready
git-svn-id: svn://kolibrios.org@5120 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-13 16:50:42 +00:00
Sergey Semyonov (Serge)
6eb724186d kolibri-process: fix wrong return value in user_free
git-svn-id: svn://kolibrios.org@5119 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-13 08:23:11 +00:00
Sergey Semyonov (Serge)
c6de386b0b kolibri-process:update
git-svn-id: svn://kolibrios.org@5116 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-12 19:16:32 +00:00
Sergey Semyonov (Serge)
e72c474426 kolibri-process:
v86 works now, at least in VBox

git-svn-id: svn://kolibrios.org@4993 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-11 10:47:51 +00:00
Sergey Semyonov (Serge)
2518ed40a1 kolibri-process:
1)update
2)create v86 process


git-svn-id: svn://kolibrios.org@4923 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-05-12 19:41:55 +00:00
Sergey Semyonov (Serge)
15fd6b2c81 kolibri-process: update
git-svn-id: svn://kolibrios.org@4587 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-22 11:39:11 +00:00
Sergey Semyonov (Serge)
800498080b kolibri-process: destroy_thread and destroy_process
git-svn-id: svn://kolibrios.org@4459 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-15 16:15:44 +00:00
Sergey Semyonov (Serge)
8304dbb5d4 kolibri-process: add child thread's to doubly linked list
git-svn-id: svn://kolibrios.org@4457 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-15 12:12:52 +00:00
Sergey Semyonov (Serge)
9de1536468 kolibri-process terminate: release unused thread slot
git-svn-id: svn://kolibrios.org@4456 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-15 04:56:14 +00:00
Sergey Semyonov (Serge)
a0e9094c8d kolibri-process:protect user heap with the mutex
git-svn-id: svn://kolibrios.org@4434 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-10 03:59:17 +00:00
Sergey Semyonov (Serge)
5647b8ca46 kolibri-process:use per-process pointers to HDLL structure
git-svn-id: svn://kolibrios.org@4433 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-08 22:12:08 +00:00
Sergey Semyonov (Serge)
a7414ad7ff kolibri-process:use [current_process] instead of [APPDATA.process]
git-svn-id: svn://kolibrios.org@4432 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-08 21:12:36 +00:00
Sergey Semyonov (Serge)
fad1af692b kolibri-process:user heap
git-svn-id: svn://kolibrios.org@4430 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-08 07:56:21 +00:00
Sergey Semyonov (Serge)
ede303b245 an attempt to rework threading model
git-svn-id: svn://kolibrios.org@4429 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-08 04:03:52 +00:00
Sergey Semyonov (Serge)
3ed9acd41a kolibri-acpi:update
git-svn-id: svn://kolibrios.org@4423 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-01 21:16:27 +00:00
Sergey Semyonov (Serge)
7194db1dd6 kolibri-acpi:remove Screen_Max_X and Screen_Max_Y. Huge amounts of bugs expected
git-svn-id: svn://kolibrios.org@4288 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-24 09:18:47 +00:00
Sergey Semyonov (Serge)
edbca7f724 kolibri-acpi:update
git-svn-id: svn://kolibrios.org@4287 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-24 07:02:55 +00:00
Sergey Semyonov (Serge)
cc2baba95d kolibri-acpi:prerequisites for user-defined framebuffers, indirect rendering, page flipping, etc
git-svn-id: svn://kolibrios.org@4269 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 09:59:47 +00:00
Sergey Semyonov (Serge)
080b8dcdc4 kolibri-acpi:update
git-svn-id: svn://kolibrios.org@4265 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-21 02:42:12 +00:00
Artem Jerdev (art_zh)
bf1716aa88 hardware cursor test
git-svn-id: svn://kolibrios.org@3934 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-24 21:22:05 +00:00
Sergey Semyonov (Serge)
c03235ca5e kolibri-acpi: new pci code
git-svn-id: svn://kolibrios.org@3910 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-15 12:46:10 +00:00
Sergey Semyonov (Serge)
8423f9ffb6 acpi:merge trunk
git-svn-id: svn://kolibrios.org@3908 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-14 18:55:13 +00:00
Sergey Semyonov (Serge)
5de099185a remame /addappl to /KolibriOS
git-svn-id: svn://kolibrios.org@3780 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-08 08:17:53 +00:00
Sergey Semyonov (Serge)
38f0b2a169 acpi: update
git-svn-id: svn://kolibrios.org@3725 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-28 08:02:49 +00:00
Sergey Semyonov (Serge)
c5b8b35a47 acpi: a hopeless attempt to optimize the kernel memory
git-svn-id: svn://kolibrios.org@3629 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-09 07:32:33 +00:00
Sergey Semyonov (Serge)
61f55267ef acpi:update
git-svn-id: svn://kolibrios.org@3626 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-08 13:00:38 +00:00
Sergey Semyonov (Serge)
8dd796543b acpi:update
git-svn-id: svn://kolibrios.org@3589 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-06-02 10:40:22 +00:00
Artem Jerdev (art_zh)
f138c2f662 Fusion frequencies detection
git-svn-id: svn://kolibrios.org@3573 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-29 23:16:18 +00:00
CleverMouse
c4636d1b86 remove hopelessly obsolete branch
git-svn-id: svn://kolibrios.org@3567 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-29 12:45:44 +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)
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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