22 lines
477 B
C
22 lines
477 B
C
/*
|
|
* Copyright (c) 2014 Travis Geiselbrecht
|
|
*
|
|
* Use of this source code is governed by a MIT-style
|
|
* license that can be found in the LICENSE file or at
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
#pragma once
|
|
|
|
#include <kernel/vm.h>
|
|
#include <stdint.h>
|
|
#include <sys/types.h>
|
|
|
|
/* simple boot time allocator */
|
|
void *boot_alloc_mem(size_t len) __MALLOC;
|
|
extern uintptr_t boot_alloc_start;
|
|
extern uintptr_t boot_alloc_end;
|
|
|
|
void vmm_init_preheap(void);
|
|
void vmm_init(void);
|
|
|