|
PatchworkOS
|
Go to the source code of this file.
Data Structures | |
| struct | pmm_bitmap_t |
| Represents a bitmap allocator's state. More... | |
Functions | |
| void | pmm_bitmap_init (pmm_bitmap_t *bitmap, void *buffer, uint64_t size, uintptr_t maxAddr) |
| Initializes a PMM bitmap. | |
| void * | pmm_bitmap_alloc (pmm_bitmap_t *bitmap, uint64_t count, uintptr_t maxAddr, uint64_t alignment) |
| Allocates a contiguous region of pages from the bitmap. | |
| void | pmm_bitmap_free (pmm_bitmap_t *bitmap, void *address, uint64_t count) |
| Frees a region of pages, returning them to the bitmap. | |