Commit 4ce3dc20 authored by Alexandre Julliard's avatar Alexandre Julliard

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

system.c.
parent 33b2c1fd
......@@ -1068,7 +1068,6 @@ DWORD WINAPI GetFreeMemInfo16(void)
/***********************************************************************
* A20Proc (KERNEL.165)
* A20_Proc (SYSTEM.20)
*/
void WINAPI A20Proc16( WORD unused )
{
......
......@@ -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.
......
......@@ -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);
......@@ -227,6 +225,15 @@ void WINAPI DisableSystemTimers16(void)
/***********************************************************************
* GetSystemMSecCount (SYSTEM.6)
*/
DWORD WINAPI GetSystemMSecCount16(void)
{
return GetTickCount();
}
/***********************************************************************
* Get80x87SaveSize (SYSTEM.7)
*/
WORD WINAPI Get80x87SaveSize16(void)
......@@ -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 */
}
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment