mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[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:
parent
0c66b36a42
commit
02b663f961
3 changed files with 10 additions and 2 deletions
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue