Commit Graph

20 Commits

Author SHA1 Message Date
Mathieu Maret
4a61d7f3b7 memDesc: change ref as unsigned 2021-02-10 21:15:35 +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
9815cc062f Multiple page allocation 2020-08-28 22:40:21 +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
c1b13bc3f4 Improve log at boot 2020-04-23 23:38:20 +02:00
Mathieu Maret
ca22696b29 klibc: put printf inside (instead of vga.h) 2019-05-17 09:35:23 +02:00
Mathieu Maret
4bbe08d8f5 Add count for allocated and mapped page 2018-11-14 14:28:06 +01:00
Mathieu Maret
4a5f5674ce implement paging map and unmap 2018-11-12 23:02:27 +01:00
Mathieu Maret
18be89ebfe Basic MMU usage 2018-11-11 23:04:23 +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
cb65400d60 Fix some naming convention 2018-11-08 22:08:27 +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
1f164a7a4e First step for memory management 2018-08-06 18:41:45 +02:00