Commit Graph

18 Commits

Author SHA1 Message Date
Mathieu Maret 758017a8e7 mmap fix
Keep region list sorted on heap grow
Fix checking region overlap
Assert that mmap appends at loaded address for init
2024-02-12 18:25:35 +01:00
Mathieu Maret 7b953e625e Show allocated/mapped stats 2024-02-11 15:34:33 +01:00
Mathieu Maret 026618a730 Merge close VR with same ressource mapped 2024-02-11 15:31:35 +01:00
Mathieu Maret c3f3eb435e implement munmap
Also add basic errno.h
2024-02-11 00:22:41 +01:00
Mathieu Maret b8c4c782de Fix findVirtualRegionBeforeAddr 2024-02-08 23:15:29 +01:00
Mathieu Maret bf7008fc98 Fix write rights on pageflt 2024-02-08 23:15:29 +01:00
Mathieu Maret f751835115 Improve debug message 2024-02-08 23:15:29 +01:00
Mathieu Maret a4873a7d30 Implement freeing ressource on uAS destroy 2024-02-08 23:15:29 +01:00
Mathieu Maret d9051ea59c Propagate page fault to ressource handler
Fix mmap arguments handling
2024-02-08 23:15:29 +01:00
Mathieu Maret b9d741060f Add the ability to map/unmap a ressource 2024-02-08 23:15:29 +01:00
Mathieu Maret 44c5551655 Wip: zero mmap 2024-02-08 23:15:29 +01:00
Mathieu Maret b6fd550e7f Add some documentation 2024-02-08 23:15:26 +01:00
Mathieu Maret 2b324ac62d Implement malloc with a working free 2024-01-29 22:43:26 +01:00
Mathieu Maret 45ec3c1a7b Fix brk api to match GLIC and add sbrk
Also free userspace allocated memory
2024-01-26 22:26:40 +01:00
Mathieu Maret 18ea283213 Use format attribut and correct associated errors 2023-11-09 23:44:04 +01:00
Mathieu Maret 509a1fd992 Test alloc on several page 2022-09-03 23:41:33 +02:00
Mathieu Maret edcac85b35 OnDemand paging for heap 2022-09-03 23:32:31 +02:00
Mathieu Maret 6471ee9a2d Implement brk syscall simple case 2022-09-03 22:43:41 +02:00