Remove magic flags and numbers from mm code

This commit is contained in:
Mark
2020-01-29 16:34:00 +02:00
parent ce7e924535
commit 977ca16f82
6 changed files with 175 additions and 201 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
#pragma once
#include "sys/mm.h"
#define VM_ALLOC_USER (1 << 0)
#define VM_ALLOC_WRITE (1 << 1)
#define VM_ALLOC_WRITE (MM_PAGE_WRITE)
#define VM_ALLOC_USER (MM_PAGE_USER)
/**
* @brief Find a free contiguous memory range inside a given one