X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_sym_swap.h;h=5f09c3b18d264f52f12e232b09c6c242a75ac25a;hp=4e5f9cc4832930106947fff3c194cf5842832351;hb=3a4e54ec208ea3589963b410d2d73292bbc4a8fe;hpb=8a441df14ef65bb559ce090249343ec1dac1a7fc diff --git a/palacios/include/palacios/vmm_sym_swap.h b/palacios/include/palacios/vmm_sym_swap.h index 4e5f9cc..5f09c3b 100644 --- a/palacios/include/palacios/vmm_sym_swap.h +++ b/palacios/include/palacios/vmm_sym_swap.h @@ -55,8 +55,8 @@ struct v3_sym_swap_state { struct hashtable * shdw_ptr_ht; }; - - +// Present = 0 and Dirty = 0 +// fixme static inline int is_swapped_pte32(pte32_t * pte) { return ((pte->present == 0) && (*(uint32_t *)pte != 0)); }