Skip to content

Duplicate entry for register SPRR_KMASK0_EL12 in apple_regs.json #242

@sagittarius-a

Description

@sagittarius-a

Context

I'm using tools/apple_regs.json as input for other tools. This does not create issues in m1n1 (or at least I did not identify it myself).

Issue

The SPRR_KMASK0_EL12 register has 2 definitions such as:

line 144:

{"index": 0, "name": "SPRR_KMASK0_EL12",            "fullname": "SPRR Kernel Permission Unlock Mask (EL12)",                    "enc": [3, 4, 15, 6, 0  ], "width": 32},

line 216:

{"index": 0, "name": "SPRR_KMASK0_EL12",            "fullname": "SPRR Kernel Permission Unlock Mask 0 (EL12)",                  "enc": [3, 6, 15, 6, 0  ], "width": 32},

Since the first is defined adjacent to SPRR_UMASK*, I couldn't tell if it's a typo or if 2 registers are effectively used for the same thing.

I apologize in advance if this issue is not relevant :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions