user/lib/libsystem/src/x86_64/syscall_arch.c
/**
 * Performs a write to an IO port.
 *
 * @return 0 on success, error code otherwise.
 */
Performs a write to an IO port.
@return 0 on success, error code otherwise.
Performs a write to an IO port . @return 0 on success error code otherwise .
int Amd64PortWrite(const uintptr_t port, const uintptr_t flags, const uint32_t write) {
    if(!flags) {
        return -1;
    }
    return __do_syscall3(port, flags, write, SYS_ARCH_AMD64_PORT_WRITE);
}
int Amd64PortWrite ( const uintptr_t port , const uintptr_t flags , const uint32_t write ) { if ( ! flags ) { return -1 ; } return __do_syscall3 ( port , flags , write , SYS_ARCH_AMD64_PORT_WRITE ) ; }
Performs a write to an IO port.
Performs a write to an IO port .