internals.h (bb4aa8f59e18412cff0d69f14aee7abba153161a) | internals.h (9b12b6b44250c23cd29161ca7007559e22beaf94) |
---|---|
1/* 2 * QEMU ARM CPU -- internal functions and types 3 * 4 * Copyright (c) 2014 Linaro Ltd 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2 --- 530 unchanged lines hidden (view full) --- 539 /* The EA bit in syndromes and fault status registers is an 540 * IMPDEF classification of external aborts. ARM implementations 541 * usually use this to indicate AXI bus Decode error (0) or 542 * Slave error (1); in QEMU we follow that. 543 */ 544 return result != MEMTX_DECODE_ERROR; 545} 546 | 1/* 2 * QEMU ARM CPU -- internal functions and types 3 * 4 * Copyright (c) 2014 Linaro Ltd 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2 --- 530 unchanged lines hidden (view full) --- 539 /* The EA bit in syndromes and fault status registers is an 540 * IMPDEF classification of external aborts. ARM implementations 541 * usually use this to indicate AXI bus Decode error (0) or 542 * Slave error (1); in QEMU we follow that. 543 */ 544 return result != MEMTX_DECODE_ERROR; 545} 546 |
547#ifdef CONFIG_USER_ONLY 548void arm_cpu_record_sigsegv(CPUState *cpu, vaddr addr, 549 MMUAccessType access_type, 550 bool maperr, uintptr_t ra); 551#else |
|
547bool arm_cpu_tlb_fill(CPUState *cs, vaddr address, int size, 548 MMUAccessType access_type, int mmu_idx, 549 bool probe, uintptr_t retaddr); | 552bool arm_cpu_tlb_fill(CPUState *cs, vaddr address, int size, 553 MMUAccessType access_type, int mmu_idx, 554 bool probe, uintptr_t retaddr); |
555#endif |
|
550 551static inline int arm_to_core_mmu_idx(ARMMMUIdx mmu_idx) 552{ 553 return mmu_idx & ARM_MMU_IDX_COREIDX_MASK; 554} 555 556static inline ARMMMUIdx core_to_arm_mmu_idx(CPUARMState *env, int mmu_idx) 557{ --- 723 unchanged lines hidden --- | 556 557static inline int arm_to_core_mmu_idx(ARMMMUIdx mmu_idx) 558{ 559 return mmu_idx & ARM_MMU_IDX_COREIDX_MASK; 560} 561 562static inline ARMMMUIdx core_to_arm_mmu_idx(CPUARMState *env, int mmu_idx) 563{ --- 723 unchanged lines hidden --- |