#pragma once


#include <lib/stdtypes.h>


#define EFI_PHYSICAL_ADDRESS PHYS_ADDR
#define EFI_VIRTUAL_ADDRESS  VIRT_ADDR


typedef struct {
    UINT32               Type;
    EFI_PHYSICAL_ADDRESS PhysicalStart;
    EFI_VIRTUAL_ADDRESS  VirtualStart;
    UINT64               NumberOfPages;
    UINT64               Attribute;
} EFI_MEMORY_DESCRIPTOR;


//extern const CHAR* EFI_MEMORY_TYPE_STRINGS[14];
/*
const CHAR* EFI_MEMORY_TYPE_STRINGS[14] = {
    "EfiReservedMemoryType",
    "EfiLoaderCode",
    "EfiLoaderData",
    "EfiBootServicesCode",
    "EfiBootServicesData",
    "EfiRuntimeServicesCode",
    "EfiRuntimeServicesData",
    "EfiConventionalMemory",    // 7
    "EfiUnusableMemory",
    "EfiACPIReclaimMemory",
    "EfiACPIMemoryNVS",
    "EfiMemoryMappedIO",
    "EfiMemoryMappedIOPortSpace",
    "EfiPalCode",
};
*/
#define EFI_CONVENTIONAL_MEMORY 7
