# HG changeset patch # User anatofuz # Date 1580802723 -32400 # Node ID 93c8a580537077ede45ec1530a84261a6446cc17 # Parent 07c731e47330c76fd9d5ec978a58d5b50f6d9e09# Parent c28c699c9caa7ac9278ded3ce92a5918ab95dfd2 merge... diff -r 07c731e47330 -r 93c8a5805370 src/impl/vm_impl.h --- a/src/impl/vm_impl.h Tue Feb 04 16:51:27 2020 +0900 +++ b/src/impl/vm_impl.h Tue Feb 04 16:52:03 2020 +0900 @@ -3,10 +3,11 @@ __code loaduvm_ptesize_checkvm_impl(Type* vm_impl, char* addr, __code next(...)); __code loaduvm_ptesize_check(Type* vm_impl, __code next(int ret, ...)); __code loaduvm_loop(Type* vm_impl, uint i, pte_t* pte, uint sz, __code next(int ret, ...)); - __code loaduvm_check_PTE_SZ(struct vm_impl* vm_impl, uint sz, uint i, uint n, struct inode* ip, uint pa, uint offset, __code next(int ret, ...)); + __code loaduvm_check_PTE_SZ(Type* vm_impl, uint sz, uint i, uint n, struct inode* ip, uint pa, uint offset, __code next(int ret, ...)); __code allocuvm_check_newsz(Type* vm_impl, pde_t* pgdir, uint oldsz, uint newsz, __code next(...)); __code allocuvm_loop(Type* vm_impl, pde_t* pgdir, uint oldsz, uint newsz, uint a, __code next(...)); __code copyuvm_check_null(Type* vm_impl, pde_t* pgdir, uint sz, __code next(...)); + __code copyout_loop_check_n(Type* vm_impl, pde_t* pgdir, uint va, void* pp, uint len, uint va0, char* pa0, uint n, char* buf, __code next(...)); __code copyuvm_loop(Type* vm_impl,pde_t* pgdir, uint sz, pde_t* d, pte_t* pte, uint pa, uint i, uint ap, char* mem, __code next(int ret, ...)); __code clearpteu_check_ptevm_impl(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...)); __code uva2ka_check_pe_types(Type* vm_impl, pde_t* pgdir, char* uva, __code next(...));