Lines Matching refs:icr_entry
7 struct INT_CMD_REG icr_entry; in ipi_send_IPI() local
8 icr_entry.dest_mode = dest_mode; in ipi_send_IPI()
9 icr_entry.deliver_status = deliver_status; in ipi_send_IPI()
10 icr_entry.res_1 = 0; in ipi_send_IPI()
11 icr_entry.level = level; in ipi_send_IPI()
12 icr_entry.trigger = trigger; in ipi_send_IPI()
13 icr_entry.res_2 = 0; in ipi_send_IPI()
14 icr_entry.res_3 = 0; in ipi_send_IPI()
16 icr_entry.vector = vector; in ipi_send_IPI()
17 icr_entry.deliver_mode = deliver_mode; in ipi_send_IPI()
18 icr_entry.dest_shorthand = dest_shorthand; in ipi_send_IPI()
24 icr_entry.destination.x2apic_destination = destination; in ipi_send_IPI()
25 wrmsr(0x830, *(unsigned long *)&icr_entry); // 发送ipi in ipi_send_IPI()
30 icr_entry.destination.apic_destination.dest_field = destination & 0xff; in ipi_send_IPI()
31 icr_entry.destination.apic_destination.res_4 = 0; in ipi_send_IPI()
33 …*(uint32_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + 0x310) = (uint32_t)(((*(ul *)&icr_entry) >> 32) & 0… in ipi_send_IPI()
34 …*(uint32_t *)(APIC_LOCAL_APIC_VIRT_BASE_ADDR + 0x300) = (uint32_t)((*(ul *)&icr_entry) & 0xfffffff… in ipi_send_IPI()