[SCSIPORT][FORMATTING] Fix formatting and PCH generation

This commit is contained in:
Victor Perevertkin 2020-09-26 03:47:52 +03:00
parent 3da04a9b68
commit fdc47e7ea7
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
4 changed files with 677 additions and 746 deletions

View file

@ -3,15 +3,14 @@ spec2def(scsiport.sys scsiport.spec ADD_IMPORTLIB)
list(APPEND SOURCE
scsiport.c
stubs.c
precomp.h)
stubs.c)
add_library(scsiport MODULE
${SOURCE}
scsiport.rc
${CMAKE_CURRENT_BINARY_DIR}/scsiport.def)
add_pch(scsiport precomp.h SOURCE)
add_pch(scsiport scsiport.h "")
set_module_type(scsiport kernelmodedriver)
add_importlibs(scsiport ntoskrnl hal)
add_cd_file(TARGET scsiport DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -1,6 +0,0 @@
#ifndef _SCSIPORT_PCH_
#define _SCSIPORT_PCH_
#include <wdm.h>
#endif /* _SCSIPORT_PCH_ */

File diff suppressed because it is too large Load diff

View file

@ -7,6 +7,14 @@
#pragma once
#include <wdm.h>
#include <ntddk.h>
#include <stdio.h>
#include <scsi.h>
#include <ntddscsi.h>
#include <ntdddisk.h>
#include <mountdev.h>
#define VERSION "0.0.3"
#ifndef PAGE_ROUND_UP