1058 Commits

Author SHA1 Message Date
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
Baptiste Wicht
f47f6d30e7 Rename variable to avoid collision 2016-07-03 13:21:01 +02:00
Baptiste Wicht
b08ca6458f Add get_phys() function 2016-07-03 11:55:59 +02:00
Baptiste Wicht
f1df24d78a Preliminary support for Ctrl+C 2016-07-02 17:19:14 +02:00
Baptiste Wicht
34161e5ac3 Retab 2016-07-02 16:52:43 +02:00
Baptiste Wicht
44f94684f3 Better ATA delays 2016-07-02 16:50:45 +02:00
Baptiste Wicht
c06802ed30 Cleanup asm 2016-07-02 16:44:36 +02:00
Baptiste Wicht
40049a75cf Update license copyright 2016-07-02 16:42:45 +02:00
Baptiste Wicht
c1dd302b08 Clean 2016-07-02 16:39:52 +02:00
Baptiste Wicht
be8eaf1493 Save the idle_pid 2016-07-02 16:34:02 +02:00
Baptiste Wicht
9cf3300665 Clean asserts 2016-07-02 16:33:05 +02:00
Baptiste Wicht
c3f68682fa Fix include 2016-07-02 16:31:22 +02:00
Baptiste Wicht
e0c17d79a1 Small improvement in handling of the input 2016-07-02 16:30:09 +02:00
Baptiste Wicht
2df7dac536 Refinement 2016-07-02 16:28:10 +02:00
Baptiste Wicht
64b2e8d77a Add a way to get RFLAGS register value 2016-07-02 16:27:01 +02:00
Baptiste Wicht
b3f1b9bbcc Interrupt handling
Intel interrupt gates are automatically disabling the interrupts.
So it is not necessary to disable them on IRQs and ISRs, but it is
necessary to enable them in system calls
2016-07-02 16:23:25 +02:00
Baptiste Wicht
ca1a2fdcc2 Comment 2016-07-02 16:12:09 +02:00
Baptiste Wicht
1f1b319bb4 Cleanup 2016-07-02 16:09:00 +02:00
Baptiste Wicht
1a0586d7b6 Cleanup and improve scheduling 2016-07-02 15:50:49 +02:00
Baptiste Wicht
e2a7f90342 Safer ATA driver 2016-07-02 15:37:09 +02:00
Baptiste Wicht
ea4fbf9a92 Better synchronization primitives 2016-07-02 15:36:58 +02:00
Baptiste Wicht
c2bdf94e5d Remove note 2016-07-02 15:05:29 +02:00
Baptiste Wicht
7d7b131911 Qemu debugging via serial port 2016-07-02 15:05:08 +02:00