aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c/omap_i2c.c
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2024-05-13 01:28:07 +0200
committerNicholas Piggin <npiggin@gmail.com>2024-05-24 09:43:13 +1000
commitcd1038ec1d316aeca52a0c5d18da055d5aa014c9 (patch)
tree3b567a7fe18ad4c0f9eb8a2af1d055b80f154a77 /hw/i2c/omap_i2c.c
parent950251ee7b459d160fd3adfa2792326aa29b5d6c (diff)
target/ppc: Add a function to check for page protection bit
Checking if a page protection bit is set for a given access type is a common operation. Add a function to avoid repeating the same check at multiple places. As this relies on access type and page protection bit values having certain relation also add an assert to ensure that this assumption holds. Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'hw/i2c/omap_i2c.c')
0 files changed, 0 insertions, 0 deletions