33 #define PAGE_SIZE 4096
u32 free_pages
Definition: mem_mng.h:56
struct mem_info sw_mem_info
Definition: mem_mng.c:37
int sw_page_free(va_t vir_addr, u32 size, struct mem_info *)
Frees the pages.
Definition: mem_mng.c:187
u32 space
Definition: mem_mng.h:54
This structure has information about the memory regions in the secure world.
Definition: mem_mng.h:43
void sw_meminfo_init(struct mem_info *, struct mem_info *)
Initializes the address space in secure world by allocating and mapping the required pages...
Definition: mem_mng.c:51
va_t sw_page_alloc(u32 size, struct mem_info *)
Allocates physical pages for the required size.
Definition: mem_mng.c:125
pa_t phy_addr_start
Definition: mem_mng.h:47
u32 last_filled_index
Definition: mem_mng.h:59
va_t start
Definition: mem_mng.h:52
va_t vir_addr_start
Definition: mem_mng.h:45
struct mem_info::@3 bitmap