Bitmap allocator
include/mem/bitmap.h View source View on GitHubFunctions
Section titled “Functions”bitmap_alloc_pages
Section titled “bitmap_alloc_pages”paddr_t bitmap_alloc_pages(uint64_t count, enum alloc_flags f) source bitmap_free_pages
Section titled “bitmap_free_pages”set_bit
Section titled “set_bit”cc_no_asan void set_bit(uint64_t index) source clear_bit
Section titled “clear_bit”cc_no_asan void clear_bit(uint64_t index) source test_bit
Section titled “test_bit”cc_no_asan bool test_bit(uint64_t index) source bitmap_alloc_page
Section titled “bitmap_alloc_page”Variables
Section titled “Variables”boot_bitmap
Section titled “boot_bitmap”extern uint8_t boot_bitmap[BOOT_BITMAP_SIZE] source bitmap
Section titled “bitmap”extern uint8_t *bitmap source bitmap_size
Section titled “bitmap_size”extern uint64_t bitmap_size source