dceaf39458
* Convert moves to/from support function regs (including TLB updates) to TCG. * SCC no longer requires T0 to strictly be 0 or 1, relaxed to 0 or non-zero. * Convert the the condition code evaluation to TCG. * Convert rfe into a helper and TCG. * Convert evaluate_bcc and setf to TCG. * Convert clrf to TCG. * Convert CRIS exception raising to TCG. * Convert btst to TCG. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4376 c046a42c-6fe2-441c-8c8c-71466251a162
18 lines
383 B
C
18 lines
383 B
C
#define CRIS_MMU_ERR_EXEC 0
|
|
#define CRIS_MMU_ERR_READ 1
|
|
#define CRIS_MMU_ERR_WRITE 2
|
|
#define CRIS_MMU_ERR_FLUSH 3
|
|
|
|
struct cris_mmu_result_t
|
|
{
|
|
uint32_t phy;
|
|
uint32_t pfn;
|
|
int prot;
|
|
int bf_vec;
|
|
};
|
|
|
|
target_ulong cris_mmu_tlb_latest_update(CPUState *env);
|
|
int cris_mmu_translate(struct cris_mmu_result_t *res,
|
|
CPUState *env, uint32_t vaddr,
|
|
int rw, int mmu_idx);
|