1284 Commits

Author SHA1 Message Date
Baptiste Wicht
2154f7ebcf Add support for clearing sectors 2016-08-13 12:20:17 +02:00
Baptiste Wicht
1dedabe1c0 Fix ramdisk issues 2016-08-11 23:35:10 +02:00
Baptiste Wicht
c651b5c672 Silence some warnings 2016-08-11 22:59:51 +02:00
Baptiste Wicht
1074d56ec3 Add log 2016-08-11 22:55:33 +02:00
Baptiste Wicht
536fbcbb1c Fix ramdisk size 2016-08-11 21:44:46 +02:00
Baptiste Wicht
79b6088bba Correct device size 2016-08-11 21:38:18 +02:00
Baptiste Wicht
90c30daedc Get the size of ATA disks 2016-08-11 21:02:27 +02:00
Baptiste Wicht
39e4eae81a Add a way to get device size 2016-08-11 20:30:56 +02:00
Baptiste Wicht
ca4600a51b Prepare ioctl support 2016-08-11 20:07:28 +02:00
Baptiste Wicht
0a5128dfa7 Optimization for ramdisk
Do not allocate pages on read
2016-08-11 18:54:58 +02:00
Baptiste Wicht
5516b25562 Fix ramdisk implementation 2016-08-11 18:53:29 +02:00
Baptiste Wicht
b631f251de Complete ramdisk implementation 2016-08-10 22:17:02 +02:00
Baptiste Wicht
8306a3ec21 New utility function: paging::pages 2016-08-10 22:16:23 +02:00
Baptiste Wicht
bb7997d1d8 Prepare ramdisk implementation 2016-08-10 21:56:14 +02:00
Baptiste Wicht
34ec0ee18c Make a few logs optional 2016-08-10 20:14:25 +02:00
Baptiste Wicht
61476b77ed Cleanup logging 2016-08-10 20:08:53 +02:00
Baptiste Wicht
bc5f0e2933 Refactor 2016-08-10 19:59:49 +02:00
Baptiste Wicht
9e6ec8b2a5 Reduce the interrupt frequency of hpet 2016-08-10 19:59:27 +02:00
Baptiste Wicht
7011b05218 Fix the counter frequency 2016-08-10 19:57:47 +02:00
Baptiste Wicht
9e814f2a2f Remove the ticks counter 2016-08-10 19:55:18 +02:00
Baptiste Wicht
32c906fde6 Use the counter for stall 2016-08-10 19:52:35 +02:00
Baptiste Wicht
3e168e192d Configure the HPET counter 2016-08-10 19:50:55 +02:00
Baptiste Wicht
b9f54bbd3d Give the counter frequency 2016-08-10 19:48:15 +02:00
Baptiste Wicht
e5b11d3a45 New counter system in timer 2016-08-10 19:44:04 +02:00
Baptiste Wicht
c03310e69c Function to read the PIT counter 2016-08-10 19:43:46 +02:00
Baptiste Wicht
319fc830ec Remove the number of ticks 2016-08-10 19:39:55 +02:00
Baptiste Wicht
6f37bde5e5 Review round robin quantum
The time quantum is fixed in ticks using the frequency of the timer
2016-08-10 19:26:57 +02:00
Baptiste Wicht
b08c84dbc4 Rename frequency() -> timer_frequency() 2016-08-10 19:14:45 +02:00
Baptiste Wicht
b998a55776 Reduce timer frequency 2016-08-09 22:53:19 +02:00
Baptiste Wicht
86d28d9683 Fix race condition 2016-08-09 22:29:26 +02:00
Baptiste Wicht
f9a4500378 Fix the mouse driver 2016-08-09 22:24:49 +02:00
Baptiste Wicht
66a7a42cf6 FIx a few race conditions 2016-08-09 22:04:30 +02:00
Baptiste Wicht
7fb921853c Fix HPET issue in user space
HPET IRQ where not fired because the HPET counter was not increment
until after the end of the process
2016-08-09 21:45:05 +02:00
Baptiste Wicht
91b5dac2f3 Cleanup 2016-08-09 21:03:40 +02:00
Baptiste Wicht
6bdf7e661e Fix cd .. to the root cluster 2016-08-09 20:35:07 +02:00
Baptiste Wicht
fb63c31ce6 Make logging conditional 2016-08-09 20:19:56 +02:00
Baptiste Wicht
927f84c965 Fix parent directory for root cluster 2016-08-09 20:19:06 +02:00
Baptiste Wicht
bf1cd3f326 Write to each FAT 2016-08-09 19:57:50 +02:00
Baptiste Wicht
8978c0ed81 Fix find_free_cluster bug 2016-08-09 19:50:09 +02:00
Baptiste Wicht
7dddf0979d Add some optional logging 2016-08-09 18:46:19 +02:00
Baptiste Wicht
d79cb1c811 Provide s_time() and ms_time() 2016-08-09 17:28:19 +02:00
Baptiste Wicht
76dad98cec Remove tabs 2016-08-08 22:33:05 +02:00
Baptiste Wicht
4c6d00c0b0 Refactor 2016-08-08 22:33:00 +02:00
Baptiste Wicht
f2a0d94ef0 Refactorings 2016-08-08 21:46:43 +02:00
Baptiste Wicht
9a5a58f788 Use algorithm 2016-08-08 21:08:03 +02:00
Baptiste Wicht
21f00d577d Update blocks when written 2016-08-08 21:02:03 +02:00
Baptiste Wicht
cb64e374dd New features of the block cache 2016-08-08 21:01:40 +02:00
Baptiste Wicht
d0a6143feb Cache blocks from ATA 2016-08-08 20:36:45 +02:00
Baptiste Wicht
d77e2d1a6f Fix block cache 2016-08-08 20:36:38 +02:00
Baptiste Wicht
277488c842 Review interface 2016-08-08 19:49:54 +02:00