Author: hbelusca
Date: Thu Mar 19 21:03:58 2015
New Revision: 66821
URL:
http://svn.reactos.org/svn/reactos?rev=66821&view=rev
Log:
[DDK]: Fix english
[NTVDM]: Make export library. Define the Vdm(Un)MapFlat functions if needed.
Modified:
trunk/reactos/include/ddk/vddsvc.h
trunk/reactos/subsystems/mvdm/ntvdm/CMakeLists.txt
trunk/reactos/subsystems/mvdm/ntvdm/memory.c
Modified: trunk/reactos/include/ddk/vddsvc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/vddsvc.h?rev=6…
==============================================================================
--- trunk/reactos/include/ddk/vddsvc.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/vddsvc.h [iso-8859-1] Thu Mar 19 21:03:58 2015
@@ -86,7 +86,7 @@
_In_ ULONG Address,
_In_ BOOLEAN ProtectedMode);
-/* This API appears to have been never implemented anywhere... */
+/* This API appears to have never been implemented anywhere... */
#define Sim32FreeVDMPointer(Address, Size, Buffer, Mode) TRUE
#define GetVDMAddress(usSeg, usOff) (((ULONG)(usSeg) << 4) + (ULONG)(usOff))
Modified: trunk/reactos/subsystems/mvdm/ntvdm/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/CMak…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/CMakeLists.txt [iso-8859-1] Thu Mar 19 21:03:58
2015
@@ -3,7 +3,7 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486)
-spec2def(ntvdm.exe ntvdm.spec)
+spec2def(ntvdm.exe ntvdm.spec ADD_IMPORTLIB)
list(APPEND SOURCE
bios/bios32/bios32.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/memory.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/memo…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/memory.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/memory.c [iso-8859-1] Thu Mar 19 21:03:58 2015
@@ -321,6 +321,8 @@
return SEG_OFF_TO_PTR(Segment, Offset);
}
+#ifndef VdmFlushCache
+
BOOL
WINAPI
VdmFlushCache(IN USHORT Segment,
@@ -333,6 +335,10 @@
return TRUE;
}
+#endif
+
+#ifndef VdmUnmapFlat
+
BOOL
WINAPI
VdmUnmapFlat(IN USHORT Segment,
@@ -344,6 +350,8 @@
UNIMPLEMENTED;
return TRUE;
}
+
+#endif
BOOL
WINAPI