Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate entry for register SPRR_KMASK0_EL12 in apple_regs.json #242

Open
sagittarius-a opened this issue Aug 23, 2022 · 0 comments
Open

Comments

@sagittarius-a
Copy link

sagittarius-a commented Aug 23, 2022

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant