mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
- 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:
parent
d8d12c55ea
commit
945a85f7cb
|
@ -95,7 +95,7 @@ ScsiDebugPrint(
|
|||
ULONG
|
||||
_cdecl
|
||||
DbgPrint(
|
||||
PCH Format,
|
||||
const CHAR * Format,
|
||||
...
|
||||
);
|
||||
#endif // USE_DBGPRINT_LOGGER
|
||||
|
|
|
@ -93,6 +93,7 @@
|
|||
|
||||
/* ReactOS-specific defines */
|
||||
#ifdef USE_REACTOS_DDK
|
||||
#define DDKFASTAPI __attribute__((fastcall))
|
||||
#else //USE_REACTOS_DDK
|
||||
|
||||
#define DDKAPI __attribute__((stdcall))
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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__
|
||||
|
|
|
@ -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"
|
||||
|
|
21
reactos/drivers/storage/ide/uniata/uniata.rbuild
Normal file
21
reactos/drivers/storage/ide/uniata/uniata.rbuild
Normal 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>
|
Loading…
Reference in a new issue