VirtualBox

Changeset 108835 in vbox for trunk/include


Ignore:
Timestamp:
Apr 3, 2025 10:40:08 AM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168283
Message:

VMM/GIC: bugref:10877 GITS work-in-progress, remove unused R0/RC callbacks, fixed typo in debug info dumping ITS table base adderss registers and other nits.

File:
1 edited

Legend:

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

    r108829 r108835  
    264264/** GITS_BASER: ITS Table Descriptors - RW. */
    265265#define GITS_CTRL_REG_BASER_OFF_FIRST                           0x0100
     266#define GITS_CTRL_REG_BASER_OFF_LAST                            0x0138
     267#define GITS_CTRL_REG_BASER_RANGE_SIZE                          (GITS_CTRL_REG_BASER_OFF_LAST + sizeof(uint64_t) - GITS_CTRL_REG_BASER_OFF_FIRST)
    266268/** GITS_BASER: Size - Number of pages allocated to the table minus one. */
    267269#define GITS_BF_CTRL_REG_BASER_SIZE_SHIFT                       0
     
    299301                             VALID));
    300302
    301 #define GITS_CTRL_REG_BASER_OFF_LAST                            0x0138
    302 #define GITS_CTRL_REG_BASER_RANGE_SIZE                          (GITS_CTRL_REG_BASER_OFF_LAST + sizeof(uint64_t) - GITS_CTRL_REG_BASER_OFF_FIRST)
    303 
    304303/** GITS_PIDR2: ITS Peripheral ID2 register - RO. */
    305304#define GITS_CTRL_REG_PIDR2_OFF                                 0xffe8
     
    331330#define GITS_TRANSLATION_REG_TRANSLATER                         0x0040
    332331
     332/** GITS Two-level (indirect) table entry. */
     333#define GITS_BF_ITE_LVL2_RSVD_11_0_SHIFT                        0
     334#define GITS_BF_ITE_LVL2_RSVD_11_0_MASK                         UINT64_C(0x0000000000000fff)
     335#define GITS_BF_ITE_LVL2_PHYS_ADDR_SHIFT                        12
     336#define GITS_BF_ITE_LVL2_PHYS_ADDR_MASK                         UINT64_C(0x000ffffffffff000)
     337#define GITS_BF_ITE_LVL2_RSVD_62_52_SHIFT                       52
     338#define GITS_BF_ITE_LVL2_RSVD_62_52_MASK                        UINT64_C(0x7ff0000000000000)
     339#define GITS_BF_ITE_LVL2_VALID_SHIFT                            63
     340#define GITS_BF_ITE_LVL2_VALID_MASK                             UINT64_C(0x8000000000000000)
     341RT_BF_ASSERT_COMPILE_CHECKS(GITS_BF_ITE_LVL2_, UINT64_C(0), UINT64_MAX,
     342                            (RSVD_11_0, PHYS_ADDR, RSVD_62_52, VALID));
     343
    333344/**
    334345 * Memory shareability attributes.
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