1230 Commits

Author SHA1 Message Date
Baptiste Wicht
a3bd976bd5 Add access to the network interfaces 2016-07-08 22:23:15 +02:00
Baptiste Wicht
9d56e0d30e Typo 2016-07-08 21:47:27 +02:00
Baptiste Wicht
5aa74093d7 Cleanup 2016-07-08 21:41:57 +02:00
Baptiste Wicht
53a2a07784 Improve IRQ system
Pass some data that is forwarded to the handler
2016-07-07 09:54:50 +02:00
Baptiste Wicht
e6a2cf0b95 Complete ARP cache functions 2016-07-07 09:31:34 +02:00
Baptiste Wicht
57efa5f7d0 Update ARP cache 2016-07-06 22:25:06 +02:00
Baptiste Wicht
0caad4b244 Improve ip::address 2016-07-06 22:24:55 +02:00
Baptiste Wicht
69d8e50044 Use the new utilities 2016-07-06 21:54:24 +02:00
Baptiste Wicht
fbb39988eb IP Address utilities 2016-07-06 21:54:19 +02:00
Baptiste Wicht
e91631b2f2 Refactor 2016-07-06 21:20:34 +02:00
Baptiste Wicht
234ea4f11a Complete ARP parsing 2016-07-06 18:47:53 +02:00
Baptiste Wicht
4e756e71e4 Support ls without a path 2016-07-06 15:11:01 +02:00
Baptiste Wicht
85ec3e9b0a Cleanup log functions 2016-07-06 15:06:46 +02:00
Baptiste Wicht
db68e3003e Better log printing 2016-07-06 15:04:14 +02:00
Baptiste Wicht
1f7da78089 Complete the header 2016-07-06 14:57:25 +02:00
Baptiste Wicht
f109e6b613 Introduce ARP layer 2016-07-06 14:54:09 +02:00
Baptiste Wicht
a06e057200 Cleanup 2016-07-06 14:44:01 +02:00
Baptiste Wicht
45ba70d1fd Ethernet packet decoded 2016-07-05 22:00:25 +02:00
Baptiste Wicht
4b94807ddb Utilities for endianess switching 2016-07-05 22:00:23 +02:00
Baptiste Wicht
ffb95a5bfb Handle packet receiving 2016-07-05 19:39:34 +02:00
Baptiste Wicht
56e00b6e8b Improve a bit the RTL8139 driver 2016-07-05 19:05:42 +02:00
Baptiste Wicht
1750f4569f Map the physical buffer into virtual address 2016-07-05 16:33:48 +02:00
Baptiste Wicht
aeb67c63d9 Put interface in promiscuous mode 2016-07-04 23:53:49 +02:00
Baptiste Wicht
53892b4aa5 Correct options for Qemu networking 2016-07-04 23:53:19 +02:00
Baptiste Wicht
86386f134d Realtek 8139 NIC Driver prototype 2016-07-03 23:07:00 +02:00
Baptiste Wicht
3f564ad702 Ignore executable 2016-07-03 23:06:47 +02:00
Baptiste Wicht
dd59393248 Remove executable 2016-07-03 23:06:41 +02:00
Baptiste Wicht
ea4cbaa240 Support %x
Same than %h but does not print 0x
2016-07-03 22:53:31 +02:00
Baptiste Wicht
97adfcc7ae Remove old debug message 2016-07-03 21:35:21 +02:00
Baptiste Wicht
2b975b4a1b Offer more capabilities for the drivers 2016-07-03 21:31:44 +02:00
Baptiste Wicht
9d52e2390f Add some data for the driver 2016-07-03 21:18:51 +02:00
Baptiste Wicht
fc90ab8d29 Detect network interfaces 2016-07-03 21:12:03 +02:00
Baptiste Wicht
42ed9e5a46 Correctly ignore the log 2016-07-03 20:41:58 +02:00
Baptiste Wicht
207231e88a Rename log file 2016-07-03 20:41:14 +02:00
Baptiste Wicht
1e08558553 Merge branch 'develop' into proper 2016-07-03 20:21:52 +02:00
Baptiste Wicht
7e7bfc4968 New program: lspci 2016-07-03 20:11:50 +02:00
Baptiste Wicht
dbffaf89dd Publish PCI devices in sysfs 2016-07-03 18:59:22 +02:00
Baptiste Wicht
aa8a6ffb23 Support for : in keyboard 2016-07-03 18:58:04 +02:00
Baptiste Wicht
83cdf86326 Basic PCI detection 2016-07-03 18:46:20 +02:00
Baptiste Wicht
8819bb196f Support for I/O functions inl/outl 2016-07-03 18:46:13 +02:00
Baptiste Wicht
d409f09000 Enable network controller 2016-07-03 18:44:22 +02:00
Baptiste Wicht
f335186c80 Add comment 2016-07-03 16:37:32 +02:00
Baptiste Wicht
160b78e168 Protect the kernel with Stack Smashing Protection 2016-07-03 16:22:10 +02:00
Baptiste Wicht
27dc7e25a0 Fix race condition in wait_for_termination
If preempted, it was possible for a process to be waiting forever
2016-07-03 15:59:54 +02:00
Baptiste Wicht
1c3af14f35 Exposes ATA information 2016-07-03 15:59:29 +02:00
Baptiste Wicht
3c38ead19f Protect kernel allocations
This code is absolutely not-reentrant
2016-07-03 13:24:43 +02:00
Baptiste Wicht
e66314ae96 Save ALL registers
For some reasons, some registers were not saved :(
2016-07-03 13:24:18 +02:00
Baptiste Wicht
64c1312b28 Interrupt lock
This lock disable interrupts for the duration of the lock, thus
protecting non-reentrant code path
2016-07-03 13:23:47 +02:00
Baptiste Wicht
f7ba2bbe2d Improve logging 2016-07-03 13:23:12 +02:00
Baptiste Wicht
9ceb950642 Log faults
In case of VESA problems, the error will be present in the log as
well
2016-07-03 13:21:26 +02:00