[DDK]: Fix english

[NTVDM]: Make export library. Define the Vdm(Un)MapFlat functions if needed.

svn path=/trunk/; revision=66821
This commit is contained in:
Hermès Bélusca-Maïto 2015-03-19 21:03:58 +00:00
parent 0c66b36a42
commit 02b663f961
3 changed files with 10 additions and 2 deletions

View file

@ -86,7 +86,7 @@ Sim32pGetVDMPointer(
_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))

View file

@ -3,7 +3,7 @@ PROJECT(NTVDM)
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

View file

@ -321,6 +321,8 @@ VdmMapFlat(IN USHORT Segment,
return SEG_OFF_TO_PTR(Segment, Offset);
}
#ifndef VdmFlushCache
BOOL
WINAPI
VdmFlushCache(IN USHORT Segment,
@ -333,6 +335,10 @@ VdmFlushCache(IN USHORT Segment,
return TRUE;
}
#endif
#ifndef VdmUnmapFlat
BOOL
WINAPI
VdmUnmapFlat(IN USHORT Segment,
@ -345,6 +351,8 @@ VdmUnmapFlat(IN USHORT Segment,
return TRUE;
}
#endif
BOOL
WINAPI
VDDInstallMemoryHook(IN HANDLE hVdd,