]> git.proxmox.com Git - mirror_qemu.git/commit - hw/xtensa/xtfpga.c
hw/xtensa: xtfpga: use MX PIC for SMP
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 26 Jan 2019 12:17:31 +0000 (04:17 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 28 Jan 2019 19:55:20 +0000 (11:55 -0800)
commit1acd90bff27eb1f060a7243acb771f444e61d205
treee5efbc04f6dfaf918b95fc12e22fa1c7f9b38924
parent10df8ff146ff0219cf746ac13ffa870c4cf0350a
hw/xtensa: xtfpga: use MX PIC for SMP

Create and use MX PIC as a peripheral interrupt controller when more
than 1 processor is enabled on xtfpga board. Connect xtensa CPU cores to
the MX PIC and select secondary reset vector on all cores except the
first one.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
hw/xtensa/xtfpga.c