Lines Matching refs:APICState
66 typedef struct APICState { struct
90 } APICState; argument
93 static APICState *local_apics[MAX_APICS + 1];
98 static void apic_set_irq(APICState *s, int vector_num, int trigger_mode);
99 static void apic_update_irq(APICState *s);
141 APICState *s = env->apic_state; in apic_local_deliver()
175 APICState *s = env->apic_state; in apic_deliver_pic_intr()
214 APICState *apic_iter; in apic_bus_deliver()
281 APICState *s = env->apic_state; in cpu_set_apic_base()
299 APICState *s = env->apic_state; in cpu_get_apic_base()
309 APICState *s = env->apic_state; in cpu_set_apic_tpr()
318 APICState *s = env->apic_state; in cpu_get_apic_tpr()
334 static int apic_get_ppr(APICState *s) in apic_get_ppr()
350 static int apic_get_arb_pri(APICState *s) in apic_get_arb_pri()
357 static void apic_update_irq(APICState *s) in apic_update_irq()
381 static void apic_set_irq(APICState *s, int vector_num, int trigger_mode) in apic_set_irq()
393 static void apic_eoi(APICState *s) in apic_eoi()
407 APICState *apic = local_apics[dest]; in apic_find_dest()
425 APICState *apic_iter; in apic_get_delivery_bitmask()
460 APICState *s = env->apic_state; in apic_init_reset()
487 static void apic_startup(APICState *s, int vector_num) in apic_startup()
495 APICState *s = env->apic_state; in apic_sipi()
509 static void apic_deliver(APICState *s, uint8_t dest, uint8_t dest_mode, in apic_deliver()
515 APICState *apic_iter; in apic_deliver()
559 APICState *s = env->apic_state; in apic_get_interrupt()
583 APICState *s = env->apic_state; in apic_accept_pic_intr()
598 static uint32_t apic_get_current_count(APICState *s) in apic_get_current_count()
616 static void apic_timer_update(APICState *s, int64_t current_time) in apic_timer_update()
643 APICState *s = opaque; in apic_timer()
670 APICState *s; in apic_mem_readl()
751 APICState *s; in apic_mem_writel()
835 APICState *s = opaque; in apic_save()
867 APICState *s = opaque; in apic_load()
905 APICState *s = opaque; in apic_reset()
938 APICState *s; in apic_init()
942 s = qemu_mallocz(sizeof(APICState)); in apic_init()