X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=misc%2Ftest_vm%2Finclude%2Fgeekos%2Fpaging.h;h=11b7531dafbb0c2284d8b9099fbaba8b9f350f01;hp=1810f0b81be8bf6ffdb25e1f35da43d66d0b222a;hb=3fff169c5a50ef1ecca266dd6f8c3462f8bd76a3;hpb=22448ca6067bcd5518f9acaa56b53112d842f5a3 diff --git a/misc/test_vm/include/geekos/paging.h b/misc/test_vm/include/geekos/paging.h index 1810f0b..11b7531 100644 --- a/misc/test_vm/include/geekos/paging.h +++ b/misc/test_vm/include/geekos/paging.h @@ -2,7 +2,7 @@ * Paging (virtual memory) support * Copyright (c) 2003, Jeffrey K. Hollingsworth * Copyright (c) 2003,2004 David H. Hovemeyer - * $Revision: 1.1 $ + * $Revision: 1.2 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -97,6 +97,7 @@ extern void Flush_TLB(void); extern void Set_PDBR(pde_t *pageDir); extern pde_t *Get_PDBR(void); extern void Enable_Paging(pde_t *pageDir); +extern void Invalidate_PG(void * addr); /* * Return the address that caused a page fault. @@ -128,4 +129,6 @@ void Write_To_Paging_File(void *paddr, ulong_t vaddr, int pagefileIndex); void Read_From_Paging_File(void *paddr, ulong_t vaddr, int pagefileIndex); +void VM_Test(struct Boot_Info *bootInfo, uint_t num_test_pages); + #endif