mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
arm_gic: Support setting/getting binary point reg
Add a binary_point field to the gic emulation structure and support setting/getting this register now when we have it. We don't actually support interrupt grouping yet, oh well. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
40d225009e
commit
aa7d461ae9
3 changed files with 20 additions and 5 deletions
|
@ -68,6 +68,13 @@ typedef struct GICState {
|
|||
uint16_t running_priority[GIC_NCPU];
|
||||
uint16_t current_pending[GIC_NCPU];
|
||||
|
||||
/* We present the GICv2 without security extensions to a guest and
|
||||
* therefore the guest can configure the GICC_CTLR to configure group 1
|
||||
* binary point in the abpr.
|
||||
*/
|
||||
uint8_t bpr[GIC_NCPU];
|
||||
uint8_t abpr[GIC_NCPU];
|
||||
|
||||
uint32_t num_cpu;
|
||||
|
||||
MemoryRegion iomem; /* Distributor */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue