Remove ntos.h and roskrnl.h from kernel-mode code.

svn path=/trunk/; revision=7900
This commit is contained in:
Eric Kohl 2004-01-28 20:55:50 +00:00
parent eb980ec861
commit cdcb7ec378
17 changed files with 33 additions and 36 deletions

View file

@ -13,6 +13,6 @@
#ifndef __INCLUDE_ACPI_TYPES_H #ifndef __INCLUDE_ACPI_TYPES_H
#define __INCLUDE_ACPI_TYPES_H #define __INCLUDE_ACPI_TYPES_H
#include <ntos.h> #include <ddk/ntddk.h>
#endif /* __INCLUDE_ACPI_TYPES_H */ #endif /* __INCLUDE_ACPI_TYPES_H */

View file

@ -1,4 +1,4 @@
/* $Id: blue.c,v 1.42 2004/01/11 17:31:14 gvg Exp $ /* $Id: blue.c,v 1.43 2004/01/28 20:51:44 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -11,7 +11,8 @@
/* INCLUDES ******************************************************************/ /* INCLUDES ******************************************************************/
#include <roskrnl.h> #include <ddk/ntddk.h>
#include <ntos/halfuncs.h>
#include <ddk/ntddblue.h> #include <ddk/ntddblue.h>
#include <rosrtl/string.h> #include <rosrtl/string.h>
#include <string.h> #include <string.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: fcb.c,v 1.16 2003/11/13 15:25:08 ekohl Exp $ /* $Id: fcb.c,v 1.17 2004/01/28 20:52:21 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -29,7 +29,7 @@
/* INCLUDES *****************************************************************/ /* INCLUDES *****************************************************************/
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <ntos.h> #include <ntos/kefuncs.h>
#define NDEBUG #define NDEBUG
#include <debug.h> #include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: attrib.c,v 1.8 2003/11/13 15:26:34 ekohl Exp $ /* $Id: attrib.c,v 1.9 2004/01/28 20:53:06 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -30,7 +30,6 @@
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <ntos.h>
#define NDEBUG #define NDEBUG
#include <debug.h> #include <debug.h>

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: fcb.c,v 1.9 2003/08/07 11:47:32 silverblade Exp $ /* $Id: fcb.c,v 1.10 2004/01/28 20:53:06 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -28,13 +28,13 @@
/* INCLUDES *****************************************************************/ /* INCLUDES *****************************************************************/
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <ntos/kefuncs.h>
#include "ntfs.h"
//#define NDEBUG //#define NDEBUG
#include <debug.h> #include <debug.h>
#include <ntos.h>
#include "ntfs.h"
/* MACROS *******************************************************************/ /* MACROS *******************************************************************/

View file

@ -1,4 +1,4 @@
/* $Id: fcb.c,v 1.36 2003/11/17 02:12:49 hyperion Exp $ /* $Id: fcb.c,v 1.37 2004/01/28 20:53:46 ekohl Exp $
* *
* *
* FILE: drivers/fs/vfat/fcb.c * FILE: drivers/fs/vfat/fcb.c
@ -13,9 +13,9 @@
/* ------------------------------------------------------- INCLUDES */ /* ------------------------------------------------------- INCLUDES */
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <ntos/kefuncs.h>
#include <wchar.h> #include <wchar.h>
#include <limits.h> #include <limits.h>
#include <ntos.h>
#include <rosrtl/string.h> #include <rosrtl/string.h>
#define NDEBUG #define NDEBUG

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: fsctl.c,v 1.26 2003/11/17 02:12:49 hyperion Exp $ /* $Id: fsctl.c,v 1.27 2004/01/28 20:53:46 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -27,11 +27,10 @@
/* INCLUDES *****************************************************************/ /* INCLUDES *****************************************************************/
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <ntos/kefuncs.h>
#include <rosrtl/string.h> #include <rosrtl/string.h>
#include <wchar.h> #include <wchar.h>
#include <ntos.h>
#define NDEBUG #define NDEBUG
#include <debug.h> #include <debug.h>

View file

@ -1,5 +1,5 @@
/* $Id: rw.c,v 1.63 2003/11/12 15:26:44 ekohl Exp $ /* $Id: rw.c,v 1.64 2004/01/28 20:53:46 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -13,11 +13,10 @@
/* INCLUDES *****************************************************************/ /* INCLUDES *****************************************************************/
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <ntos/kefuncs.h>
#include <wchar.h> #include <wchar.h>
#include <ntos/minmax.h> #include <ntos/minmax.h>
#include <ntos.h>
#define NDEBUG #define NDEBUG
#include <debug.h> #include <debug.h>

View file

@ -13,7 +13,6 @@
#include <net/tdikrnl.h> #include <net/tdikrnl.h>
#include <net/tdiinfo.h> #include <net/tdiinfo.h>
#include <afd/shared.h> #include <afd/shared.h>
#include <ntos.h>
#include <debug.h> #include <debug.h>
/* Forward declarations */ /* Forward declarations */

View file

@ -1,4 +1,4 @@
# $Id: makefile,v 1.7 2004/01/11 20:46:05 navaraf Exp $ # $Id: makefile,v 1.8 2004/01/28 20:54:18 ekohl Exp $
PATH_TO_TOP = ../../.. PATH_TO_TOP = ../../..
@ -6,7 +6,7 @@ TARGET_TYPE = driver
TARGET_NAME = afd TARGET_NAME = afd
TARGET_CFLAGS = -I./include -DDBG -D__USE_W32API -Werror -Wall TARGET_CFLAGS = -I./include -DDBG -Werror -Wall
TARGET_OBJECTS = \ TARGET_OBJECTS = \
afd/afd.o \ afd/afd.o \

View file

@ -1,7 +1,7 @@
/* $Id: string.c,v 1.4 2003/07/10 19:54:13 chorns Exp $ /* $Id: string.c,v 1.5 2004/01/28 20:55:18 ekohl Exp $
* *
*/ */
#include <ntos.h> #include <ddk/ntddk.h>
/* /*
* @unimplemented * @unimplemented

View file

@ -1,7 +1,7 @@
/* $Id: stubs.c,v 1.5 2003/07/10 19:54:13 chorns Exp $ /* $Id: stubs.c,v 1.6 2004/01/28 20:55:18 ekohl Exp $
* *
*/ */
#include <ntos.h> #include <ddk/ntddk.h>
/* /*

View file

@ -1,8 +1,8 @@
/* $Id: main.c,v 1.4 2002/09/08 10:22:19 chorns Exp $ /* $Id: main.c,v 1.5 2004/01/28 20:55:36 ekohl Exp $
* *
* DESCRIPTION: Entry point for TDI.SYS * DESCRIPTION: Entry point for TDI.SYS
*/ */
#include <ntos.h> #include <ddk/ntddk.h>
NTSTATUS NTSTATUS
STDCALL STDCALL

View file

@ -1,7 +1,7 @@
/* $Id: dereg.c,v 1.6 2003/11/14 17:13:29 weiden Exp $ /* $Id: dereg.c,v 1.7 2004/01/28 20:55:50 ekohl Exp $
* *
*/ */
#include <ntos.h> #include <ddk/ntddk.h>
#include <net/tdi.h> #include <net/tdi.h>
/* De-/Register Action IDs for TdiDeRegister */ /* De-/Register Action IDs for TdiDeRegister */

View file

@ -1,8 +1,8 @@
/* $Id: handler.c,v 1.5 2003/07/10 19:54:13 chorns Exp $ /* $Id: handler.c,v 1.6 2004/01/28 20:55:50 ekohl Exp $
* *
* DESCRIPTION: Default TDI event handlers. * DESCRIPTION: Default TDI event handlers.
*/ */
#include <ntos.h> #include <ddk/ntddk.h>
#include <net/tdi.h> #include <net/tdi.h>

View file

@ -1,8 +1,8 @@
/* $Id: obsolete.c,v 1.6 2003/07/10 19:54:13 chorns Exp $ /* $Id: obsolete.c,v 1.7 2004/01/28 20:55:50 ekohl Exp $
* *
*/ */
#include <ntos.h> #include <ddk/ntddk.h>
/* /*
* @unimplemented * @unimplemented

View file

@ -1,8 +1,8 @@
/* $Id: stubs.c,v 1.7 2003/07/10 19:54:13 chorns Exp $ /* $Id: stubs.c,v 1.8 2004/01/28 20:55:50 ekohl Exp $
* *
*/ */
#include <ntos.h> #include <ddk/ntddk.h>
#include <net/tdi.h> #include <net/tdi.h>
/* /*