Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307857
b: refs/heads/master
c: 220f773
h: refs/heads/master
i:
  307855: 12fe963
v: v3
  • Loading branch information
Takuya Yoshikawa authored and Avi Kivity committed Apr 8, 2012
1 parent 8a494ac commit f1b95de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c36fc04ef558c95cff46a8c89d2f804f217335f5
refs/heads/master: 220f773a0013bf6fe2eefd9718ac7471f368fd8e
5 changes: 3 additions & 2 deletions trunk/arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ module_param(dbg, bool, 0644);
#define PT64_PERM_MASK (PT_PRESENT_MASK | PT_WRITABLE_MASK | PT_USER_MASK \
| PT64_NX_MASK)

#define PTE_LIST_EXT 4

#define ACC_EXEC_MASK 1
#define ACC_WRITE_MASK PT_WRITABLE_MASK
#define ACC_USER_MASK PT_USER_MASK
Expand All @@ -151,6 +149,9 @@ module_param(dbg, bool, 0644);

#define SHADOW_PT_INDEX(addr, level) PT64_INDEX(addr, level)

/* make pte_list_desc fit well in cache line */
#define PTE_LIST_EXT 3

struct pte_list_desc {
u64 *sptes[PTE_LIST_EXT];
struct pte_list_desc *more;
Expand Down

0 comments on commit f1b95de

Please sign in to comment.