| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | mm: use linked-list-allocator as kmalloc | Tianhao Wang | 2024-06-11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | I'll implement my own allocator later. Currently using linked-list allocator [1] to manage the kernel heap (as in kmalloc, not vmalloc). It manages the ID-mapped region (from VA 0xffff_8000_0000_0000). This allocator is initialized to use the _largest_ physical memory block. If the kernel image (text and data) live in this zone then skip the occupied part. Key difference between kmalloc and vmalloc: - kmalloc pretty much manages the physical memory: the allocated address are within the id-mapped region (see above) therefore the allocated memory must also be contigous in physical memory. Such memory MUST NOT page fault. This is prone to fragmentation, so do not use kmalloc to allocate big objects (e.g. bigger than one 4k page). - vmalloc manages kernel heap memory and the mapping is managed by paging. Such memory could trigger pagefault in kernel mode. Note that the kmalloc conflicts with the previous used stack based PMA as they operates on the same VM zone. References: [1] https://github.com/rust-osdev/linked-list-allocator Signed-off-by: Tianhao Wang <shrik3@mailbox.org> | ||
| * | chore: update readme | Tianhao Wang | 2024-06-11 |
| | | | | | Signed-off-by: Tianhao Wang <shrik3@mailbox.org> | ||
| * | readme: bulk update | Tianhao Wang | 2024-06-11 |
| | | | | | | | | - update regarding contributing - fix typo - update roadmap - fix toc link | ||
| * | readme: update regarding license | Tianhao Wang | 2024-06-11 |
| | | |||
| * | fix readme | Tianhao Wang | 2024-06-11 |
| | | |||
| * | update readme for troubleshooting | Tianhao Wang | 2024-06-11 |
| | | |||
| * | update readme | Tianhao Wang | 2024-06-11 |
| | | |||
| * | license: update readme | Tianhao Wang | 2024-06-11 |
| | | |||
| * | readme: add reference | Tianhao Wang | 2024-06-11 |
| | | |||
| * | readme: update info | Tianhao Wang | 2024-06-11 |
| | | | | | Signed-off-by: Tianhao Wang <shrik3@mailbox.org> | ||
| * | readme: update licensing notice | Tianhao Wang | 2024-06-11 |
| | | |||
| * | readme: update licensing notice | Tianhao Wang | 2024-06-11 |
| | | |||
| * | add tud reference | Tianhao Wang | 2024-06-11 |
| | | |||
| * | update readme | Tianhao Wang | 2024-06-11 |
| | | |||
| * | PS/2 Keyboard controller: baseline | Tianhao Wang | 2024-06-11 |
| | | |||
| * | update readme | Tianhao Wang | 2024-06-11 |
| | | |||
| * | update readme | Tianhao Wang | 2024-06-11 |
| | | |||
| * | rename README | Tianhao Wang | 2024-06-11 |
