Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: Newbie Questions about Device Drivers Date: Tue, 12 Mar 2002 14:55:08 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/