aboutsummaryrefslogtreecommitdiff
path: root/include/apos/mem_nodes.h
blob: f0d1361a30881b97c59e197fcbfc211975964334 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef APOS_MM_NODES_H
#define APOS_MM_NODES_H

/**
 * @file mem_nodes.h
 * Memory node subsystem. Used by the memory region subsystem.
 */

#include <apos/vmem.h>
#include <apos/nodes.h>

void init_mem_blocks();
void destroy_mem_blocks();

struct mem_region *get_mem_node();
void free_mem_node(struct mem_region *m);

#endif /* APOS_MM_NODES_H */