Commit Graph

43 Commits

Author SHA1 Message Date
Mathieu Maret
ddc0c4c84a Wrap IRQ with ASM 2021-10-08 11:24:02 +02:00
Mathieu Maret
f2e32cc0fd Add ATA 2021-10-03 23:19:00 +02:00
Mathieu Maret
8edaa8646f link slab allocator to areaAlloc 2021-10-01 22:21:11 +02:00
Mathieu Maret
31aaf10635 bootstrap alloc and area 2021-08-09 14:55:47 +02:00
Mathieu Maret
8bb6cdbad4 Complete details about first 1MB reserved 2021-06-09 22:23:33 +02:00
Mathieu Maret
4887984322 Thinner phy page pre-booking 2021-04-10 00:24:02 +02: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
73b721dbc1 Add some mem stat 2021-01-23 21:51:00 +01:00
Mathieu Maret
c3d345bb87 Add 64bit printf 2021-01-23 21:21:13 +01:00
Mathieu Maret
8309174f1a Get mem mapping from bootloader 2021-01-23 00:47:06 +01:00
Mathieu Maret
77b495e382 Fix naming and mem bottom 2021-01-22 23:10:07 +01:00
Mathieu Maret
5de1c54b61 Move sleep Thread to test 2020-07-06 17:21:49 +02:00
Mathieu Maret
319f197fcd Fix scheduler with sleeping task 2020-05-03 23:13:17 +02:00
Mathieu Maret
4b3f928f67 kthreadMsleep implementation wip 2020-05-03 14:45:26 +02:00
Mathieu Maret
c65c7bb7b0 More more stuff in arch subdir 2020-04-29 23:07:01 +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
c7feb31c22 Add default exception handler 2020-04-24 23:39:56 +02:00
Mathieu Maret
0c389afa8f Harmonize kthread func naming 2020-04-24 13:42:47 +02:00
Mathieu Maret
59a8d3b582 Exception handler can access their ID 2020-04-23 23:59:57 +02:00
Mathieu Maret
de14e795d6 kthread: implement exit 2020-04-23 23:40:16 +02:00
Mathieu Maret
c1b13bc3f4 Improve log at boot 2020-04-23 23:38:20 +02:00
Mathieu Maret
2c0f54926d Initial kthread implementation 2020-04-23 14:49:42 +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
13f1dc7878 Multiboot: display mmap and mod informations
sample code from https://www.gnu.org/software/grub/manual/multiboot/html_node/kernel_002ec.html#kernel_002ec
have issue (c.f. https://forum.osdev.org/viewtopic.php?t=30318)
2019-05-16 23:24:54 +02:00
Mathieu Maret
8cf50c9a6e implement memcmp 2019-04-16 10:19:36 +02:00
Mathieu Maret
f1b3895473 Alloc: could be initialized in random way
fix ENO usage
2019-04-15 21:35:47 +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
7def058cf4 Add slab allocator 2019-04-11 22:34:20 +02:00
Mathieu Maret
146a06f0e6 wip: add blinking cursor 2018-11-14 18:03:11 +01:00
Mathieu Maret
56a16b9ea5 Add empty pagefault handler 2018-11-13 18:02:47 +01:00
Mathieu Maret
fd153e305d fix self test 2018-11-12 18:06:46 +01:00
Mathieu Maret
18be89ebfe Basic MMU usage 2018-11-11 23:04:23 +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
6cb8b4372a Implement page allocation 2018-08-09 22:19:34 +02:00
Mathieu Maret
9f1afe5f6b implement printf like function 2018-08-07 14:09:43 +02:00
Mathieu Maret
29f085b7aa Add va_list
and rename types.h into stdarg.h
2018-08-06 21:28:42 +02:00
Mathieu Maret
1f164a7a4e First step for memory management 2018-08-06 18:41:45 +02:00
Mathieu Maret
d51fff2d9d Retrieve multiboot information from bootloader 2018-08-05 15:09:32 +02:00
Mathieu Maret
2c251fa51c Initial import from mbr_asm project 2018-07-20 15:42:51 +02:00