Mercurial > hg > CbC > CbC_xv6
view src/interface/vm.h @ 247:63a65e3a5340
tweak_regex...
author | anatofuz |
---|---|
date | Tue, 04 Feb 2020 11:57:39 +0900 |
parents | 052669f2ef74 |
children | 42a37a8a02c9 |
line wrap: on
line source
typedef struct vm<Type,Impl> { __code init_vmm(Impl* vm, __code next(...)); __code kpt_freerange(Impl* vm, uint low, uint hi, __code next(...)); __code kpt_alloc(Impl* vm ,__code next(...)); __code switchuvm(Impl* vm ,struct proc* p, __code next(...)); __code init_inituvm(Impl* vm, pde_t* pgdir, char* init, uint sz, __code next(...)); __code loaduvm(Impl* vm,pde_t* pgdir, char* addr, struct inode* ip, uint offset, uint sz, __code next(...)); __code allocuvm(Impl* vm, pde_t* pgdir, uint oldsz, uint newsz, __code next(...)); __code clearpteu(Impl* vm, pde_t* pgdir, char* uva, __code next(...)); __code copyuvm(Impl* vm, pde_t* pgdir, uint sz, __code next(...)); __code uva2ka(Impl* vm, pde_t* pgdir, char* uva, __code next(...)); __code copyout(Impl* vm, pde_t* pgdir, uint va, void* pp, uint len, __code next(...)); __code paging_int(Impl* vm, uint phy_low, uint phy_hi, __code next(...)); __code void_ret(Impl* vm); __code next(...); } vm;