]> git.proxmox.com Git - mirror_qemu.git/blame - include/exec/memory_ldst.h.inc
hw/arm: Add `\n` to hint message
[mirror_qemu.git] / include / exec / memory_ldst.h.inc
CommitLineData
4269c82b
PB
1/*
2 * Physical memory access templates
3 *
4 * Copyright (c) 2003 Fabrice Bellard
5 * Copyright (c) 2015 Linaro, Inc.
6 * Copyright (c) 2016 Red Hat, Inc.
7 *
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
61f3c91a 11 * version 2.1 of the License, or (at your option) any later version.
4269c82b
PB
12 *
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.
17 *
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/>.
20 */
21
22#ifdef TARGET_ENDIANNESS
f703f1ef 23uint16_t glue(address_space_lduw, SUFFIX)(ARG1_DECL,
4269c82b 24 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 25uint32_t glue(address_space_ldl, SUFFIX)(ARG1_DECL,
4269c82b 26 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 27uint64_t glue(address_space_ldq, SUFFIX)(ARG1_DECL,
4269c82b 28 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 29void glue(address_space_stl_notdirty, SUFFIX)(ARG1_DECL,
4269c82b 30 hwaddr addr, uint32_t val, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 31void glue(address_space_stw, SUFFIX)(ARG1_DECL,
f933b02b 32 hwaddr addr, uint16_t val, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 33void glue(address_space_stl, SUFFIX)(ARG1_DECL,
4269c82b 34 hwaddr addr, uint32_t val, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 35void glue(address_space_stq, SUFFIX)(ARG1_DECL,
4269c82b
PB
36 hwaddr addr, uint64_t val, MemTxAttrs attrs, MemTxResult *result);
37#else
f703f1ef 38uint8_t glue(address_space_ldub, SUFFIX)(ARG1_DECL,
4269c82b 39 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 40uint16_t glue(address_space_lduw_le, SUFFIX)(ARG1_DECL,
4269c82b 41 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 42uint16_t glue(address_space_lduw_be, SUFFIX)(ARG1_DECL,
4269c82b 43 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 44uint32_t glue(address_space_ldl_le, SUFFIX)(ARG1_DECL,
4269c82b 45 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 46uint32_t glue(address_space_ldl_be, SUFFIX)(ARG1_DECL,
4269c82b 47 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 48uint64_t glue(address_space_ldq_le, SUFFIX)(ARG1_DECL,
4269c82b 49 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 50uint64_t glue(address_space_ldq_be, SUFFIX)(ARG1_DECL,
4269c82b 51 hwaddr addr, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 52void glue(address_space_stb, SUFFIX)(ARG1_DECL,
f933b02b 53 hwaddr addr, uint8_t val, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 54void glue(address_space_stw_le, SUFFIX)(ARG1_DECL,
f933b02b 55 hwaddr addr, uint16_t val, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 56void glue(address_space_stw_be, SUFFIX)(ARG1_DECL,
f933b02b 57 hwaddr addr, uint16_t val, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 58void glue(address_space_stl_le, SUFFIX)(ARG1_DECL,
4269c82b 59 hwaddr addr, uint32_t val, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 60void glue(address_space_stl_be, SUFFIX)(ARG1_DECL,
4269c82b 61 hwaddr addr, uint32_t val, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 62void glue(address_space_stq_le, SUFFIX)(ARG1_DECL,
4269c82b 63 hwaddr addr, uint64_t val, MemTxAttrs attrs, MemTxResult *result);
f703f1ef 64void glue(address_space_stq_be, SUFFIX)(ARG1_DECL,
4269c82b
PB
65 hwaddr addr, uint64_t val, MemTxAttrs attrs, MemTxResult *result);
66#endif
67
68#undef ARG1_DECL
69#undef ARG1
70#undef SUFFIX
71#undef TARGET_ENDIANNESS