s390_pci_mmio_write - Online Linux Manual PageSection : 2
Updated : 2022-11-10
Source : Linux man-pages 6.03
NAMEs390_pci_mmio_write, s390_pci_mmio_read − transfer data to/from PCI MMIO memory page
LIBRARYStandard C library (libc, −lc)
SYNOPSIS#include <sys/syscall.h> /* Definition of SYS_* constants */
#include <unistd.h>int syscall(SYS_s390_pci_mmio_write, unsigned long mmio_addr,
const void user_buffer[.length], size_t length);
int syscall(SYS_s390_pci_mmio_read, unsigned long mmio_addr,
void user_buffer[.length], size_t length);Note: glibc provides no wrappers for these system calls, necessitating the use of syscall(2).
DESCRIPTIONThe s390_pci_mmio_write() system call writes length bytes of data from the user-space buffer user_buffer to the PCI MMIO memory location specified by mmio_addr. The s390_pci_mmio_read() system call reads length bytes of data from the PCI MMIO memory location specified by mmio_addr to the user-space buffer user_buffer. These system calls must be used instead of the simple assignment or data-transfer operations that are used to access the PCI MMIO memory areas mapped to user space on the Linux System z platform. The address specified by mmio_addr must belong to a PCI MMIO memory page mapping in the caller's address space, and the data being written or read must not cross a page boundary. The length value cannot be greater than the system page size.
RETURN VALUEOn success, s390_pci_mmio_write() and s390_pci_mmio_read() return 0. On failure, −1 is returned and errno is set to indicate the error.
ERRORSEFAULT The address in mmio_addr is invalid. EFAULT user_buffer does not point to a valid location in the caller's address space. EINVAL Invalid length argument. ENODEV PCI support is not enabled. ENOMEM Insufficient memory.
VERSIONSThese system calls are available since Linux 3.19.
STANDARDSThis Linux-specific system call is available only on the s390 architecture. The required PCI support is available beginning with System z EC12.
SEE ALSOsyscall(2) 0
Johanes Gumabo
Data Size : 7,888 byte
man-s390_pci_mmio_read.2Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 259,185
Visitor ID : :
Visitor IP : 18.224.60.19 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.