[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v2 3/5] exec/memattrs: Introduce MemTxAttrs::bus_perm fie
From: |
Peter Xu |
Subject: |
Re: [RFC PATCH v2 3/5] exec/memattrs: Introduce MemTxAttrs::bus_perm field |
Date: |
Mon, 23 Aug 2021 14:41:45 -0400 |
On Mon, Aug 23, 2021 at 06:41:55PM +0200, Philippe Mathieu-Daudé wrote:
> +/* Permission to restrict bus memory accesses. See MemTxAttrs::bus_perm */
> +enum {
> + MEMTXPERM_UNSPECIFIED = 0,
> + MEMTXPERM_UNRESTRICTED = 1,
> + MEMTXPERM_RAM_DEVICE = 2,
> +};
Is there a difference between UNSPECIFIED and UNRESTRICTED?
If no, should we merge them?
--
Peter Xu
- Re: [RFC PATCH v2 1/5] softmmu/physmem: Simplify flatview_write and address_space_access_valid, (continued)