Moved the implementation of a couple of system.drv entry points to

system.c.
This commit is contained in:
Alexandre Julliard 2005-08-29 12:26:19 +00:00
parent 33b2c1fd3c
commit 4ce3dc20d7
4 changed files with 21 additions and 7 deletions

View File

@ -1068,7 +1068,6 @@ DWORD WINAPI GetFreeMemInfo16(void)
/***********************************************************************
* A20Proc (KERNEL.165)
* A20_Proc (SYSTEM.20)
*/
void WINAPI A20Proc16( WORD unused )
{

View File

@ -220,7 +220,6 @@ INT WINAPI MulDiv( INT nMultiplicand, INT nMultiplier, INT nDivisor)
/***********************************************************************
* GetSystemMSecCount (SYSTEM.6)
* GetTickCount (KERNEL32.@)
*
* Get the number of milliseconds the system has been running.

View File

@ -29,8 +29,6 @@
#include "wine/winuser16.h"
#include "wownt32.h"
#include "winternl.h"
#include "kernel_private.h"
#include "kernel16_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(system);
@ -226,6 +224,15 @@ void WINAPI DisableSystemTimers16(void)
}
/***********************************************************************
* GetSystemMSecCount (SYSTEM.6)
*/
DWORD WINAPI GetSystemMSecCount16(void)
{
return GetTickCount();
}
/***********************************************************************
* Get80x87SaveSize (SYSTEM.7)
*/
@ -255,3 +262,12 @@ void WINAPI Restore80x87State16( const char *ptr )
__asm__(".byte 0x66; frstor %0" : : "m" (ptr) );
#endif
}
/***********************************************************************
* A20_Proc (SYSTEM.20)
*/
void WINAPI A20_Proc16( WORD unused )
{
/* this is also a NOP in Windows */
}

View File

@ -1,12 +1,12 @@
1 pascal InquireSystem(word word) InquireSystem16
1 pascal InquireSystem(word word) InquireSystem16
2 pascal -ret16 CreateSystemTimer(word segptr) WIN16_CreateSystemTimer
3 pascal -ret16 KillSystemTimer(word) SYSTEM_KillSystemTimer
4 pascal -ret16 EnableSystemTimers() EnableSystemTimers16
5 pascal -ret16 DisableSystemTimers() DisableSystemTimers16
6 pascal GetSystemMSecCount() GetTickCount
6 pascal GetSystemMSecCount() GetSystemMSecCount16
7 pascal -ret16 Get80x87SaveSize() Get80x87SaveSize16
8 pascal -ret16 Save80x87State(ptr) Save80x87State16
9 pascal -ret16 Restore80x87State(ptr) Restore80x87State16
13 stub INQUIRELONGINTS # W1.1, W2.0
#14 stub ordinal only W1.1
20 pascal -ret16 A20_Proc(word) A20Proc16
20 pascal -ret16 A20_Proc(word) A20_Proc16