view src/impl/vm_impl.h @ 202:66db83ec1ec2

kpt_alloc_check_impl and freerange
author tobaru
date Thu, 23 Jan 2020 20:48:16 +0900
parents 02bb0f8be908
children 2ecf1e09e981
line wrap: on
line source

typedef struct vm_impl<Impl, Isa> impl vm{
    union Data* vm_impl;
    uint i;
    pte_t* pte;
    uint sz;
    pde_t* pgdir;
    char* addr;
    struct inode* ip;
    uint offset;
    uint pa;
    uint n;

    __code kpt_alloc_check_impl(Type* vm_impl, __code next(...));
    __code loaduvm_ptesize_check(Type* vm_impl, __code next(...));
    __code loaduvm_loop(Type* vm_impl, uint i, pte_t* pte, uint sz, __code next(...));
    __code next(...);
 

} vm_impl;