1284 Commits

Author SHA1 Message Date
Baptiste Wicht
131a95c1fc Reformat 2016-09-24 15:43:50 +02:00
Baptiste Wicht
455239eb3c Prepare virtual terminal switching 2016-09-24 15:41:28 +02:00
Baptiste Wicht
042175b4f9 Cleanup 2016-09-24 14:22:38 +02:00
Baptiste Wicht
cf5a6d093a Fix condition variable implementation 2016-09-22 22:27:29 +02:00
Baptiste Wicht
e86258e15b Remove system calls 2016-09-22 22:12:39 +02:00
Baptiste Wicht
e7b61d9169 Fix timeout 2016-09-22 22:12:35 +02:00
Baptiste Wicht
bd8aa03052 Use read for raw-mode reading 2016-09-22 22:09:53 +02:00
Baptiste Wicht
17a7447139 Use read for getting user input 2016-09-22 21:50:15 +02:00
Baptiste Wicht
1667ec053a Complete support for read with timeout 2016-09-22 21:49:55 +02:00
Baptiste Wicht
ca3055d4af Add basic support for read with timeout 2016-09-22 21:19:03 +02:00
Baptiste Wicht
4fdfbc56cf Remove print system calls 2016-09-22 20:55:17 +02:00
Baptiste Wicht
c49f14920b Allow writing to the terminal 2016-09-22 20:34:43 +02:00
Baptiste Wicht
c53f66af49 Store standard file descriptors 2016-09-22 20:18:18 +02:00
Baptiste Wicht
f266b95c37 Save init_task pid 2016-09-22 20:04:33 +02:00
Baptiste Wicht
e2d1932a8f Prepare terminal drivers 2016-09-22 20:00:16 +02:00
Baptiste Wicht
9a7852865b Prepare suport for character devices 2016-09-22 19:53:20 +02:00
Baptiste Wicht
1b99265fc3 Small improvements of TCP 2016-09-22 18:33:22 +02:00
Baptiste Wicht
7271d7ffd0 Protect network transmission 2016-09-22 17:59:07 +02:00
Baptiste Wicht
966e8422f0 Protect correctly packet reception 2016-09-22 17:52:06 +02:00
Baptiste Wicht
f815e67033 Remove useless include 2016-09-22 17:49:53 +02:00
Baptiste Wicht
c36eec2986 Add include-guards 2016-09-22 17:46:44 +02:00
Baptiste Wicht
467bbcf1b7 Fix deferred locking 2016-09-22 17:29:53 +02:00
Baptiste Wicht
bee71fc071 Fix the keymap 2016-09-20 20:47:04 +02:00
Baptiste Wicht
caf8d97abf Fix TCP disconnection 2016-09-20 20:32:26 +02:00
Baptiste Wicht
8ff35de098 Fix handle of \r 2016-09-20 19:29:18 +02:00
Baptiste Wicht
af7ee6ca78 Fix window size 2016-09-20 19:26:19 +02:00
Baptiste Wicht
bac55fd366 Make ACK more restrictive 2016-09-20 18:28:52 +02:00
Baptiste Wicht
48950530dd Fix process selection
RUNNING processes must be selected as well
2016-09-20 17:41:32 +02:00
Baptiste Wicht
52d02c100e Avoid switching a process from RUNNING to READY 2016-09-20 17:41:29 +02:00
Baptiste Wicht
64b21e10ac Make condition variable stricter
Normally unblock_process_hint should only be used by IRQ handlers
2016-09-20 17:03:32 +02:00
Baptiste Wicht
b4d121f5ba Improve concurrency from IRQ 2016-09-20 16:50:03 +02:00
Baptiste Wicht
a6d4b627a2 Add notes 2016-09-20 16:49:06 +02:00
Baptiste Wicht
5c4061a941 Fix some concurrency issues
In IRQ handlers, the process that we wake up can still be running
Therefore, must use a hint only
2016-09-19 22:42:16 +02:00
Baptiste Wicht
6f10cd5212 Fix memory issues 2016-09-19 22:30:55 +02:00
Baptiste Wicht
90847560e0 Fix retry of transmission 2016-09-19 22:22:41 +02:00
Baptiste Wicht
683e17f3d0 Enhance UDP support 2016-09-19 21:43:11 +02:00
Baptiste Wicht
28dc3fff33 Allow binding to arbitrary port 2016-09-19 20:42:18 +02:00
Baptiste Wicht
eb98f9f472 Fix TCP header length handling 2016-09-19 20:14:44 +02:00
Baptiste Wicht
bb433ba9ba Fix IP header length 2016-09-19 20:13:12 +02:00
Baptiste Wicht
4afeb82c4e Better handling of variable IP header length 2016-09-19 19:59:48 +02:00
Baptiste Wicht
26abd1fd6a Add receive function to stream sockets 2016-09-19 18:43:57 +02:00
Baptiste Wicht
54baef231d Fix warnings 2016-09-19 10:22:48 +02:00
Baptiste Wicht
283e743eb9 Documentation 2016-09-19 10:19:51 +02:00
Baptiste Wicht
ee7914c9e2 Documentation of the network interface 2016-09-19 10:10:14 +02:00
Baptiste Wicht
d4bc47274c Cleanup of TCP implementation 2016-09-18 23:02:13 +02:00
Baptiste Wicht
a92a5c5784 Add send function to ease send of message 2016-09-18 22:29:23 +02:00
Baptiste Wicht
90b389c1ea Add note 2016-09-18 21:27:49 +02:00
Baptiste Wicht
1e671d61f1 Refactor TCP layer a bit 2016-09-18 21:23:13 +02:00
Baptiste Wicht
2ac2e27fd1 Restore TCP disconnect 2016-09-18 21:22:46 +02:00
Baptiste Wicht
08d4219d4e Cleanup 2016-09-18 21:10:07 +02:00