blob: 3658b805986dae86e49b2fe30a6a9dc6c714a6a8 [file] [log] [blame]
#ifndef VMALLOC_H
#define VMALLOC_H 1
#include <asm/page.h>
extern void *alloc_vpages(ulong nr);
extern void *alloc_vpage(void);
extern void init_alloc_vpage(void *top);
extern void setup_vm(void);
extern void *setup_mmu(phys_addr_t top);
extern phys_addr_t virt_to_pte_phys(pgd_t *pgtable, void *virt);
extern pteval_t *install_page(pgd_t *pgtable, phys_addr_t phys, void *virt);
void *vmap(phys_addr_t phys, size_t size);
#endif