Orion
Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)#ifndef KERNEL_MEM_FRAME_H #define KERNEL_MEM_FRAME_H #include <stdint.h> #include <stddef.h> /* Structure of an E820 entry */ struct E820Entry { uint32_t size; uint32_t base, baseHigh; uint32_t length, lengthHigh; uint32_t type; } __attribute__((packed)); /* Structure of an E820 Entry */ //struct E820Entry { // uint64_t base, length; // uint32_t type, attr; //} __attribute__((packed)); uint32_t alloc_frames(size_t frames); void free_frame(uint32_t frame); void init_frames(uint32_t memMapSize, struct E820Entry *memMap); #endif