| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| X-Mailer: | 21.1 (patch 12) "Channel Islands" XEmacs Lucid (via feedmail 8 I) |
| To: | cygwin <cygwin AT sources DOT redhat DOT com> |
| Subject: | Re: I'm new in cygwin: how to mmap? |
| References: | <A6E475D77D25D311AD91005004066440C821 AT exserver DOT lmnet DOT de> |
| <39BDF7C6 DOT C0ADA25D AT cygnus DOT com> | |
| From: | "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com> |
| Date: | 12 Sep 2000 12:47:39 +0200 |
| In-Reply-To: | Corinna Vinschen's message of "Tue, 12 Sep 2000 11:30:46 +0200" |
| Message-ID: | <kvaeddj390.fsf@vzell.de.oracle.com> |
| Lines: | 38 |
| User-Agent: | Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
| MIME-Version: | 1.0 |
>>>>> "Corinna" == Corinna Vinschen <vinschen AT cygnus DOT com> writes:
Corinna> "Dehmel, Rüdiger" wrote:
>>
>> Hello,
>>
>> first of all: how to subcribe to this group? (please answer to: de AT lmnet DOT de
>> )
Corinna> How did you find this group???
Corinna> Read http://sources.redhat.com/cygwin/lists.html
Corinna> It contains all necessary information.
>> I must memory map my hardware (ISA memory address: 0xD0000 - 0xD1FFFF) to
>> user address space.
>>
>> In LINUX I do this:
>>
>> md = open("/dev/mem", ...);
>> base = mmap(0, length, ... 0xD0000, md , ..);
>> ....
>> *base = 0x77; // write the bits 0x77 direct to the hardware
>> ....
>>
>> What is the replacement with cygwin on NT?
Corinna> Try using mmap().
Just curious. Whenever a configure script tries to detect a working mmap I get:
checking for working mmap... no
Is this the expected behaviour. I'm using latest 1.1.4
Ciao
Volker
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |