VirtualBox

Changeset 108681 in vbox


Ignore:
Timestamp:
Mar 21, 2025 8:37:18 AM (4 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168094
Message:

gic.h: bugref:10877 GICR_CTLR bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/gic.h

    r108493 r108681  
    407407/** Size of the redistributor register frame. */
    408408#define GIC_REDIST_REG_FRAME_SIZE                       _64K
     409
    409410/** Redistributor Control Register - RW. */
    410411#define GIC_REDIST_REG_CTLR_OFF                         0x0000
     412/** Bit 0 - Enable LPIs. */
     413#define GIC_DIST_REG_CTLR_ENABLE_LPI_BIT                0
     414#define GIC_DIST_REG_CTLR_ENABLE_LPI                    RT_BIT_32(0)
     415/** Bit 1 - Clear Enable Support. */
     416#define GIC_DIST_REG_CTLR_CES_BIT                       1
     417#define GIC_DIST_REG_CTLR_CES                           RT_BIT_32(1)
     418#define GIC_REDIST_REG_CTLR_CES_SET(a_Ces)              (((a_Ces) << GIC_DIST_REG_CTLR_CES_BIT) & GIC_DIST_REG_CTLR_CES)
     419/** Bit 2 - LPI invalidate registers supported. */
     420#define GIC_DIST_REG_CTLR_IR_BIT                        2
     421#define GIC_DIST_REG_CTLR_IR                            RT_BIT_32(2)
     422/** Bit 3 - Register Write Pending. */
     423#define GIC_DIST_REG_CTLR_RWP_BIT                       3
     424#define GIC_DIST_REG_CTLR_RWP                           RT_BIT_32(3)
     425/** Bit 24 - Disable Processor selection for Group 0 interrupt. */
     426#define GIC_DIST_REG_CTLR_DPG0_BIT                      24
     427#define GIC_DIST_REG_CTLR_DPG0                          RT_BIT_32(24)
     428/** Bit 25 - Disable Processor selection for Group 1 non-secure interrupt. */
     429#define GIC_DIST_REG_CTLR_DPG1NS_BIT                    25
     430#define GIC_DIST_REG_CTLR_DPG1NS                        RT_BIT_32(25)
     431/** Bit 26 - Disable Processor selection for Group 1 secure interrupt. */
     432#define GIC_DIST_REG_CTLR_DPG1S_BIT                     26
     433#define GIC_DIST_REG_CTLR_DPG1S                         RT_BIT_32(26)
     434/** Bit 31 - Upstream Write Pending. */
     435#define GIC_DIST_REG_CTLR_UWP_BIT                       31
     436#define GIC_DIST_REG_CTLR_UWP                           RT_BIT_32(31)
     437
    411438/** Implementer Identification Register - RO. */
    412439#define GIC_REDIST_REG_IIDR_OFF                         0x0004
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette