]> Git Repo - qemu.git/blobdiff - hw/soc_dma.h
scsi-disk: support DVD profile in GET CONFIGURATION
[qemu.git] / hw / soc_dma.h
index 47bc4ea2690d28cd67472a8d0174b220c7121c1f..904b26c5a80545120f30325a79e868d560d58e8d 100644 (file)
  * 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, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "memory.h"
+
 struct soc_dma_s;
 struct soc_dma_ch_s;
 typedef void (*soc_dma_io_t)(void *opaque, uint8_t *buf, int len);
@@ -106,9 +107,3 @@ static inline void soc_dma_port_add_fifo_out(struct soc_dma_s *dma,
 {
     return soc_dma_port_add_fifo(dma, virt_base, fn, opaque, 1);
 }
-
-static inline void soc_dma_port_add_mem_ram(struct soc_dma_s *dma,
-                ram_addr_t offset, target_phys_addr_t virt_base, size_t size)
-{
-    return soc_dma_port_add_mem(dma, phys_ram_base + offset, virt_base, size);
-}
This page took 0.023129 seconds and 4 git commands to generate.