summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell2018-08-20 12:24:32 +0200
committerPeter Maydell2018-08-20 12:24:32 +0200
commit3eff40dbf44896a8180c86c84dbdefb2eb173fbe (patch)
treebb8ff45c8f9ef15bb4258b022ac98580ba42bde1 /include
parentmemory: Remove MMIO request_ptr APIs (diff)
downloadqemu-3eff40dbf44896a8180c86c84dbdefb2eb173fbe.tar.gz
qemu-3eff40dbf44896a8180c86c84dbdefb2eb173fbe.tar.xz
qemu-3eff40dbf44896a8180c86c84dbdefb2eb173fbe.zip
hw/misc: Remove mmio_interface device
The mmio_interface device was a purely internal artifact of the implementation of the memory subsystem's request_ptr APIs. Now that we have removed those APIs, we can remove the mmio_interface device too. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: KONRAD Frederic <frederic.konrad@adacore.com> Message-id: 20180817114619.22354-4-peter.maydell@linaro.org
Diffstat (limited to 'include')
-rw-r--r--include/hw/misc/mmio_interface.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/include/hw/misc/mmio_interface.h b/include/hw/misc/mmio_interface.h
deleted file mode 100644
index 90d34fb228..0000000000
--- a/include/hw/misc/mmio_interface.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * mmio_interface.h
- *
- * Copyright (C) 2017 : GreenSocs
- * http://www.greensocs.com/ , email: info@greensocs.com
- *
- * Developed by :
- * Frederic Konrad <fred.konrad@greensocs.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option)any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-#ifndef MMIO_INTERFACE_H
-#define MMIO_INTERFACE_H
-
-#include "exec/memory.h"
-
-#define TYPE_MMIO_INTERFACE "mmio_interface"
-#define MMIO_INTERFACE(obj) OBJECT_CHECK(MMIOInterface, (obj), \
- TYPE_MMIO_INTERFACE)
-
-typedef struct MMIOInterface {
- DeviceState parent_obj;
-
- MemoryRegion *subregion;
- MemoryRegion ram_mem;
- uint64_t start;
- uint64_t end;
- bool ro;
- uint64_t id;
- void *host_ptr;
-} MMIOInterface;
-
-void mmio_interface_map(MMIOInterface *s);
-void mmio_interface_unmap(MMIOInterface *s);
-
-#endif /* MMIO_INTERFACE_H */