]> git.proxmox.com Git - qemu.git/blame - softmmu_defs.h
qdev: Fix regression in "pci_add ... storage if=virtio, ..."
[qemu.git] / softmmu_defs.h
CommitLineData
79383c9c
BS
1#ifndef SOFTMMU_DEFS_H
2#define SOFTMMU_DEFS_H
3
4uint8_t REGPARM __ldb_mmu(target_ulong addr, int mmu_idx);
5void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx);
6uint16_t REGPARM __ldw_mmu(target_ulong addr, int mmu_idx);
7void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx);
8uint32_t REGPARM __ldl_mmu(target_ulong addr, int mmu_idx);
9void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx);
10uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx);
11void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx);
12
13uint8_t REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx);
14void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx);
15uint16_t REGPARM __ldw_cmmu(target_ulong addr, int mmu_idx);
16void REGPARM __stw_cmmu(target_ulong addr, uint16_t val, int mmu_idx);
17uint32_t REGPARM __ldl_cmmu(target_ulong addr, int mmu_idx);
18void REGPARM __stl_cmmu(target_ulong addr, uint32_t val, int mmu_idx);
19uint64_t REGPARM __ldq_cmmu(target_ulong addr, int mmu_idx);
20void REGPARM __stq_cmmu(target_ulong addr, uint64_t val, int mmu_idx);
21
22#endif