| 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 |
| Message-ID: | <A6E475D77D25D311AD91005004066440C821@exserver.lmnet.de> |
| From: | =?iso-8859-1?Q?=22Dehmel=2C_R=FCdiger=22?= <de AT lmnet DOT de> |
| To: | "'cygwin AT sources DOT redhat DOT com'" <cygwin AT sources DOT redhat DOT com> |
| Subject: | I'm new in cygwin: how to mmap? |
| Date: | Tue, 12 Sep 2000 10:55:08 +0200 |
| MIME-Version: | 1.0 |
| X-Mailer: | Internet Mail Service (5.5.2650.21) |
Hello,
first of all: how to subcribe to this group? (please answer to: de AT lmnet DOT de
)
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?
Thank you
Ruediger
--
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 |