/qemu/target/arm/tcg/ |
H A D | hflags.c | 15 static inline bool fgt_svc(CPUARMState *env, int el) in fgt_svc() argument 22 * We also know el is 0 or 1. in fgt_svc() 24 return el == 0 ? in fgt_svc() 30 static bool aprofile_require_alignment(CPUARMState *env, int el, uint64_t sctlr) in aprofile_require_alignment() argument 58 if (el < 2 && (arm_hcr_el2_eff(env) & (HCR_DC | HCR_VM))) { in rebuild_hflags_common() 131 static bool sme_fa64(CPUARMState *env, int el) in sme_fa64() 137 if (el <= 1 && !el_is_in_host(env, el)) { in sme_fa64() 142 if (el <= 2 && arm_is_el2_enabled(env)) { in sme_fa64() 160 int el in rebuild_hflags_a32() 123 sme_fa64(CPUARMState * env,int el) sme_fa64() argument 152 int el = arm_current_el(env); rebuild_hflags_a32() local 196 rebuild_hflags_a64(CPUARMState * env,int el,int fp_el,ARMMMUIdx mmu_idx) rebuild_hflags_a64() argument 404 int el = arm_current_el(env); rebuild_hflags_internal() local 428 int el = arm_current_el(env); HELPER() local 449 int el = arm_current_el(env); HELPER() local [all...] |
H A D | pauth_helper.c | 469 if (el == 0) { in pauth_check_trap() 492 int el = arm_current_el(env); in HELPER() local 502 int el = arm_current_el(env); in HELPER() local 512 int el = arm_current_el(env); in HELPER() local 522 int el = arm_current_el(env); in HELPER() local 543 int el = arm_current_el(env); in pauth_autia() local 547 pauth_check_trap(env, el, ra); in pauth_autia() 564 int el = arm_current_el(env); in pauth_autib() local 568 pauth_check_trap(env, el, ra); in pauth_autib() 585 int el = arm_current_el(env); in pauth_autda() local [all …]
|
H A D | mte_helper.c | 597 uintptr_t ra, ARMMMUIdx arm_mmu_idx, int el) in mte_async_check_fail() argument 606 env->cp15.tfsr_el[el] |= 1 << select; in mte_async_check_fail() 625 int el, reg_el, tcf; in mte_check_fail() local 634 el = 0; in mte_check_fail() 638 el = reg_el; in mte_check_fail() 658 mte_async_check_fail(env, dirty_ptr, ra, arm_mmu_idx, el); in mte_check_fail() 667 mte_async_check_fail(env, dirty_ptr, ra, arm_mmu_idx, el); in mte_check_fail()
|
H A D | helper-a64.c | 992 int el = arm_current_el(env); in mops_enabled() local 994 if (el < 2 && in mops_enabled() 1000 if (el == 0) { in mops_enabled() 1025 int el = arm_current_el(env); in mops_mismatch_exception_target_el() local 1027 if (el > 1) { in mops_mismatch_exception_target_el() 1028 return el; in mops_mismatch_exception_target_el() 1030 if (el == 0 && (arm_hcr_el2_eff(env) & HCR_TGE)) { in mops_mismatch_exception_target_el() 1033 if (el == 1 && (arm_hcrx_el2_eff(env) & HCRX_MCE2)) { in mops_mismatch_exception_target_el()
|
/qemu/tests/unit/ |
H A D | test-rcu-list.c | 106 g_free(el); in reclaim_list_el() 127 QSIMPLEQ_REMOVE_RCU(&Q_list_head, el, list_element, f) 140 #define TEST_LIST_REMOVE_RCU(el, f) QTAILQ_REMOVE_RCU(&Q_list_head, el, f) argument 154 QSLIST_REMOVE_RCU(&Q_list_head, el, list_element, f) 157 QSLIST_INSERT_AFTER_RCU(&Q_list_head, list_el, el, f) 169 struct list_element *el; in rcu_q_reader() local 181 TEST_LIST_FOREACH_RCU(el, &Q_list_head, entry) { in rcu_q_reader() 206 struct list_element *el, *prev_el; in rcu_q_updater() local 233 TEST_LIST_FOREACH_RCU(el, &Q_list_head, entry) { in rcu_q_updater() 238 TEST_LIST_INSERT_AFTER_RCU(el, new_el, entry); in rcu_q_updater() [all …]
|
H A D | test-hbitmap.c | 656 unsigned long *el = (unsigned long *)buf; in hbitmap_test_serialize_range() local 670 el[i] = (BITS_PER_LONG == 32 ? le32_to_cpu(el[i]) : le64_to_cpu(el[i])); in hbitmap_test_serialize_range() 745 unsigned long *el = (unsigned long *)buf; in test_hbitmap_serialize_part() local 748 el[j] = (BITS_PER_LONG == 32 ? le32_to_cpu(el[j]) : le64_to_cpu(el[j])); in test_hbitmap_serialize_part()
|
/qemu/scripts/simplebench/ |
H A D | table_templater.py | 40 c_switches.append([el.children[0].value for el in x.children]) 42 r_switches.append([el.children[0].value for el in x.children])
|
/qemu/target/arm/ |
H A D | debug_helper.c | 97 int el = arm_current_el(env); in aa32_generate_debug_exceptions() local 99 if (el == 0 && arm_el_is_aa64(env, 1)) { in aa32_generate_debug_exceptions() 134 return el != 2; in aa32_generate_debug_exceptions() 791 int el = arm_current_el(env); in access_tdosa() local 796 if (el < 2 && mdcr_el2_tdosa) { in access_tdosa() 812 int el = arm_current_el(env); in access_tdra() local 817 if (el < 2 && mdcr_el2_tdra) { in access_tdra() 833 int el = arm_current_el(env); in access_tda() local 838 if (el < 2 && mdcr_el2_tda) { in access_tda() 867 int el = arm_current_el(env); in access_tdcc() local [all …]
|
H A D | internals.h | 300 static inline unsigned int aarch64_banked_spsr_index(unsigned int el) in aarch64_banked_spsr_index() 307 assert(el >= 1 && el <= 3); in bank_number() 308 return map[el]; in bank_number() 386 static inline void aarch64_save_sp(CPUARMState *env, int el) in aarch64_restore_sp() argument 389 env->sp_el[el] = env->xregs[31]; in aarch64_restore_sp() 395 static inline void aarch64_restore_sp(CPUARMState *env, int el) in update_spsel() 398 env->xregs[31] = env->sp_el[el]; in update_spsel() 978 int el = regime_el(env, mmu_idx); in regime_using_lpae_format() 979 if (el in regime_using_lpae_format() 291 aarch64_banked_spsr_index(unsigned int el) aarch64_banked_spsr_index() argument 377 aarch64_save_sp(CPUARMState * env,int el) aarch64_save_sp() argument 969 int el = regime_el(env, mmu_idx); regime_using_lpae_format() local 1324 allocation_tag_access_enabled(CPUARMState * env,int el,uint64_t sctlr) allocation_tag_access_enabled() argument 1696 arm_fgt_active(CPUARMState * env,int el) arm_fgt_active() argument [all...] |
H A D | helper.c | 323 int el = arm_current_el(env); in access_tpm() local 326 if (el < 2 && (mdcr_el2 & MDCR_TPM)) { in access_tpm() 329 if (el < 3 && (env->cp15.mdcr_el3 & MDCR_TPM)) { in access_tpm() 1095 int el = arm_current_el(env); in pmreg_access() local 1098 if (el == 0 && !(env->cp15.c9_pmuserenr & 1)) { in pmreg_access() 1101 if (el < 2 && (mdcr_el2 & MDCR_TPM)) { in pmreg_access() 1104 if (el < 3 && (env->cp15.mdcr_el3 & MDCR_TPM)) { in pmreg_access() 1189 int el = arm_current_el(env); in pmu_counter_enabled() local 1214 if (el == 2 && (counter < hpmn || counter == 31)) { in pmu_counter_enabled() 1232 if (el in pmu_counter_enabled() 2486 int el = arm_current_el(env); gt_cntfrq_access() local 3770 int el = arm_current_el(env); ats_write() local 6179 el_is_in_host(CPUARMState * env,int el) el_is_in_host() argument 7032 int el = arm_current_el(env); access_terr() local 7045 int el = arm_current_el(env); disr_read() local 7058 int el = arm_current_el(env); disr_write() local 7123 sve_exception_el(CPUARMState * env,int el) sve_exception_el() argument 7172 sme_exception_el(CPUARMState * env,int el) sme_exception_el() argument 7220 sve_vqm1_for_el_sm(CPUARMState * env,int el,bool sm) sve_vqm1_for_el_sm() argument 7252 sve_vqm1_for_el(CPUARMState * env,int el) sve_vqm1_for_el() argument 7301 int el = arm_current_el(env); access_tpidr2() local 7707 int el = arm_current_el(env); access_lor_ns() local 7765 int el = arm_current_el(env); access_pauth() local 8138 int el = arm_current_el(env); access_mte() local 8174 int el = arm_current_el(env); access_tfsr_el2() local 8341 int el = arm_current_el(env); access_scxtnum() local 8463 int el = arm_current_el(env); access_predinv() local 11860 arm_sctlr(CPUARMState * env,int el) arm_sctlr() argument 12555 arm_mmu_idx_el(CPUARMState * env,int el) arm_mmu_idx_el() argument 12757 sve_vqm1_for_el_sm_ena(CPUARMState * env,int el,bool sm) sve_vqm1_for_el_sm_ena() argument [all...] |
H A D | cpu.h | 1241 * @el: exception level 1244 * Compute the current vector length for @el & @sm, in units of 1248 uint32_t sve_vqm1_for_el_sm(CPUARMState *env, int el, bool sm); 1251 uint32_t sve_vqm1_for_el(CPUARMState *env, int el); in is_a64() 1479 static inline unsigned int aarch64_pstate_mode(unsigned int el, bool handler) 1481 return (el << 2) | handler; 2542 static inline bool arm_el_is_aa64(CPUARMState *env, int el) in arm_el_is_aa64() 2547 assert(el >= 1 && el <= 3); 2554 if (el in access_secure_reg() 1475 aarch64_pstate_mode(unsigned int el,bool handler) aarch64_pstate_mode() argument 2514 arm_el_is_aa64(CPUARMState * env,int el) arm_el_is_aa64() argument 2953 arm_cpu_data_is_big_endian_a64(int el,uint64_t sctlr) arm_cpu_data_is_big_endian_a64() argument [all...] |
H A D | cpu.c | 1192 int el = arm_current_el(env); in aarch64_cpu_dump_state() local 1207 if (arm_feature(env, ARM_FEATURE_EL3) && el != 3) { in aarch64_cpu_dump_state() 1219 el, in aarch64_cpu_dump_state() 1239 if (fp_exception_el(env, el) != 0) { in aarch64_cpu_dump_state() 1247 sve = sme_exception_el(env, el) == 0; in aarch64_cpu_dump_state() 1249 sve = sve_exception_el(env, el) == 0; in aarch64_cpu_dump_state() 1255 int zcr_len = sve_vqm1_for_el(env, el); in aarch64_cpu_dump_state() 1326 sme_exception_el(env, el) == 0) { in aarch64_cpu_dump_state() 1327 int zcr_len = sve_vqm1_for_el_sm(env, el, true); in aarch64_cpu_dump_state()
|
H A D | kvm.c | 2055 unsigned int el; in kvm_arch_put_registers() 2117 el = arm_current_el(env); in kvm_arch_put_registers() 2118 if (el > 0 && !is_a64(env)) { in kvm_arch_put_registers() 2237 unsigned int el; in kvm_arch_get_registers() 2310 el = arm_current_el(env); in kvm_arch_get_registers() 2311 if (el > 0 && !is_a64(env)) { in kvm_arch_get_registers() 2053 unsigned int el; kvm_arch_put_registers() local 2235 unsigned int el; kvm_arch_get_registers() local
|
/qemu/block/ |
H A D | parallels-ext.c | 195 GSList *bitmaps = NULL, *el; in parallels_parse_format_extension() local 273 for (el = bitmaps; el; el = el->next) { in parallels_parse_format_extension() 274 bdrv_release_dirty_bitmap(el->data); in parallels_parse_format_extension()
|
/qemu/tests/qtest/libqos/ |
H A D | qgraph.c | 325 static void qos_push(QOSGraphNode *el, QOSStackElement *parent, in qos_push() argument 338 .node = el, in qos_push() 368 static QOSGraphNode *qos_reverse_path(QOSStackElement *el) in qos_reverse_path() argument 370 if (!el) { in qos_reverse_path() 374 el->node->path_edge = NULL; in qos_reverse_path() 376 while (el->parent) { in qos_reverse_path() 377 el->parent->node->path_edge = el->parent_edge; in qos_reverse_path() 378 el = el->parent; in qos_reverse_path() 381 return el->node; in qos_reverse_path()
|
/qemu/hw/core/ |
H A D | machine-qmp-cmds.c | 70 GSList *el, *machines = object_class_get_list(TYPE_MACHINE, false); in qmp_query_machines() local 73 for (el = machines; el; el = el->next) { in qmp_query_machines() 74 MachineClass *mc = el->data; in qmp_query_machines()
|
/qemu/system/ |
H A D | vl.c | 839 GSList *el; in find_machine() local 841 for (el = machines; el; el = el->next) { in find_machine() 842 MachineClass *mc = el->data; in find_machine() 854 GSList *el; in find_default_machine() local 857 for (el = machines; el; el = el->next) { in find_default_machine() 858 MachineClass *mc = el->data; in find_default_machine() 1552 GSList *el; in machine_help_func() local 1566 for (el = machines; el; el = el->next) { in machine_help_func() 1567 MachineClass *mc = el->data; in machine_help_func() 3324 for (el = accel_list; el; el = el->next) { in qemu_init() [all …]
|
/qemu/ |
H A D | blockjob.c | 218 GSList *el; in block_job_has_bdrv() local 221 for (el = job->nodes; el; el = el->next) { in block_job_has_bdrv() 222 BdrvChild *c = el->data; in block_job_has_bdrv()
|
H A D | blockdev-nbd.c | 218 BlockDirtyBitmapOrStr *el = g_new(BlockDirtyBitmapOrStr, 1); in qmp_nbd_server_add() local 220 *el = (BlockDirtyBitmapOrStr) { in qmp_nbd_server_add() 225 QAPI_LIST_PREPEND(export_opts->u.nbd.bitmaps, el); in qmp_nbd_server_add()
|
H A D | .editorconfig | 8 # Emacs: you need https://github.com/10sr/editorconfig-custom-majormode-el
|
H A D | qemu-nbd.c | 722 BlockDirtyBitmapOrStr *el = g_new(BlockDirtyBitmapOrStr, 1); in main() local 723 *el = (BlockDirtyBitmapOrStr) { in main() 727 QAPI_LIST_PREPEND(bitmaps, el); in main()
|
/qemu/hw/intc/ |
H A D | arm_gicv3_cpuif.c | 806 int el = arm_current_el(env); in icv_iar_read() local 1288 int el = arm_current_el(env); in icc_iar1_read() local 2274 int el = arm_current_el(env); in gicv3_irqfiq_access() local 2277 el == 1 && !arm_is_secure_below_el3(env)) { in gicv3_irqfiq_access() 2283 switch (el) { in gicv3_irqfiq_access() 2340 int el = arm_current_el(env); in gicv3_fiq_access() local 2343 el == 1 && !arm_is_secure_below_el3(env)) { in gicv3_fiq_access() 2349 switch (el) { in gicv3_fiq_access() 2379 int el = arm_current_el(env); in gicv3_irq_access() local 2382 el == 1 && !arm_is_secure_below_el3(env)) { in gicv3_irq_access() [all …]
|
/qemu/util/ |
H A D | hbitmap.c | 686 unsigned long el = in hbitmap_serialize_part() local 689 memcpy(buf, &el, sizeof(el)); in hbitmap_serialize_part() 690 buf += sizeof(el); in hbitmap_serialize_part()
|
/qemu/ui/ |
H A D | vnc.c | 3959 SocketAddressList *el; in vnc_display_listen() local 3964 for (el = saddr_list; el; el = el->next) { in vnc_display_listen() 3966 el->value, 1, in vnc_display_listen() 3979 for (el = wsaddr_list; el; el = el->next) { in vnc_display_listen() 3981 el->value, 1, in vnc_display_listen()
|
/qemu/contrib/gitdm/ |
H A D | filetypes.txt | 119 filetype build ^.dir-locals.el$
|