summaryrefslogtreecommitdiffstats
path: root/qemu/include/exec/memattrs.h
diff options
context:
space:
mode:
authorRajithaY <rajithax.yerrumsetty@intel.com>2017-04-25 03:31:15 -0700
committerRajitha Yerrumchetty <rajithax.yerrumsetty@intel.com>2017-05-22 06:48:08 +0000
commitbb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch)
treeca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/include/exec/memattrs.h
parenta14b48d18a9ed03ec191cf16b162206998a895ce (diff)
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to kvmfornfv repo and make use of the updated latest qemu for the execution of all testcase Change-Id: I1280af507a857675c7f81d30c95255635667bdd7 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/include/exec/memattrs.h')
-rw-r--r--qemu/include/exec/memattrs.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/qemu/include/exec/memattrs.h b/qemu/include/exec/memattrs.h
deleted file mode 100644
index e60106184..000000000
--- a/qemu/include/exec/memattrs.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Memory transaction attributes
- *
- * Copyright (c) 2015 Linaro Limited.
- *
- * Authors:
- * Peter Maydell <peter.maydell@linaro.org>
- *
- * This work is licensed under the terms of the GNU GPL, version 2 or later.
- * See the COPYING file in the top-level directory.
- *
- */
-
-#ifndef MEMATTRS_H
-#define MEMATTRS_H
-
-/* Every memory transaction has associated with it a set of
- * attributes. Some of these are generic (such as the ID of
- * the bus master); some are specific to a particular kind of
- * bus (such as the ARM Secure/NonSecure bit). We define them
- * all as non-overlapping bitfields in a single struct to avoid
- * confusion if different parts of QEMU used the same bit for
- * different semantics.
- */
-typedef struct MemTxAttrs {
- /* Bus masters which don't specify any attributes will get this
- * (via the MEMTXATTRS_UNSPECIFIED constant), so that we can
- * distinguish "all attributes deliberately clear" from
- * "didn't specify" if necessary.
- */
- unsigned int unspecified:1;
- /* ARM/AMBA: TrustZone Secure access
- * x86: System Management Mode access
- */
- unsigned int secure:1;
- /* Memory access is usermode (unprivileged) */
- unsigned int user:1;
- /* Requester ID (for MSI for example) */
- unsigned int requester_id:16;
-} MemTxAttrs;
-
-/* Bus masters which don't specify any attributes will get this,
- * which has all attribute bits clear except the topmost one
- * (so that we can distinguish "all attributes deliberately clear"
- * from "didn't specify" if necessary).
- */
-#define MEMTXATTRS_UNSPECIFIED ((MemTxAttrs) { .unspecified = 1 })
-
-#endif