diff options
| author | Peter Maydell | 2015-04-26 17:49:25 +0200 |
|---|---|---|
| committer | Peter Maydell | 2015-04-26 17:49:25 +0200 |
| commit | 0995bf8cd91b81ec9c1078e37b808794080dc5c0 (patch) | |
| tree | 62c82605c1abae5c2f46592d74c031652579d2c3 /include | |
| parent | target-arm: Use correct memory attributes for page table walks (diff) | |
| download | qemu-0995bf8cd91b81ec9c1078e37b808794080dc5c0.tar.gz qemu-0995bf8cd91b81ec9c1078e37b808794080dc5c0.tar.xz qemu-0995bf8cd91b81ec9c1078e37b808794080dc5c0.zip | |
target-arm: Add user-mode transaction attribute
Add a transaction attribute indicating that a memory access is being
done from user-mode (unprivileged). This corresponds to an equivalent
signal in ARM AMBA buses.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/exec/memattrs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/exec/memattrs.h b/include/exec/memattrs.h index 68a9c760d5..1389b4b01d 100644 --- a/include/exec/memattrs.h +++ b/include/exec/memattrs.h @@ -31,6 +31,8 @@ typedef struct MemTxAttrs { unsigned int unspecified:1; /* ARM/AMBA TrustZone Secure access */ unsigned int secure:1; + /* Memory access is usermode (unprivileged) */ + unsigned int user:1; } MemTxAttrs; /* Bus masters which don't specify any attributes will get this, |
