From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by sourceware.org (Postfix) with ESMTPS id 48AFC3858401 for ; Thu, 2 Feb 2023 07:33:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 48AFC3858401 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=m.gmane-mx.org Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pNU6B-0009vU-0K for cygwin@cygwin.com; Thu, 02 Feb 2023 08:33:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin@cygwin.com From: Franz Fehringer Subject: Re: ioperm / iopl / pciutils Date: Thu, 2 Feb 2023 08:33:27 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 In-Reply-To: X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FORGED_MUA_MOZILLA,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,NICE_REPLY_A,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Am 31.01.2023 um 10:27 schrieb Corinna Vinschen via Cygwin: > On Jan 29 18:22, Franz Fehringer via Cygwin wrote: >> Hi all, >> >> Is there any Cygwin package providing the iopl et al. routines? >> Google uncovers an ioperm package but that seems to be nothing current. >> My goal is to compile https://github.com/pciutils/pciutils with Cygwin. > > Cygwin doesn't have any Linux-like or POSIX-like API (device names, > ioctl's and whatnot) to access PCI directly. > > > Corinna > On https://github.com/pciutils/pciutils the claim is In runs on the following systems: Linux (via /sys/bus/pci, /proc/bus/pci or i386 ports) and http://ftp.uni-kl.de/pub/windows/cygwin/release/ioperm/setup.hint says # $Id: setup.hint,v 1.4 2003/01/31 14:58:56 telka Exp $ sdesc: "support for ioperm()/iopl() functions" ldesc: "This package adds support for ioperm()/iopl() functions to Cygwin. This support includes sys/io.h and sys/perm.h header files together with development and runtime libraries." category: Devel Libs System requires: cygwin libpopt0 So there possibly was once iopl support?