aboutsummaryrefslogtreecommitdiffstats
path: root/target-ppc/cpu.h
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-16 09:21:46 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-04-16 09:21:46 +0000
commitc55e9aefa7c151176e2e88c0f79044580930a970 (patch)
tree563bb79db3ceb18aacfe677eab722fb80c5896de /target-ppc/cpu.h
parent0a032cbec69c268272a118f19e64c16e73d56cc0 (diff)
PowerPC 4xx software driven TLB fixes + debug traces.
Add code provision for more MMU models support. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-ppc/cpu.h')
-rw-r--r--target-ppc/cpu.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 5cd1b6008..eb3340c52 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -581,12 +581,12 @@ struct ppc6xx_tlb_t {
typedef struct ppcemb_tlb_t ppcemb_tlb_t;
struct ppcemb_tlb_t {
- target_ulong RPN;
+ target_phys_addr_t RPN;
target_ulong EPN;
target_ulong PID;
- int size;
- int prot;
- int attr; /* Storage attributes */
+ target_ulong size;
+ uint32_t prot;
+ uint32_t attr; /* Storage attributes */
};
union ppc_tlb_t {
@@ -765,10 +765,6 @@ struct CPUPPCState {
int id_tlbs; /* If 1, MMU has separated TLBs for instructions & data */
int nb_pids; /* Number of available PID registers */
ppc_tlb_t *tlb; /* TLB is optional. Allocate them only if needed */
- /* Callbacks for specific checks on some implementations */
- int (*tlb_check_more)(CPUPPCState *env, ppc_tlb_t *tlb, int *prot,
- target_ulong vaddr, int rw, int acc_type,
- int is_user);
/* 403 dedicated access protection registers */
target_ulong pb[4];