2033 Commits

Author SHA1 Message Date
Baptiste Wicht
1074d56ec3 Add log 2016-08-11 22:55:33 +02:00
Baptiste Wicht
6431cbc2d0 Write the FAT32 BS and FAT32 IS 2016-08-11 22:55:25 +02:00
Baptiste Wicht
4ce4318bdb Fix expected 2016-08-11 22:39:27 +02:00
Baptiste Wicht
88aa6ec9e9 Code style 2016-08-11 22:37:07 +02:00
Baptiste Wicht
a04d2c3513 Complete mkfs 2016-08-11 22:25:18 +02:00
Baptiste Wicht
395e6ec8db Add std::ceil_divide 2016-08-11 22:25:05 +02:00
Baptiste Wicht
afd3cde5c2 Start mfks program 2016-08-11 21:45:29 +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
cbe7384e5f Better odin wm 2016-08-10 21:19:33 +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
63437983eb Sleep a bit less 2016-08-09 23:02:16 +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
15a2d1b1ea Better bench 2016-08-09 21:45:16 +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
f9855f080c Better benchmark 2016-08-09 20:53:10 +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
c4bc597f65 Better check_fat target 2016-08-09 19:59:05 +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
a84df385f1 Add some utility targets 2016-08-09 18:46:31 +02:00
Baptiste Wicht
7dddf0979d Add some optional logging 2016-08-09 18:46:19 +02:00
Baptiste Wicht
9d37e3b9d9 Silence warning 2016-08-09 18:24:48 +02:00