delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/11/22:56:40

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <002501c1c979$b39cfb80$0100000a@miles>
From: "Miles Cederman-Haysom" <miles AT cederman DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Newbie Questions about Device Drivers
Date: Tue, 12 Mar 2002 14:55:08 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Okay, I'm a 4th year Electrical Engineering student, and I'm currently doing
a project using Cygwin - and I've got a bunch of questions about it.

I apologise if any questions here have been answered elsewhere, seem daft,
or whatever.  I have read the Cygwin FAQ, and numerous amounts of
documentation - the only problem is a lot of it doesn't make sense to me :)

Okay, first off - the project is basically to modify GDB under Cygwin so
that it can remotely debug a target (an 8260 PowerPC) through a proprietry
interface.  The interface already has a Win9x driver AFAIK, but we will
probably have to write a 2000 driver for it.

I've never done any programming before that involved accessing hardware.
I've only done Unix programming, and it was basically assignments
manipulating numbers, providing simulations, etc, never actually accessing
anything external.

My question is - how does one access the hardware through Cygwin?  As I
understand it there are a bunch of standard Win32 calls Cygwin can make - do
I access it through that?  Is this even possible?  How would you write to
the driver through C?

If I had a driver that was called the same way for 9x and 2000, would Cygwin
be able to run my GDB regardless of OS?

That's enough to get me started I think - any help would be greatly
appreciated.  Thanks in advance,

Miles



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019