Skip to content

Commit

Permalink
Merge pull request #18 from mahircg-aws/main
Browse files Browse the repository at this point in the history
Use the correct number of bits for VTTBR_EL2.BADDR
  • Loading branch information
nchong-at-aws authored Aug 3, 2023
2 parents e61ca45 + b0ddef8 commit c27c137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/registers/vttbr_el2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ register_bitfields! {u64,
VMID OFFSET(48) NUMBITS(16) [],

/// Translation table base address
BADDR OFFSET(1) NUMBITS(48) [],
BADDR OFFSET(1) NUMBITS(47) [],

/// Common not Private
CnP OFFSET(0) NUMBITS(1) []
Expand Down

0 comments on commit c27c137

Please sign in to comment.