Lines Matching +full:gpa +full:- +full:1
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain the above copyright
103 return (-1); in lapic_intr_msi()
107 * Extract the x86-specific fields from the MSI addr/msg in lapic_intr_msi()
111 * MSI/MSI-X so ignore trigger level in 'msg'. in lapic_intr_msi()
114 * the Redirection Hint and Destination Mode are '1' and in lapic_intr_msi()
140 return ((msr - 0x800) << 4); in x2apic_msr_to_regoff()
190 lapic_mmio_write(struct vcpu *vcpu, uint64_t gpa, uint64_t wval, int size, in lapic_mmio_write() argument
197 off = gpa - DEFAULT_APIC_BASE; in lapic_mmio_write()
201 * aligned on a 16-byte boundary. in lapic_mmio_write()
207 error = vlapic_write(vlapic, 1, off, wval, arg); in lapic_mmio_write()
212 lapic_mmio_read(struct vcpu *vcpu, uint64_t gpa, uint64_t *rval, int size, in lapic_mmio_read() argument
219 off = gpa - DEFAULT_APIC_BASE; in lapic_mmio_read()
223 * 16-byte boundary. They are also suggested to be 4 bytes in lapic_mmio_read()
231 error = vlapic_read(vlapic, 1, off, rval, arg); in lapic_mmio_read()