Commit Graph

52 Commits

Author SHA1 Message Date
Mathieu Maret
946c47a988 Reorganize a bit includes like libc 2024-01-29 23:27:10 +01:00
Mathieu Maret
edbbaec930 Correct some warnings 2024-01-26 22:53:39 +01:00
Mathieu Maret
01f5b872f2 ata: fix read/write on 2nd/4th disk 2023-11-21 00:06:09 +01:00
Mathieu Maret
8a4e0ff10f Fix ata device detection
After grub loading sector and LBA could have been altered
2023-11-20 23:11:12 +01:00
Mathieu Maret
cf3c2f10fd VGA: fix MAP when reconfigured 2023-11-17 14:54:26 +01:00
Mathieu Maret
1f844d6a35 keyboard: add alt modifier 2023-03-21 22:40:10 +01:00
Mathieu Maret
4f5b5583cb ata: fix controller init 2021-11-13 12:34:02 +01:00
Mathieu Maret
fb9bd8df7d Various small fix 2021-11-13 08:31:05 +01:00
Mathieu Maret
d3a7ab59b7 Basic shell 2021-11-06 00:13:40 +01:00
Mathieu Maret
2b32908029 load userspace from disk 2021-11-05 23:02:23 +01:00
Mathieu Maret
2cfa67b8e2 Add partition table support 2021-11-05 08:57:17 +01:00
Mathieu Maret
afb622e17a ATA: write do not block forever 2021-11-03 23:00:20 +01:00
Mathieu Maret
e65a57d55d Rename kthread to thread 2021-10-30 14:29:12 +02:00
Mathieu Maret
8a53ecfecd VGA: could be configured from MBI 2021-10-25 21:29:02 +02:00
Mathieu Maret
5c7242e4dc Use ASM exception wrapper 2021-10-08 16:42:32 +02:00
Mathieu Maret
4e14b05f72 irq handler get complete CPU state in arguments 2021-10-08 15:30:08 +02:00
Mathieu Maret
ddc0c4c84a Wrap IRQ with ASM 2021-10-08 11:24:02 +02:00
Mathieu Maret
19714126d1 ATA add write and some test 2021-10-06 10:45:03 +02:00
Mathieu Maret
1a337881f3 ATA Add Read function 2021-10-06 08:45:19 +02:00
Mathieu Maret
a47783ed9c fix ATA disk and controller detection 2021-10-05 21:59:36 +02:00
Mathieu Maret
f2e32cc0fd Add ATA 2021-10-03 23:19:00 +02:00
Mathieu Maret
5ab68d8197 Various cleaning 2021-01-25 20:05:38 +01:00
Mathieu Maret
ede53ae4f9 VGA renaming 2021-01-25 14:00:06 +01:00
Mathieu Maret
bea3449b11 Implement vsnprintf and use it 2021-01-24 23:51:21 +01:00
Mathieu Maret
9815cc062f Multiple page allocation 2020-08-28 22:40:21 +02:00
Mathieu Maret
0ae9ad7d92 protect vga access from mutlithread 2020-08-21 00:35:33 +02:00
Mathieu Maret
70930ecf50 Add comment for non-preempt kernel 2020-05-03 23:14:40 +02:00
Mathieu Maret
4b3f928f67 kthreadMsleep implementation wip 2020-05-03 14:45:26 +02:00
Mathieu Maret
e51314ffac organize by arch 2020-04-27 23:45:38 +02:00
Mathieu Maret
6c3a03a4bc Implement Jiffies 2020-04-27 23:26:22 +02:00
Mathieu Maret
3b97d0307d Style: harmonize formatting
Thanks to: "clang-format -i -style=file **/*.{c,h}"
2020-04-27 00:14:51 +02:00
Mathieu Maret
a19f4cb609 Set PIT IRQ in main
complete interrupt_frame struct and formatting
2020-04-22 16:52:54 +02:00
Mathieu Maret
389452ec3f printf: also write on serial 2019-05-17 09:57:14 +02:00
Mathieu Maret
ca22696b29 klibc: put printf inside (instead of vga.h) 2019-05-17 09:35:23 +02:00
Mathieu Maret
03c74c68d6 Fix headers 2019-05-15 23:20:03 +02:00
Mathieu Maret
e03f0c0d78 Add test
Add test for alloc and add asert statement
2019-04-11 23:08:59 +02:00
Mathieu Maret
28309db7b9 Add printf for debug: pr_devel
Taken from linux kernel
2019-04-11 22:32:50 +02:00
Mathieu Maret
0bd91897b7 vga: add clearScreenLine 2018-11-16 19:56:38 +01:00
Mathieu Maret
50fa9b7d24 implement %x in printf 2018-11-16 10:34:03 +01:00
Mathieu Maret
ea9e5f7f23 Fix cursor 2018-11-15 13:29:05 +01:00
Mathieu Maret
146a06f0e6 wip: add blinking cursor 2018-11-14 18:03:11 +01:00
Mathieu Maret
9b46b60b7a fix printIntDetails for 0 2018-11-14 15:45:34 +01:00
Mathieu Maret
bff505fb40 fix printf for 0 2018-11-13 14:31:39 +01:00
Mathieu Maret
cb65400d60 Fix some naming convention 2018-11-08 22:08:27 +01:00
Mathieu Maret
00d7004815 PIT/Serial irq refactoring
Serial IRQ still wip
2018-11-08 21:37:38 +01:00
Mathieu Maret
e4200782ac Add Serial driver 2018-11-08 21:11:45 +01:00
Mathieu Maret
29442c4b05 keyboard: fix keystroke, add more mapping 2018-11-08 14:12:56 +01:00
Mathieu Maret
b159aa0b50 implement capslock 2018-11-07 17:47:06 +01:00
Mathieu Maret
d95728bbd1 fix scrolling 2018-11-07 17:38:28 +01:00
Mathieu Maret
9f1afe5f6b implement printf like function 2018-08-07 14:09:43 +02:00