format refactors

This commit is contained in:
Yanyan Jiang 2020-02-02 07:00:03 +00:00
parent fb27cbbce3
commit bcd3e2853f
12 changed files with 115 additions and 117 deletions

View File

@ -58,7 +58,6 @@ void _halt(int code) {
}
outw(0x604, 0x2000); // offer of qemu :)
while (1) hlt();
}
_Area __am_heap_init() {

View File

@ -15,7 +15,6 @@
#ifndef __ASSEMBLER__
#include <am.h>
#include <klib.h>
#define ROUNDUP(a, sz) ((((uintptr_t)a)+(sz)-1) & ~((sz)-1))
#define ROUNDDOWN(a, sz) ((((uintptr_t)a)) & ~((sz)-1))