Untitled_Kernel/include/physmem.h
lordtet 7b4e4afd43 Defined a couple of functions, added documentation templates
Didn't feel the need to make a new branch for this one, but i added some
doxygen documentation templates to all of the headers. It's a bit
overdue.
2025-07-17 07:36:45 -04:00

29 lines
380 B
C

/**
* @file physmem.h
* @brief
* @details
*/
#ifndef PHYSMEM_H
#define PHYSMEM_H
#include <stdint.h>
#include "kmultiboot.h"
/**
* @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);
#endif