projects
/
cortex-from-scratch
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ba0cc2c1846276bc02d7a16fc93158dc37e1d9b6
[cortex-from-scratch]
/
mm.c
1
#include <stdbool.h>
2
#include <stddef.h>
3
#include <stdint.h>
4
#include <stm32.h>
5
#include <mmap.h>
6
7
uint32_t free_base;
8
9
10
void mm_init() {
11
12
free_base = MEM_SIZE;
13
14
}
15
16
size_t mm_free() {
17
18
return MEM_SIZE;
19
20
}
21