view src/impl/vm_impl.h @ 197:3cac4139b31d

send arg at vm_impl
author tobaru
date Thu, 23 Jan 2020 15:43:36 +0900
parents 9fb193a2c352
children 247aa9ee931c
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;

    __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;