mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
sparc64: implement PCI and ISA irqs
Generate correct trap for external interrupts. Map PCI and ISA IRQs to RIC/UltraSPARC-IIi interrupt vectors. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
89aaf60ded
commit
361dea401f
5 changed files with 93 additions and 38 deletions
|
@ -493,6 +493,9 @@ struct CPUSPARCState {
|
|||
/* UA 2005 hyperprivileged registers */
|
||||
uint64_t hpstate, htstate[MAXTL_MAX], hintp, htba, hver, hstick_cmpr, ssr;
|
||||
CPUTimer *hstick; // UA 2005
|
||||
/* Interrupt vector registers */
|
||||
uint64_t ivec_status;
|
||||
uint64_t ivec_data[3];
|
||||
uint32_t softint;
|
||||
#define SOFTINT_TIMER 1
|
||||
#define SOFTINT_STIMER (1 << 16)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue