- Add uniata.rbuild, adapt .rc to ReactOS

- Preliminary compilation fixes.
- Remove CrossNt stuff for now.

svn path=/trunk/; revision=29260
This commit is contained in:
Aleksey Bragin 2007-09-27 20:45:13 +00:00
parent d8d12c55ea
commit 945a85f7cb
9 changed files with 29 additions and 12 deletions

View file

@ -95,7 +95,7 @@ ScsiDebugPrint(
ULONG
_cdecl
DbgPrint(
PCH Format,
const CHAR * Format,
...
);
#endif // USE_DBGPRINT_LOGGER

View file

@ -75,4 +75,4 @@ CheckIfBadBlock(
IN ULONG count
);
#endif // _BADBLOCK_H_INCLUDED_
#endif // _BADBLOCK_H_INCLUDED_

View file

@ -93,6 +93,7 @@
/* ReactOS-specific defines */
#ifdef USE_REACTOS_DDK
#define DDKFASTAPI __attribute__((fastcall))
#else //USE_REACTOS_DDK
#define DDKAPI __attribute__((stdcall))

View file

@ -38,4 +38,4 @@ UniataGetNextChannel(
IN PHW_CHANNEL chan
);
#endif __UNIATA_COMMAND_QUEUE_SUPPORT__H__
#endif __UNIATA_COMMAND_QUEUE_SUPPORT__H__

View file

@ -33,4 +33,4 @@ UniataSataEvent(
IN ULONG Action
);
#endif __UNIATA_SATA__H__
#endif __UNIATA_SATA__H__

View file

@ -1,8 +1,3 @@
#include <windows.h>
#include <ntverp.h>
#include "uniata_ver.h"
#undef VERSION
#define VERSION "0." UNIATA_VER_STR
#define VER_FILETYPE VFT_DRV
@ -24,4 +19,4 @@
#define VER_LANGNEUTRAL
#include "common.ver"
#include <reactos/version.rc>

View file

@ -36,4 +36,4 @@ typedef struct _LOCK_STATE {
#define RWLOCK_FOR_WRITE TRUE
#define RWLOCK_FOR_READ FALSE
#endif __CROSS_NT_RWLOCK__H__
#endif // __CROSS_NT_RWLOCK__H__

View file

@ -6,7 +6,7 @@ extern "C" {
#include "stddef.h"
#include "stdarg.h"
#include "inc\CrossNt.h"
//#include "inc\CrossNt.h"
#include "atapi.h" // includes scsi.h
#include "ntdddisk.h"

View file

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="uniata" type="kernelmodedriver" installbase="system32/drivers" allowwarnings="true" installname="uniata.sys">
<bootstrap base="$(CDOUTPUT)" />
<define name="__USE_W32API" />
<define name="_DEBUG" />
<include base="uniata">.</include>
<include base="uniata">inc</include>
<library>ntoskrnl</library>
<library>hal</library>
<library>scsiport</library>
<file>id_ata.cpp</file>
<file>id_badblock.cpp</file>
<file>id_dma.cpp</file>
<file>id_init.cpp</file>
<file>id_probe.cpp</file>
<file>id_queue.cpp</file>
<file>id_sata.cpp</file>
<file>stdafx.cpp</file>
<file>idedma.rc</file>
</module>