Untitled_Kernel/include/physmem.h

30 lines
380 B
C
Raw Permalink Normal View History

/**
* @file physmem.h
* @brief
* @details
*/
2025-07-09 21:44:59 +00:00
#ifndef PHYSMEM_H
#define PHYSMEM_H
#include <stdint.h>
#include "kmultiboot.h"
2025-07-09 21:44:59 +00:00
/**
* @brief
*/
#define PAGE_SIZE 0x1000
/**
* @brief
*/
extern uint8_t* pmem_bitmap;
/**
* @brief
* @param mmap
* @param mmap_size
* @return unsigned int
*/
unsigned int build_bitmap(mb_mmap_entry_t* mmap, int mmap_size);
2025-07-09 21:44:59 +00:00
#endif