mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Made memory/addresses.h more organised
Also didn't need to add stdio.h to any files so that's good!
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#ifndef PHYSICAL_MEM_MANAGER_H
|
||||
#define PHYSICAL_MEM_MANAGER_H
|
||||
|
||||
#include <memory/addresses.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define BLOCK_SIZE 4096 // 4kB
|
||||
#define BLOCKS_PER_BYTE 8
|
||||
#define SMAP_ADDRESS 0x8500
|
||||
|
||||
typedef struct smapEntry_s {
|
||||
uint64_t baseAddress;
|
||||
|
||||
Reference in New Issue
Block a user