Home
last modified time | relevance | path

Searched refs:intno (Results 1 – 8 of 8) sorted by relevance

/external/qemu/target-i386/
Dop_helper.c598 static int exeption_has_error_code(int intno) in exeption_has_error_code() argument
600 switch(intno) { in exeption_has_error_code()
657 static void do_interrupt_protected(int intno, int is_int, int error_code, in do_interrupt_protected() argument
669 has_error_code = exeption_has_error_code(intno); in do_interrupt_protected()
676 if (intno * 8 + 7 > dt->limit) in do_interrupt_protected()
677 raise_exception_err(EXCP0D_GPF, intno * 8 + 2); in do_interrupt_protected()
678 ptr = dt->base + intno * 8; in do_interrupt_protected()
687 raise_exception_err(EXCP0B_NOSEG, intno * 8 + 2); in do_interrupt_protected()
688 switch_tss(intno * 8, e1, e2, SWITCH_TSS_CALL, old_eip); in do_interrupt_protected()
714 raise_exception_err(EXCP0D_GPF, intno * 8 + 2); in do_interrupt_protected()
[all …]
Dexec.h62 void do_interrupt(int intno, int is_int, int error_code,
64 void do_interrupt_user(int intno, int is_int, int error_code,
Dtranslate.c2679 static void gen_interrupt(DisasContext *s, int intno, in gen_interrupt() argument
2685 gen_helper_raise_interrupt(tcg_const_i32(intno), in gen_interrupt()
/external/qemu/hw/
Di8259.c228 int irq, irq2, intno; in pic_read_irq() local
241 intno = s->pics[1].irq_base + irq2; in pic_read_irq()
244 intno = s->pics[0].irq_base + irq; in pic_read_irq()
249 intno = s->pics[0].irq_base + irq; in pic_read_irq()
261 return intno; in pic_read_irq()
Dapic.c560 int intno; in apic_get_interrupt() local
570 intno = get_highest_priority_int(s->irr); in apic_get_interrupt()
571 if (intno < 0) in apic_get_interrupt()
573 if (s->tpr && intno <= s->tpr) in apic_get_interrupt()
575 reset_bit(s->irr, intno); in apic_get_interrupt()
576 set_bit(s->isr, intno); in apic_get_interrupt()
578 return intno; in apic_get_interrupt()
Dpc.c139 int intno; in cpu_get_pic_interrupt() local
141 intno = apic_get_interrupt(env); in cpu_get_pic_interrupt()
142 if (intno >= 0) { in cpu_get_pic_interrupt()
146 return intno; in cpu_get_pic_interrupt()
152 intno = pic_read_irq(isa_pic); in cpu_get_pic_interrupt()
153 return intno; in cpu_get_pic_interrupt()
/external/qemu-pc-bios/vgabios/tests/lfbprof/
Dlfbprof.c106 int DPMI_int86(int intno, RMREGS *in, RMREGS *out) in DPMI_int86() argument
128 r.h.bl = intno; in DPMI_int86()
140 int DPMI_int86x(int intno, RMREGS *in, RMREGS *out, RMSREGS *sregs) in DPMI_int86x() argument
165 r.h.bl = intno; in DPMI_int86x()
/external/qemu/
Dcpu-exec.c440 int intno; in cpu_exec() local
443 intno = cpu_get_pic_interrupt(env); in cpu_exec()
444 … qemu_log_mask(CPU_LOG_TB_IN_ASM, "Servicing hardware INT=0x%02x\n", intno); in cpu_exec()
450 do_interrupt(intno, 0, 0, 0, 1); in cpu_exec()
458 int intno; in cpu_exec() local
461intno = ldl_phys(env->vm_vmcb + offsetof(struct vmcb, control.int_vector)); in cpu_exec()
462 … qemu_log_mask(CPU_LOG_TB_IN_ASM, "Servicing virtual hardware INT=0x%02x\n", intno); in cpu_exec()
463 do_interrupt(intno, 0, 0, 0, 1); in cpu_exec()