hw/arm/xlnx-zynqmp: Remove obsolete 'has_rpu' property
[qemu/ar7.git] / include / hw / display / milkymist_tmu2.h
blobfdce9535a1e61db721dc1ff057868901240ede70
1 /*
2 * QEMU model of the Milkymist texture mapping unit.
4 * Copyright (c) 2010 Michael Walle <michael@walle.cc>
5 * Copyright (c) 2010 Sebastien Bourdeauducq
6 * <sebastien.bourdeauducq@lekernel.net>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
22 * Specification available at:
23 * http://milkymist.walle.cc/socdoc/tmu2.pdf
27 #ifndef HW_DISPLAY_MILKYMIST_TMU2_H
28 #define HW_DISPLAY_MILKYMIST_TMU2_H
30 #include "exec/hwaddr.h"
31 #include "hw/qdev-core.h"
33 #if defined(CONFIG_X11) && defined(CONFIG_OPENGL)
34 DeviceState *milkymist_tmu2_create(hwaddr base, qemu_irq irq);
35 #else
36 static inline DeviceState *milkymist_tmu2_create(hwaddr base, qemu_irq irq)
38 return NULL;
40 #endif
42 #endif /* HW_DISPLAY_MILKYMIST_TMU2_H */