Message ID | 20231025051430.493079-4-ethan84@andestech.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Support RISC-V IOPMP | expand |
diff --git a/include/exec/memattrs.h b/include/exec/memattrs.h index d04170aa27..e27b4fab00 100644 --- a/include/exec/memattrs.h +++ b/include/exec/memattrs.h @@ -64,6 +64,9 @@ typedef struct MemTxAttrs { unsigned int target_tlb_bit0 : 1; unsigned int target_tlb_bit1 : 1; unsigned int target_tlb_bit2 : 1; + + /* IOPMP support up to 65535 sources */ + unsigned int iopmp_sid:16; } MemTxAttrs; /* Bus masters which don't specify any attributes will get this,
Signed-off-by: Ethan Chen <ethan84@andestech.com> --- include/exec/memattrs.h | 3 +++ 1 file changed, 3 insertions(+)