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.
29 lines
380 B
C
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
|