diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 10:21:20 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-14 10:21:20 +0000 |
commit | b227a8e9aa5f27d29f77ba90d5eb9d0662a1175e (patch) | |
tree | 04750069b22e9597204dc8a08cbf7ebdf1030610 /target-ppc/cpu.h | |
parent | dbdd25065e90ba78c01b03d238785f25476c04a1 (diff) |
Properly implement non-execute bit on PowerPC segments and PTEs.
Fix page protection bits for PowerPC 64 MMU.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3395 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r-- | target-ppc/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index c83d0baae3..aeaacb2579 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -596,6 +596,7 @@ struct mmu_ctx_t { target_phys_addr_t pg_addr[2]; /* PTE tables base addresses */ target_ulong ptem; /* Virtual segment ID | API */ int key; /* Access key */ + int nx; /* Non-execute area */ }; /*****************************************************************************/ |