bdk: mem: improve emc MRR reading

This commit is contained in:
CTCaer
2022-10-11 03:51:12 +03:00
parent ff5ee9758d
commit c52c11e7bc
3 changed files with 39 additions and 22 deletions

View File

@@ -33,15 +33,15 @@ typedef struct _heap
{
void *start;
hnode_t *first;
hnode_t *last;
hnode_t *last;
} heap_t;
typedef struct
{
u32 total;
u32 used;
u32 nodes_total;
u32 nodes_used;
u32 total;
u32 used;
u32 nodes_total;
u32 nodes_used;
} heap_monitor_t;
void heap_init(void *base);