Commit Graph

28 Commits

Author SHA1 Message Date
d4449b8d87 sandbox: vm: make kmalloc(size: 0) return NULL 2023-02-02 21:12:14 +00:00
ba415b2942 sandbox: vm: fix double evaluation of queue_pop_front() 2023-02-02 21:11:29 +00:00
4175f67b9b sandbox: vm: replace calls to queue_length() with queue_empty() 2023-02-02 21:10:37 +00:00
a33c490852 sandbox: vm: vm_page p_slab field is now set for slab pages 2023-02-02 21:07:22 +00:00
c47da5864c sandbox: vm: add temporary vm_virt_to_phys() implementation 2023-02-02 21:06:04 +00:00
90dd51008f sandbox: vm: fix vm_cache.c_hdr_size not being calculated 2023-02-02 21:03:27 +00:00
662be5ec1f sandbox: vm: add cache allocator, generic size-N caches for kmalloc() 2023-02-02 16:58:48 +00:00
3c781a4cb3 sandbox: vm: make vm_page queue entry private, owner-defined usage 2023-02-02 16:58:24 +00:00
e5a7546996 sandbox: vm: temporary implementation of vm_page_get_vaddr() 2023-02-02 16:57:03 +00:00
7331bdefda sandbox: vm: reduce vm_page order field size to 4 bits 2023-02-02 16:54:48 +00:00
ab46b7cd13 sandbox: vm: fix bad array index in replenish_free_page_list 2023-02-02 16:47:32 +00:00
9409ebbb19 sandbox: vm: implement page freeing; merge/split bugfix 2023-02-01 17:05:14 +00:00
ca92093c10 sandbox: vm: add function to iterate though pages in a hugepage 2023-02-01 17:04:20 +00:00
af49d47ba8 sandbox: vm: add page splitting, merging, and allocation 2023-02-01 15:03:42 +00:00
4cb30737fb sandbox: vm: remove relative include 2023-02-01 14:03:07 +00:00
2147837e9e sandbox: vm: encode vm_page zone id within p_flags 2023-02-01 12:26:49 +00:00
01b526660e sandbox: vm: set maximum page size to 8 MiB 2023-01-31 18:25:52 +00:00
ee08088fcf sandbox: vm: fix convert_region_to_blocks() not creating more than one block of a given size 2023-01-31 18:25:32 +00:00
324ed2c9d0 sandbox: vm: remove vm_ prefix from source files 2023-01-31 15:28:46 +00:00
c0c930e5a9 sandbox: vm: fix incorrect region/zone limit addresses 2023-01-29 20:10:15 +00:00
8fb71ccb77 sandbox: vm: add page attribute getters 2023-01-29 20:09:15 +00:00
66afb5ca28 sandbox: vm: fix block reservation status for regions with one homogeneous set of pages 2023-01-29 11:17:09 +00:00
a3c6018d96 sandbox: vm: enforce alignment requirements for multi-page blocks 2023-01-29 11:03:53 +00:00
d0341a5e35 sandbox: vm: organise pages into zoned blocks 2023-01-28 19:24:28 +00:00
1bd9576a8d Implemented more memory manager and btree tests in sandbox 2023-01-19 20:52:56 +00:00
0d77d97561 memblock can now self re-allocate its internal buffers
memory allocated by memblock_alloc() can now be limited to a certain region.
2023-01-08 12:13:59 +00:00
2ac3e8602f Re-factored sandbox into a single executable 2022-12-29 19:47:25 +00:00
2b59afcaf3 Started building the kernel memory manager in userspace 2022-12-29 19:22:16 +00:00