]> git.proxmox.com Git - mirror_qemu.git/commit
mask all interrupts when MASTER_DISABLE is set
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Mon, 21 Jun 2010 18:23:21 +0000 (20:23 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 27 Jun 2010 16:06:44 +0000 (19:06 +0300)
commit94c5f455d3dc2222e0f793928eccf45ab968460e
treeab20707707d56a5c3cf19324a09863a77eb3ae35
parent3a5c16fcb821beab17d9e0d334bda4927000180c
mask all interrupts when MASTER_DISABLE is set

The MASTER_DISABLE bit (aka mask-all) masks all the interrupts.

According to Sun-4M System Architecture
"The level–15 interrupt sources [...] are maskable with the Interrupt Target
Mask Register. While these interrupts are considered ’non–maskable’ within
the SPARC IU, a mask capability is provided to allow the boot firmware
to establish a basic environment before receiving any level–15 interrupts,
which are non–maskable within SPARC. A mask–all bit is provided to allow
disabling of all external interrupts during change of the CIT."

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/slavio_intctl.c