Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
25 lines
726 B
C
25 lines
726 B
C
/*
|
|
* s390x PCI MMIO definitions
|
|
*
|
|
* Copyright 2025 IBM Corp.
|
|
* Author(s): Farhan Ali <[email protected]>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
#ifndef S390X_PCI_MMIO_H
|
|
#define S390X_PCI_MMIO_H
|
|
|
|
#ifdef __s390x__
|
|
uint8_t s390x_pci_mmio_read_8(const void *ioaddr);
|
|
uint16_t s390x_pci_mmio_read_16(const void *ioaddr);
|
|
uint32_t s390x_pci_mmio_read_32(const void *ioaddr);
|
|
uint64_t s390x_pci_mmio_read_64(const void *ioaddr);
|
|
|
|
void s390x_pci_mmio_write_8(void *ioaddr, uint8_t val);
|
|
void s390x_pci_mmio_write_16(void *ioaddr, uint16_t val);
|
|
void s390x_pci_mmio_write_32(void *ioaddr, uint32_t val);
|
|
void s390x_pci_mmio_write_64(void *ioaddr, uint64_t val);
|
|
#endif /* __s390x__ */
|
|
|
|
#endif /* S390X_PCI_MMIO_H */
|