diff options
author | Bui Quang Minh <minhquangbui99@gmail.com> | 2024-01-11 22:43:58 +0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-02-14 06:09:32 -0500 |
commit | b2101358e591c9f0a93739dd3aee72935a79af80 (patch) | |
tree | e7de8fbcf49e117033327de565ed8818124ac0e3 /hw/gpio/omap_gpio.c | |
parent | bad38726e9dc52d840d151a1ba38b5614b521feb (diff) | |
download | qemu-b2101358e591c9f0a93739dd3aee72935a79af80.zip qemu-b2101358e591c9f0a93739dd3aee72935a79af80.tar.gz qemu-b2101358e591c9f0a93739dd3aee72935a79af80.tar.bz2 |
i386/tcg: implement x2APIC registers MSR access
This commit creates apic_register_read/write which are used by both
apic_mem_read/write for MMIO access and apic_msr_read/write for MSR access.
The apic_msr_read/write returns -1 on error, accelerator can use this to
raise the appropriate exception.
Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
Message-Id: <20240111154404.5333-2-minhquangbui99@gmail.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/gpio/omap_gpio.c')
0 files changed, 0 insertions, 0 deletions