Migrate NTOSDRV to C++
This commit is contained in:
@@ -7,8 +7,8 @@ include_directories(
|
|||||||
|
|
||||||
# Specify list of source code files
|
# Specify list of source code files
|
||||||
list(APPEND NTOSDRV_SOURCE
|
list(APPEND NTOSDRV_SOURCE
|
||||||
${NTOSDRV_SOURCE_DIR}/ntosdrv.c
|
${NTOSDRV_SOURCE_DIR}/ntosdrv.cc
|
||||||
${NTOSDRV_SOURCE_DIR}/rtl.c)
|
${NTOSDRV_SOURCE_DIR}/rtl.cc)
|
||||||
|
|
||||||
# Set module definition SPEC file
|
# Set module definition SPEC file
|
||||||
set_specfile(ntosdrv.spec ntosdrv.sys)
|
set_specfile(ntosdrv.spec ntosdrv.sys)
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* PROJECT: ExectOS
|
* PROJECT: ExectOS
|
||||||
* COPYRIGHT: See COPYING.md in the top level directory
|
* COPYRIGHT: See COPYING.md in the top level directory
|
||||||
* FILE: drivers/ntosdrv/ntosdrv.c
|
* FILE: drivers/ntosdrv/ntosdrv.cc
|
||||||
* DESCRIPTION: NTOS compatibility driver
|
* DESCRIPTION: NTOS compatibility driver
|
||||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||||
*/
|
*/
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @since XT 1.0
|
* @since XT 1.0
|
||||||
*/
|
*/
|
||||||
|
XTCLINK
|
||||||
XTAPI
|
XTAPI
|
||||||
XTSTATUS
|
XTSTATUS
|
||||||
XtDriverEntry(VOID)
|
XtDriverEntry(VOID)
|
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* PROJECT: ExectOS
|
* PROJECT: ExectOS
|
||||||
* COPYRIGHT: See COPYING.md in the top level directory
|
* COPYRIGHT: See COPYING.md in the top level directory
|
||||||
* FILE: drivers/ntosdrv/rtl.c
|
* FILE: drivers/ntosdrv/rtl.cc
|
||||||
* DESCRIPTION: NTOS compatibility driver runtime library
|
* DESCRIPTION: NTOS compatibility driver runtime library
|
||||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||||
*/
|
*/
|
||||||
@@ -25,6 +25,7 @@
|
|||||||
*
|
*
|
||||||
* @since NT 3.5
|
* @since NT 3.5
|
||||||
*/
|
*/
|
||||||
|
XTCLINK
|
||||||
XTAPI
|
XTAPI
|
||||||
VOID
|
VOID
|
||||||
RtlFillMemory(OUT PVOID Destination,
|
RtlFillMemory(OUT PVOID Destination,
|
Reference in New Issue
Block a user