Commit Graph

252 Commits

Author SHA1 Message Date
Mathieu Maret
57bae864f8 Add memcpy perf test 2021-09-15 21:53:08 +02:00
Mathieu Maret
10d42721e9 Add read_cycle_counter 2021-09-15 21:51:58 +02:00
Mathieu Maret
220597a881 gdb: add custom cmd for printing linked list 2021-08-19 16:42:44 +02:00
Mathieu Maret
31aaf10635 bootstrap alloc and area 2021-08-09 14:55:47 +02:00
Mathieu Maret
5a078249d0 Makefile: grouped targets for kernel.sym 2021-08-02 15:07:45 +02:00
Mathieu Maret
8bb6cdbad4 Complete details about first 1MB reserved 2021-06-09 22:23:33 +02:00
Mathieu Maret
865d3b811e Rename memDesc to phyMemDesc 2021-04-10 21:53:03 +02:00
Mathieu Maret
4887984322 Thinner phy page pre-booking 2021-04-10 00:24:02 +02:00
Mathieu Maret
32446b3603 Correct NULL access 2021-04-09 20:47:20 +02:00
Mathieu Maret
1d1ed1ef60 GDB: add cmd for Phy Mem state 2021-04-09 20:46:49 +02:00
Mathieu Maret
8c0c61c099 Pagefault handler never come back 2021-04-09 20:45:40 +02:00
Mathieu Maret
582c06afbc Reduce mem to 16M in debug 2021-04-09 20:44:48 +02:00
Mathieu Maret
cff4e43cb8 Reduce mem to 32M 2021-04-09 20:44:24 +02:00
Mathieu Maret
b077d54e7f WIP: implement basic of alloc area 2021-04-07 16:34:37 +02:00
Mathieu Maret
a2d2e1de60 Check malloc return value 2021-04-07 16:34:37 +02:00
mathieu
12cf6b1f89 Fix cmd in Readme.md 2021-03-18 09:16:14 +01:00
mathieu
d3a71b20dc Mise à jour de 'README.md'
Fix spacing
2021-03-02 09:27:03 +01:00
Mathieu Maret
7654782675 Add introduction 2021-03-02 09:25:38 +01:00
Mathieu Maret
4a61d7f3b7 memDesc: change ref as unsigned 2021-02-10 21:15:35 +01:00
Mathieu Maret
ef78de447f Improve make target names 2021-01-26 17:58:33 +01:00
Mathieu Maret
3b7543064d alloc: simplify full usage 2021-01-26 08:45:13 +01:00
Mathieu Maret
9e5b4f0060 Revert "makefile: disable pie"
This reverts commit f64bbd9d90.
it leads to "Error loading uncompressed kernel without PVH ELF Note"
2021-01-26 08:43:06 +01:00
Mathieu Maret
f64bbd9d90 makefile: disable pie 2021-01-25 20:29:40 +01: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
3f4fb9e952 add asprintf 2021-01-25 10:17:19 +01:00
Mathieu Maret
bea3449b11 Implement vsnprintf and use it 2021-01-24 23:51:21 +01:00
Mathieu Maret
b305653aac Fix klibc return values 2021-01-24 22:20:43 +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
774a20b8c8 remove local .vimrc 2021-01-23 00:47:28 +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
a254a7cd71 Fix allocation of too big size 2021-01-16 22:43:43 +01:00
Mathieu Maret
9815cc062f Multiple page allocation 2020-08-28 22:40:21 +02:00
Mathieu Maret
ba9e0f1bff protect slub access from multithread 2020-08-21 00:35:33 +02:00
Mathieu Maret
0ae9ad7d92 protect vga access from mutlithread 2020-08-21 00:35:33 +02:00
Mathieu Maret
9fe6d3c7df add some pretty-printer for kthread 2020-08-21 00:35:33 +02:00
Mathieu Maret
1f1f017224 Add gdb custom commands 2020-08-20 23:41:36 +02:00
Mathieu Maret
c71b0135cf add wq[Init|Free] 2020-08-20 23:41:36 +02:00
Mathieu Maret
e8959f3693 Add test on wq with timeout 2020-08-20 23:41:36 +02:00
Mathieu Maret
5b933a82d3 Implement timeout on wait_queue
fix #1
2020-08-20 23:41:12 +02:00
Mathieu Maret
fa9955dd7f Simplifi debug cmd (allow ctrl-c) 2020-08-18 13:55:52 +02:00
Mathieu Maret
9c6c4f3470 Fix typo 2020-08-16 00:24:59 +02:00
Mathieu Maret
6922f6dfa4 improve wait_queue api 2020-08-15 23:31:35 +02:00
Mathieu Maret
36734ae6e6 test: add mutex test 2020-07-08 23:12:45 +02:00
Mathieu Maret
0f200d1911 Add mutex implementation 2020-07-08 23:08:50 +02:00
Mathieu Maret
1230d738a6 Add %p for printf 2020-07-08 23:03:05 +02:00
Mathieu Maret
5de1c54b61 Move sleep Thread to test 2020-07-06 17:21:49 +02:00
Mathieu Maret
88d0266d76 gdb: add non-core dir 2020-05-06 21:05:09 +02:00