Commit Graph

64 Commits

Author SHA1 Message Date
Mathieu Maret
0d60bdeb7f wip fat16/32 2024-08-03 11:19:28 +02:00
Mathieu Maret
dea0eba83d zero: keep track of allocated pages 2024-03-06 22:00:09 +01:00
9713f527a8 Change userspace by partition type
Userspace should be on the first Linux partition found
2024-02-15 23:36:01 +01:00
70366fa7be Set pid_t type 2024-02-15 18:42:45 +01:00
Mathieu Maret
a78aa420fd zero: less verbose 2024-02-11 19:00:17 +01:00
Mathieu Maret
c3f3eb435e implement munmap
Also add basic errno.h
2024-02-11 00:22:41 +01:00
Mathieu Maret
3339f8b059 Fix customData free 2024-02-10 22:49:24 +01:00
Mathieu Maret
1895781213 Assign a mapped ressource to init prog 2024-02-08 23:15:29 +01:00
Mathieu Maret
62a1c1cefb zero: finish implementation 2024-02-08 23:15:29 +01:00
Mathieu Maret
b9d741060f Add the ability to map/unmap a ressource 2024-02-08 23:15:29 +01:00
Mathieu Maret
44c5551655 Wip: zero mmap 2024-02-08 23:15:29 +01:00
Mathieu Maret
8af3ba0762 mmap syscall declaration 2024-02-08 23:08:14 +01:00
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