Commit Graph

335 Commits

Author SHA1 Message Date
Mathieu Maret
32f1a8ba9d Fix Paging Mapping
New PT entry should be set unsing the Vaddr, not the Paddr
2018-11-13 14:49:32 +01:00
Mathieu Maret
bff505fb40 fix printf for 0 2018-11-13 14:31:39 +01:00
Mathieu Maret
8f5c68efaf Fix flag usage 2018-11-13 10:37:28 +01:00
Mathieu Maret
a120647ecb TOFIX: implement testing for paging 2018-11-12 23:07:59 +01:00
Mathieu Maret
4a5f5674ce implement paging map and unmap 2018-11-12 23:02:27 +01:00
Mathieu Maret
63ce78205a Add errno.h 2018-11-12 23:02:27 +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
92f48d1851 more helping macro from linux 2018-11-09 22:36:45 +01:00
Mathieu Maret
4043eb50f7 mem: align upper bound on PAGE_SIZE
stole some macro from linux kernel
2018-11-09 22:32:21 +01:00
Mathieu Maret
93c8c87285 Add types.h to distinguish physical/virt mem 2018-11-09 21:50:08 +01:00
Mathieu Maret
149b197a65 mem: implement ref to physical page 2018-11-09 17:07:39 +01:00
Mathieu Maret
a7b6139f06 fix page alloc
And add some test for it
2018-11-09 16:30:42 +01:00
Mathieu Maret
4e93b8c26b make:fix debug target 2018-11-09 10:50:20 +01:00
Mathieu Maret
7633e54663 Add some way to test kernel 2018-11-08 22:09:12 +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
6cb8b4372a Implement page allocation 2018-08-09 22:19:34 +02:00
Mathieu Maret
0930f2664a Take linked list implementation from SimpleOS 2018-08-09 14:38:52 +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
ca4489f4cc Complete Readme with run cmd 2018-08-05 15:09:52 +02:00
Mathieu Maret
d51fff2d9d Retrieve multiboot information from bootloader 2018-08-05 15:09:32 +02:00
Mathieu Maret
89837e03bf Makefile correction
* fix fd.iso kernel path
* add debug target
2018-08-05 14:12:18 +02:00
Mathieu Maret
a9c01aefda Setup stack bottom 2018-07-26 12:25:43 +02:00
Mathieu Maret
05c78e5e0c Adapt GDT code to our codeing style
GDT code was taken from SOS project
2018-07-26 12:23:49 +02:00
Mathieu Maret
86f55a41ef Can generate symbole file 2018-07-20 17:10:58 +02:00
Mathieu Maret
84d421a014 Can generate iso image 2018-07-20 16:55:41 +02:00
Mathieu Maret
c1afe927cb Make kernel multiboot compatible 2018-07-20 16:41:36 +02:00
Mathieu Maret
2c251fa51c Initial import from mbr_asm project 2018-07-20 15:42:51 +02:00