www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/27/03:44:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990827074216.24316.qmail@hotmail.com>
X-Originating-IP: [193.207.88.145]
From: "Emanuele Aliberti" <ealiberti AT hotmail DOT com>
To: bianchi AT pc-arte2 DOT arte DOT unipi DOT it, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Cygwin NT DDK Project and ntifs.h
Date: Fri, 27 Aug 1999 09:42:14 CEST
Mime-Version: 1.0

>Well, apart from the __fastcall convention, and SEH, you should at least
>update the linker to handle the NATIVE subsystem and all the other driver
>things (the MS CRC comes to mind).

The native subsystem is already supported ("--subsystem native" at least for 
applications; I am not sure if ld honours the "--entry DriverEntry" when 
native is the target).

>Symbols must be in *KD / WinDBG format
>(at least until Micro$oft doesn't document fully how the remote kernel
>debugging facility work) unless you are going to happily trace into pure
>machine code.

Doesn't exist a kernel version of the gdb?

>Both the DDK and the system itself make a lot of (sometimes hidden)
>assumptions about how the compiler works, and this is going to worsen due
>to the use of floating point / MMX-whatever and C++ code in kernel mode -
>just think of how the name mangling operates on gcc and MSVC and you'll
>why I think a Cygwin DDK is probably too ambitious a goal at this stage
>(NASM or - ykes! - GAS/GASP might find their role much earlier, though -
>but this is a different option).

Am I wrong, or isn't FP explicitly forbidden in WNT4 kernel modules? There 
are two system calls to save/restore the coprocessor's state but nothing 
more (KeRestoreFloatingPointState, KeSaveFloatingPointState).


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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