Commit Graph

39 Commits

Author SHA1 Message Date
Mathieu Maret
ec65623da4 Reduce kthead execution time 2021-10-30 15:34:13 +02:00
Mathieu Maret
e65a57d55d Rename kthread to thread 2021-10-30 14:29:12 +02:00
Mathieu Maret
2c4ade0fca test show free mem before/after 2021-10-30 00:37:26 +02:00
Mathieu Maret
79a2bc58ae Integrate MMU context 2021-10-30 00:28:31 +02:00
Mathieu Maret
7081fea36d Fix areaAlloc map failing and tests 2021-10-29 17:48:06 +02:00
Mathieu Maret
9ae500f06e Add more test 2021-10-27 17:39:17 +02:00
Mathieu Maret
19714126d1 ATA add write and some test 2021-10-06 10:45:03 +02:00
mathieu
1222c0b998 Merge branch 'master' into areaIntegration 2021-10-01 22:21:31 +02:00
Mathieu Maret
8edaa8646f link slab allocator to areaAlloc 2021-10-01 22:21:11 +02:00
Mathieu Maret
57bae864f8 Add memcpy perf test 2021-09-15 21:53:08 +02:00
Mathieu Maret
865d3b811e Rename memDesc to phyMemDesc 2021-04-10 21:53:03 +02:00
Mathieu Maret
32446b3603 Correct NULL access 2021-04-09 20:47:20 +02: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
73b721dbc1 Add some mem stat 2021-01-23 21:51:00 +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
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
36734ae6e6 test: add mutex test 2020-07-08 23:12:45 +02:00
Mathieu Maret
5de1c54b61 Move sleep Thread to test 2020-07-06 17:21:49 +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
dafaba7407 kthread implement yield 2020-04-24 23:35:57 +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
3bca737990 Add context switch
This is taken from SOS
2019-05-15 23:22:28 +02:00
Mathieu Maret
3cda78532b test: add more malloc/free test 2019-04-17 23:47:25 +02:00
Mathieu Maret
b3d38d8c9c alloc: split slab and slabEntry definition 2019-04-17 18:07:19 +02:00
Mathieu Maret
f3a03f3965 test: memset the whole page 2019-04-17 12:06:08 +02:00
Mathieu Maret
3f258485b9 implement free 2019-04-15 23:09:09 +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
e998fec795 stack_trace try to get function arguments 2018-11-19 13:57:07 +01:00
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
a120647ecb TOFIX: implement testing for paging 2018-11-12 23:07:59 +01:00
Mathieu Maret
fd153e305d fix self test 2018-11-12 18:06:46 +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
7633e54663 Add some way to test kernel 2018-11-08 22:09:12 +01:00