krnl386.exe16: Mark internal symbols with hidden visibility.
This commit is contained in:
parent
13ad265b23
commit
40d213a297
|
@ -40,7 +40,7 @@ typedef struct {
|
||||||
ULONG_PTR arg;
|
ULONG_PTR arg;
|
||||||
} DOS_SPC;
|
} DOS_SPC;
|
||||||
|
|
||||||
extern pid_t dosvm_pid;
|
extern pid_t dosvm_pid DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* amount of space reserved for relay stack */
|
/* amount of space reserved for relay stack */
|
||||||
#define DOSVM_RELAY_DATA_SIZE 4096
|
#define DOSVM_RELAY_DATA_SIZE 4096
|
||||||
|
@ -74,9 +74,9 @@ typedef void (WINAPI *INTPROC)(CONTEXT*);
|
||||||
#define DOS_PRIORITY_MOUSE 5 /* IRQ12 */
|
#define DOS_PRIORITY_MOUSE 5 /* IRQ12 */
|
||||||
#define DOS_PRIORITY_SERIAL 10 /* IRQ4 */
|
#define DOS_PRIORITY_SERIAL 10 /* IRQ4 */
|
||||||
|
|
||||||
extern WORD DOSVM_psp; /* psp of current DOS task */
|
extern WORD DOSVM_psp DECLSPEC_HIDDEN; /* psp of current DOS task */
|
||||||
extern WORD DOSVM_retval; /* return value of previous DOS task */
|
extern WORD DOSVM_retval DECLSPEC_HIDDEN; /* return value of previous DOS task */
|
||||||
extern struct DPMI_segments *DOSVM_dpmi_segments;
|
extern struct DPMI_segments *DOSVM_dpmi_segments DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#if defined(linux) && defined(__i386__) && defined(HAVE_SYS_VM86_H)
|
#if defined(linux) && defined(__i386__) && defined(HAVE_SYS_VM86_H)
|
||||||
# define MZ_SUPPORTED
|
# define MZ_SUPPORTED
|
||||||
|
@ -334,137 +334,137 @@ typedef struct
|
||||||
} WINEDEV;
|
} WINEDEV;
|
||||||
|
|
||||||
/* dosexe.c */
|
/* dosexe.c */
|
||||||
extern BOOL MZ_Exec( CONTEXT *context, LPCSTR filename, BYTE func, LPVOID paramblk );
|
extern BOOL MZ_Exec( CONTEXT *context, LPCSTR filename, BYTE func, LPVOID paramblk ) DECLSPEC_HIDDEN;
|
||||||
extern void MZ_Exit( CONTEXT *context, BOOL cs_psp, WORD retval );
|
extern void MZ_Exit( CONTEXT *context, BOOL cs_psp, WORD retval ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL MZ_Current( void );
|
extern BOOL MZ_Current( void ) DECLSPEC_HIDDEN;
|
||||||
extern void MZ_AllocDPMITask( void );
|
extern void MZ_AllocDPMITask( void ) DECLSPEC_HIDDEN;
|
||||||
extern void MZ_RunInThread( PAPCFUNC proc, ULONG_PTR arg );
|
extern void MZ_RunInThread( PAPCFUNC proc, ULONG_PTR arg ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL DOSVM_IsWin16(void);
|
extern BOOL DOSVM_IsWin16(void) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_Exit( WORD retval );
|
extern void DOSVM_Exit( WORD retval ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* dosvm.c */
|
/* dosvm.c */
|
||||||
extern void DOSVM_SendQueuedEvents( CONTEXT * );
|
extern void DOSVM_SendQueuedEvents( CONTEXT * ) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_AcknowledgeIRQ( CONTEXT * );
|
extern void WINAPI DOSVM_AcknowledgeIRQ( CONTEXT * ) DECLSPEC_HIDDEN;
|
||||||
extern INT DOSVM_Enter( CONTEXT *context );
|
extern INT DOSVM_Enter( CONTEXT *context ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_Wait( CONTEXT * );
|
extern void DOSVM_Wait( CONTEXT * ) DECLSPEC_HIDDEN;
|
||||||
extern DWORD DOSVM_Loop( HANDLE hThread );
|
extern DWORD DOSVM_Loop( HANDLE hThread ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_QueueEvent( INT irq, INT priority, DOSRELAY relay, LPVOID data );
|
extern void DOSVM_QueueEvent( INT irq, INT priority, DOSRELAY relay, LPVOID data ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_PIC_ioport_out( WORD port, BYTE val );
|
extern void DOSVM_PIC_ioport_out( WORD port, BYTE val ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_SetTimer( UINT ticks );
|
extern void DOSVM_SetTimer( UINT ticks ) DECLSPEC_HIDDEN;
|
||||||
extern LPVOID DOSVM_AllocDataUMB(DWORD, WORD *, WORD *);
|
extern LPVOID DOSVM_AllocDataUMB(DWORD, WORD *, WORD *) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_InitSegments(void);
|
extern void DOSVM_InitSegments(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* devices.c */
|
/* devices.c */
|
||||||
extern void DOSDEV_InstallDOSDevices(void);
|
extern void DOSDEV_InstallDOSDevices(void) DECLSPEC_HIDDEN;
|
||||||
extern void DOSDEV_SetupDevice(const WINEDEV * devinfo,
|
extern void DOSDEV_SetupDevice(const WINEDEV * devinfo,
|
||||||
WORD seg, WORD off_dev, WORD off_thunk);
|
WORD seg, WORD off_dev, WORD off_thunk) DECLSPEC_HIDDEN;
|
||||||
extern void DOSDEV_SetSharingRetry(WORD delay, WORD count);
|
extern void DOSDEV_SetSharingRetry(WORD delay, WORD count) DECLSPEC_HIDDEN;
|
||||||
extern SEGPTR DOSDEV_GetLOL(BOOL v86);
|
extern SEGPTR DOSDEV_GetLOL(BOOL v86) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* dma.c */
|
/* dma.c */
|
||||||
extern int DMA_Transfer(int channel,int reqlength,void* buffer);
|
extern int DMA_Transfer(int channel,int reqlength,void* buffer) DECLSPEC_HIDDEN;
|
||||||
extern void DMA_ioport_out( WORD port, BYTE val );
|
extern void DMA_ioport_out( WORD port, BYTE val ) DECLSPEC_HIDDEN;
|
||||||
extern BYTE DMA_ioport_in( WORD port );
|
extern BYTE DMA_ioport_in( WORD port ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* dosaspi.c */
|
/* dosaspi.c */
|
||||||
extern void DOSVM_ASPIHandler(CONTEXT*);
|
extern void DOSVM_ASPIHandler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* dosmem.c */
|
/* dosmem.c */
|
||||||
extern BIOSDATA *DOSVM_BiosData( void );
|
extern BIOSDATA *DOSVM_BiosData( void ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_start_bios_timer(void);
|
extern void DOSVM_start_bios_timer(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* fpu.c */
|
/* fpu.c */
|
||||||
extern void WINAPI DOSVM_Int34Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int34Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int35Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int35Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int36Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int36Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int37Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int37Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int38Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int38Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int39Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int39Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int3aHandler(CONTEXT*);
|
extern void WINAPI DOSVM_Int3aHandler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int3bHandler(CONTEXT*);
|
extern void WINAPI DOSVM_Int3bHandler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int3cHandler(CONTEXT*);
|
extern void WINAPI DOSVM_Int3cHandler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int3dHandler(CONTEXT*);
|
extern void WINAPI DOSVM_Int3dHandler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_Int3eHandler(CONTEXT*);
|
extern void WINAPI DOSVM_Int3eHandler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int09.c */
|
/* int09.c */
|
||||||
extern void WINAPI DOSVM_Int09Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int09Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_Int09SendScan(BYTE scan,BYTE ascii);
|
extern void DOSVM_Int09SendScan(BYTE scan,BYTE ascii) DECLSPEC_HIDDEN;
|
||||||
extern BYTE DOSVM_Int09ReadScan(BYTE*ascii);
|
extern BYTE DOSVM_Int09ReadScan(BYTE*ascii) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int10.c */
|
/* int10.c */
|
||||||
extern void WINAPI DOSVM_Int10Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int10Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_PutChar(BYTE ascii);
|
extern void DOSVM_PutChar(BYTE ascii) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int13.c */
|
/* int13.c */
|
||||||
extern void WINAPI DOSVM_Int13Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int13Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int15.c */
|
/* int15.c */
|
||||||
extern void WINAPI DOSVM_Int15Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int15Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int16.c */
|
/* int16.c */
|
||||||
extern void WINAPI DOSVM_Int16Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int16Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern BOOL DOSVM_Int16ReadChar( BYTE *, BYTE *, CONTEXT * );
|
extern BOOL DOSVM_Int16ReadChar( BYTE *, BYTE *, CONTEXT * ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL DOSVM_Int16AddChar(BYTE ascii, BYTE scan);
|
extern BOOL DOSVM_Int16AddChar(BYTE ascii, BYTE scan) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int21.c */
|
/* int21.c */
|
||||||
extern void WINAPI DOSVM_Int21Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int21Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int25.c */
|
/* int25.c */
|
||||||
BOOL DOSVM_RawRead( BYTE, DWORD, DWORD, BYTE *, BOOL );
|
BOOL DOSVM_RawRead( BYTE, DWORD, DWORD, BYTE *, BOOL ) DECLSPEC_HIDDEN;
|
||||||
void WINAPI DOSVM_Int25Handler( CONTEXT * );
|
void WINAPI DOSVM_Int25Handler( CONTEXT * ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int26.c */
|
/* int26.c */
|
||||||
BOOL DOSVM_RawWrite( BYTE, DWORD, DWORD, BYTE *, BOOL );
|
BOOL DOSVM_RawWrite( BYTE, DWORD, DWORD, BYTE *, BOOL ) DECLSPEC_HIDDEN;
|
||||||
void WINAPI DOSVM_Int26Handler( CONTEXT * );
|
void WINAPI DOSVM_Int26Handler( CONTEXT * ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int2f.c */
|
/* int2f.c */
|
||||||
extern void WINAPI DOSVM_Int2fHandler(CONTEXT*);
|
extern void WINAPI DOSVM_Int2fHandler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void MSCDEX_InstallCDROM(void);
|
extern void MSCDEX_InstallCDROM(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int31.c */
|
/* int31.c */
|
||||||
extern void WINAPI DOSVM_Int31Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int31Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void WINAPI DOSVM_RawModeSwitchHandler(CONTEXT*);
|
extern void WINAPI DOSVM_RawModeSwitchHandler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern BOOL DOSVM_IsDos32(void);
|
extern BOOL DOSVM_IsDos32(void) DECLSPEC_HIDDEN;
|
||||||
extern FARPROC16 DPMI_AllocInternalRMCB(RMCBPROC);
|
extern FARPROC16 DPMI_AllocInternalRMCB(RMCBPROC) DECLSPEC_HIDDEN;
|
||||||
extern int DPMI_CallRMProc(CONTEXT*,LPWORD,int,int);
|
extern int DPMI_CallRMProc(CONTEXT*,LPWORD,int,int) DECLSPEC_HIDDEN;
|
||||||
extern BOOL DOSVM_CheckWrappers(CONTEXT*);
|
extern BOOL DOSVM_CheckWrappers(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int33.c */
|
/* int33.c */
|
||||||
extern void WINAPI DOSVM_Int33Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int33Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_Int33Message(UINT,WPARAM,LPARAM);
|
extern void DOSVM_Int33Message(UINT,WPARAM,LPARAM) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_Int33Console(MOUSE_EVENT_RECORD*);
|
extern void DOSVM_Int33Console(MOUSE_EVENT_RECORD*) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* int67.c */
|
/* int67.c */
|
||||||
extern void WINAPI DOSVM_Int67Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int67Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
extern void EMS_Ioctl_Handler(CONTEXT*);
|
extern void EMS_Ioctl_Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* interrupts.c */
|
/* interrupts.c */
|
||||||
extern void __wine_call_int_handler( CONTEXT *, BYTE );
|
extern void __wine_call_int_handler( CONTEXT *, BYTE ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_CallBuiltinHandler( CONTEXT *, BYTE );
|
extern void DOSVM_CallBuiltinHandler( CONTEXT *, BYTE ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL DOSVM_EmulateInterruptPM( CONTEXT *, BYTE );
|
extern BOOL DOSVM_EmulateInterruptPM( CONTEXT *, BYTE ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL DOSVM_EmulateInterruptRM( CONTEXT *, BYTE );
|
extern BOOL DOSVM_EmulateInterruptRM( CONTEXT *, BYTE ) DECLSPEC_HIDDEN;
|
||||||
extern FARPROC16 DOSVM_GetPMHandler16( BYTE );
|
extern FARPROC16 DOSVM_GetPMHandler16( BYTE ) DECLSPEC_HIDDEN;
|
||||||
extern FARPROC48 DOSVM_GetPMHandler48( BYTE );
|
extern FARPROC48 DOSVM_GetPMHandler48( BYTE ) DECLSPEC_HIDDEN;
|
||||||
extern FARPROC16 DOSVM_GetRMHandler( BYTE );
|
extern FARPROC16 DOSVM_GetRMHandler( BYTE ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_HardwareInterruptPM( CONTEXT *, BYTE );
|
extern void DOSVM_HardwareInterruptPM( CONTEXT *, BYTE ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_HardwareInterruptRM( CONTEXT *, BYTE );
|
extern void DOSVM_HardwareInterruptRM( CONTEXT *, BYTE ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_SetPMHandler16( BYTE, FARPROC16 );
|
extern void DOSVM_SetPMHandler16( BYTE, FARPROC16 ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_SetPMHandler48( BYTE, FARPROC48 );
|
extern void DOSVM_SetPMHandler48( BYTE, FARPROC48 ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_SetRMHandler( BYTE, FARPROC16 );
|
extern void DOSVM_SetRMHandler( BYTE, FARPROC16 ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* ioports.c */
|
/* ioports.c */
|
||||||
extern DWORD DOSVM_inport( int port, int size );
|
extern DWORD DOSVM_inport( int port, int size ) DECLSPEC_HIDDEN;
|
||||||
extern void DOSVM_outport( int port, int size, DWORD value );
|
extern void DOSVM_outport( int port, int size, DWORD value ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* relay.c */
|
/* relay.c */
|
||||||
void DOSVM_RelayHandler( CONTEXT * );
|
void DOSVM_RelayHandler( CONTEXT * ) DECLSPEC_HIDDEN;
|
||||||
void DOSVM_BuildCallFrame( CONTEXT *, DOSRELAY, LPVOID );
|
void DOSVM_BuildCallFrame( CONTEXT *, DOSRELAY, LPVOID ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* soundblaster.c */
|
/* soundblaster.c */
|
||||||
extern void SB_ioport_out( WORD port, BYTE val );
|
extern void SB_ioport_out( WORD port, BYTE val ) DECLSPEC_HIDDEN;
|
||||||
extern BYTE SB_ioport_in( WORD port );
|
extern BYTE SB_ioport_in( WORD port ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* timer.c */
|
/* timer.c */
|
||||||
extern void WINAPI DOSVM_Int08Handler(CONTEXT*);
|
extern void WINAPI DOSVM_Int08Handler(CONTEXT*) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif /* __WINE_DOSEXE_H */
|
#endif /* __WINE_DOSEXE_H */
|
||||||
|
|
|
@ -150,7 +150,7 @@ typedef struct _THHOOK
|
||||||
extern LONG __wine_call_from_16(void);
|
extern LONG __wine_call_from_16(void);
|
||||||
extern void __wine_call_from_16_regs(void);
|
extern void __wine_call_from_16_regs(void);
|
||||||
|
|
||||||
extern THHOOK *pThhook;
|
extern THHOOK *pThhook DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#include "poppack.h"
|
#include "poppack.h"
|
||||||
|
|
||||||
|
@ -189,82 +189,83 @@ static inline void stack16_pop( int size )
|
||||||
}
|
}
|
||||||
|
|
||||||
/* dosmem.c */
|
/* dosmem.c */
|
||||||
extern BOOL DOSMEM_Init(void);
|
extern BOOL DOSMEM_Init(void) DECLSPEC_HIDDEN;
|
||||||
extern BOOL DOSMEM_InitDosMemory(void);
|
extern BOOL DOSMEM_InitDosMemory(void) DECLSPEC_HIDDEN;
|
||||||
extern LPVOID DOSMEM_MapRealToLinear(DWORD); /* real-mode to linear */
|
extern LPVOID DOSMEM_MapRealToLinear(DWORD) DECLSPEC_HIDDEN; /* real-mode to linear */
|
||||||
extern LPVOID DOSMEM_MapDosToLinear(UINT); /* linear DOS to Wine */
|
extern LPVOID DOSMEM_MapDosToLinear(UINT) DECLSPEC_HIDDEN; /* linear DOS to Wine */
|
||||||
extern UINT DOSMEM_MapLinearToDos(LPVOID); /* linear Wine to DOS */
|
extern UINT DOSMEM_MapLinearToDos(LPVOID) DECLSPEC_HIDDEN; /* linear Wine to DOS */
|
||||||
extern BOOL DOSMEM_MapDosLayout(void);
|
extern BOOL DOSMEM_MapDosLayout(void) DECLSPEC_HIDDEN;
|
||||||
extern LPVOID DOSMEM_AllocBlock(UINT size, WORD* p);
|
extern LPVOID DOSMEM_AllocBlock(UINT size, WORD* p) DECLSPEC_HIDDEN;
|
||||||
extern BOOL DOSMEM_FreeBlock(void* ptr);
|
extern BOOL DOSMEM_FreeBlock(void* ptr) DECLSPEC_HIDDEN;
|
||||||
extern UINT DOSMEM_ResizeBlock(void* ptr, UINT size, BOOL exact);
|
extern UINT DOSMEM_ResizeBlock(void* ptr, UINT size, BOOL exact) DECLSPEC_HIDDEN;
|
||||||
extern UINT DOSMEM_Available(void);
|
extern UINT DOSMEM_Available(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* global16.c */
|
/* global16.c */
|
||||||
extern HGLOBAL16 GLOBAL_CreateBlock( UINT16 flags, void *ptr, DWORD size,
|
extern HGLOBAL16 GLOBAL_CreateBlock( UINT16 flags, void *ptr, DWORD size,
|
||||||
HGLOBAL16 hOwner, unsigned char selflags );
|
HGLOBAL16 hOwner, unsigned char selflags ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL16 GLOBAL_FreeBlock( HGLOBAL16 handle );
|
extern BOOL16 GLOBAL_FreeBlock( HGLOBAL16 handle ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL16 GLOBAL_MoveBlock( HGLOBAL16 handle, void *ptr, DWORD size );
|
extern BOOL16 GLOBAL_MoveBlock( HGLOBAL16 handle, void *ptr, DWORD size ) DECLSPEC_HIDDEN;
|
||||||
extern HGLOBAL16 GLOBAL_Alloc( WORD flags, DWORD size, HGLOBAL16 hOwner, unsigned char selflags );
|
extern HGLOBAL16 GLOBAL_Alloc( WORD flags, DWORD size, HGLOBAL16 hOwner, unsigned char selflags ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* instr.c */
|
/* instr.c */
|
||||||
extern DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context );
|
extern DWORD __wine_emulate_instruction( EXCEPTION_RECORD *rec, CONTEXT *context ) DECLSPEC_HIDDEN;
|
||||||
extern LONG CALLBACK INSTR_vectored_handler( EXCEPTION_POINTERS *ptrs );
|
extern LONG CALLBACK INSTR_vectored_handler( EXCEPTION_POINTERS *ptrs ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* ne_module.c */
|
/* ne_module.c */
|
||||||
extern NE_MODULE *NE_GetPtr( HMODULE16 hModule );
|
extern NE_MODULE *NE_GetPtr( HMODULE16 hModule ) DECLSPEC_HIDDEN;
|
||||||
extern WORD NE_GetOrdinal( HMODULE16 hModule, const char *name );
|
extern WORD NE_GetOrdinal( HMODULE16 hModule, const char *name ) DECLSPEC_HIDDEN;
|
||||||
extern FARPROC16 WINAPI NE_GetEntryPoint( HMODULE16 hModule, WORD ordinal );
|
extern FARPROC16 WINAPI NE_GetEntryPoint( HMODULE16 hModule, WORD ordinal ) DECLSPEC_HIDDEN;
|
||||||
extern FARPROC16 NE_GetEntryPointEx( HMODULE16 hModule, WORD ordinal, BOOL16 snoop );
|
extern FARPROC16 NE_GetEntryPointEx( HMODULE16 hModule, WORD ordinal, BOOL16 snoop ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL16 NE_SetEntryPoint( HMODULE16 hModule, WORD ordinal, WORD offset );
|
extern BOOL16 NE_SetEntryPoint( HMODULE16 hModule, WORD ordinal, WORD offset ) DECLSPEC_HIDDEN;
|
||||||
extern DWORD NE_StartTask(void);
|
extern DWORD NE_StartTask(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* ne_segment.c */
|
/* ne_segment.c */
|
||||||
extern BOOL NE_LoadSegment( NE_MODULE *pModule, WORD segnum );
|
extern BOOL NE_LoadSegment( NE_MODULE *pModule, WORD segnum ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL NE_LoadAllSegments( NE_MODULE *pModule );
|
extern BOOL NE_LoadAllSegments( NE_MODULE *pModule ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL NE_CreateSegment( NE_MODULE *pModule, int segnum );
|
extern BOOL NE_CreateSegment( NE_MODULE *pModule, int segnum ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL NE_CreateAllSegments( NE_MODULE *pModule );
|
extern BOOL NE_CreateAllSegments( NE_MODULE *pModule ) DECLSPEC_HIDDEN;
|
||||||
extern HINSTANCE16 NE_GetInstance( NE_MODULE *pModule );
|
extern HINSTANCE16 NE_GetInstance( NE_MODULE *pModule ) DECLSPEC_HIDDEN;
|
||||||
extern void NE_InitializeDLLs( HMODULE16 hModule );
|
extern void NE_InitializeDLLs( HMODULE16 hModule ) DECLSPEC_HIDDEN;
|
||||||
extern void NE_DllProcessAttach( HMODULE16 hModule );
|
extern void NE_DllProcessAttach( HMODULE16 hModule ) DECLSPEC_HIDDEN;
|
||||||
extern void NE_CallUserSignalProc( HMODULE16 hModule, UINT16 code );
|
extern void NE_CallUserSignalProc( HMODULE16 hModule, UINT16 code ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* selector.c */
|
/* selector.c */
|
||||||
extern WORD SELECTOR_AllocBlock( const void *base, DWORD size, unsigned char flags );
|
extern WORD SELECTOR_AllocBlock( const void *base, DWORD size, unsigned char flags ) DECLSPEC_HIDDEN;
|
||||||
extern WORD SELECTOR_ReallocBlock( WORD sel, const void *base, DWORD size );
|
extern WORD SELECTOR_ReallocBlock( WORD sel, const void *base, DWORD size ) DECLSPEC_HIDDEN;
|
||||||
extern void SELECTOR_FreeBlock( WORD sel );
|
extern void SELECTOR_FreeBlock( WORD sel ) DECLSPEC_HIDDEN;
|
||||||
#define IS_SELECTOR_32BIT(sel) \
|
#define IS_SELECTOR_32BIT(sel) \
|
||||||
(wine_ldt_is_system(sel) || (wine_ldt_copy.flags[LOWORD(sel) >> 3] & WINE_LDT_FLAGS_32BIT))
|
(wine_ldt_is_system(sel) || (wine_ldt_copy.flags[LOWORD(sel) >> 3] & WINE_LDT_FLAGS_32BIT))
|
||||||
|
|
||||||
/* relay16.c */
|
/* relay16.c */
|
||||||
extern int relay_call_from_16( void *entry_point, unsigned char *args16, CONTEXT *context );
|
extern int relay_call_from_16( void *entry_point, unsigned char *args16, CONTEXT *context ) DECLSPEC_HIDDEN;
|
||||||
|
extern void RELAY16_InitDebugLists(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* snoop16.c */
|
/* snoop16.c */
|
||||||
extern void SNOOP16_RegisterDLL(HMODULE16,LPCSTR);
|
extern void SNOOP16_RegisterDLL(HMODULE16,LPCSTR) DECLSPEC_HIDDEN;
|
||||||
extern FARPROC16 SNOOP16_GetProcAddress16(HMODULE16,DWORD,FARPROC16);
|
extern FARPROC16 SNOOP16_GetProcAddress16(HMODULE16,DWORD,FARPROC16) DECLSPEC_HIDDEN;
|
||||||
extern BOOL SNOOP16_ShowDebugmsgSnoop(const char *dll,int ord,const char *fname);
|
extern BOOL SNOOP16_ShowDebugmsgSnoop(const char *dll,int ord,const char *fname) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* syslevel.c */
|
/* syslevel.c */
|
||||||
extern VOID SYSLEVEL_CheckNotLevel( INT level );
|
extern VOID SYSLEVEL_CheckNotLevel( INT level ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* task.c */
|
/* task.c */
|
||||||
extern void TASK_CreateMainTask(void);
|
extern void TASK_CreateMainTask(void) DECLSPEC_HIDDEN;
|
||||||
extern HTASK16 TASK_SpawnTask( NE_MODULE *pModule, WORD cmdShow,
|
extern HTASK16 TASK_SpawnTask( NE_MODULE *pModule, WORD cmdShow,
|
||||||
LPCSTR cmdline, BYTE len, HANDLE *hThread );
|
LPCSTR cmdline, BYTE len, HANDLE *hThread ) DECLSPEC_HIDDEN;
|
||||||
extern void TASK_ExitTask(void);
|
extern void TASK_ExitTask(void) DECLSPEC_HIDDEN;
|
||||||
extern HTASK16 TASK_GetTaskFromThread( DWORD thread );
|
extern HTASK16 TASK_GetTaskFromThread( DWORD thread ) DECLSPEC_HIDDEN;
|
||||||
extern TDB *TASK_GetCurrent(void);
|
extern TDB *TASK_GetCurrent(void) DECLSPEC_HIDDEN;
|
||||||
extern void TASK_InstallTHHook( THHOOK *pNewThook );
|
extern void TASK_InstallTHHook( THHOOK *pNewThook ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
extern BOOL WOWTHUNK_Init(void);
|
extern BOOL WOWTHUNK_Init(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
extern WORD DOSMEM_0000H;
|
extern WORD DOSMEM_0000H DECLSPEC_HIDDEN;
|
||||||
extern WORD DOSMEM_BiosDataSeg;
|
extern WORD DOSMEM_BiosDataSeg DECLSPEC_HIDDEN;
|
||||||
extern WORD DOSMEM_BiosSysSeg;
|
extern WORD DOSMEM_BiosSysSeg DECLSPEC_HIDDEN;
|
||||||
extern DWORD CallTo16_DataSelector;
|
extern DWORD CallTo16_DataSelector DECLSPEC_HIDDEN;
|
||||||
extern DWORD CallTo16_TebSelector;
|
extern DWORD CallTo16_TebSelector DECLSPEC_HIDDEN;
|
||||||
extern SEGPTR CALL32_CBClient_RetAddr;
|
extern SEGPTR CALL32_CBClient_RetAddr DECLSPEC_HIDDEN;
|
||||||
extern SEGPTR CALL32_CBClientEx_RetAddr;
|
extern SEGPTR CALL32_CBClientEx_RetAddr DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
struct tagSYSLEVEL;
|
struct tagSYSLEVEL;
|
||||||
|
|
||||||
|
|
|
@ -48,50 +48,50 @@ typedef struct {
|
||||||
BOOL Supported;
|
BOOL Supported;
|
||||||
} VGA_MODE;
|
} VGA_MODE;
|
||||||
|
|
||||||
extern const VGA_MODE VGA_modelist[];
|
extern const VGA_MODE VGA_modelist[] DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* all vga modes */
|
/* all vga modes */
|
||||||
const VGA_MODE *VGA_GetModeInfo(WORD mode);
|
const VGA_MODE *VGA_GetModeInfo(WORD mode) DECLSPEC_HIDDEN;
|
||||||
BOOL VGA_SetMode(WORD mode);
|
BOOL VGA_SetMode(WORD mode) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* graphics mode */
|
/* graphics mode */
|
||||||
BOOL VGA_GetMode(unsigned *Height, unsigned *Width, unsigned *Depth);
|
BOOL VGA_GetMode(unsigned *Height, unsigned *Width, unsigned *Depth) DECLSPEC_HIDDEN;
|
||||||
void VGA_SetPalette(PALETTEENTRY*pal,int start,int len);
|
void VGA_SetPalette(PALETTEENTRY*pal,int start,int len) DECLSPEC_HIDDEN;
|
||||||
void VGA_SetColor16(int reg,int color);
|
void VGA_SetColor16(int reg,int color) DECLSPEC_HIDDEN;
|
||||||
char VGA_GetColor16(int reg);
|
char VGA_GetColor16(int reg) DECLSPEC_HIDDEN;
|
||||||
void VGA_Set16Palette(char *Table);
|
void VGA_Set16Palette(char *Table) DECLSPEC_HIDDEN;
|
||||||
void VGA_Get16Palette(char *Table);
|
void VGA_Get16Palette(char *Table) DECLSPEC_HIDDEN;
|
||||||
void VGA_SetWindowStart(int start);
|
void VGA_SetWindowStart(int start) DECLSPEC_HIDDEN;
|
||||||
int VGA_GetWindowStart(void);
|
int VGA_GetWindowStart(void) DECLSPEC_HIDDEN;
|
||||||
void VGA_ShowMouse(BOOL show);
|
void VGA_ShowMouse(BOOL show) DECLSPEC_HIDDEN;
|
||||||
void VGA_UpdatePalette(void);
|
void VGA_UpdatePalette(void) DECLSPEC_HIDDEN;
|
||||||
void VGA_SetPaletteIndex(unsigned index);
|
void VGA_SetPaletteIndex(unsigned index) DECLSPEC_HIDDEN;
|
||||||
void VGA_SetBright(BOOL bright);
|
void VGA_SetBright(BOOL bright) DECLSPEC_HIDDEN;
|
||||||
void VGA_WritePixel(unsigned color, unsigned page, unsigned col, unsigned row);
|
void VGA_WritePixel(unsigned color, unsigned page, unsigned col, unsigned row) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* text mode */
|
/* text mode */
|
||||||
void VGA_InitAlphaMode(unsigned*Xres,unsigned*Yres);
|
void VGA_InitAlphaMode(unsigned*Xres,unsigned*Yres) DECLSPEC_HIDDEN;
|
||||||
void VGA_SetAlphaMode(unsigned Xres,unsigned Yres);
|
void VGA_SetAlphaMode(unsigned Xres,unsigned Yres) DECLSPEC_HIDDEN;
|
||||||
BOOL VGA_GetAlphaMode(unsigned*Xres,unsigned*Yres);
|
BOOL VGA_GetAlphaMode(unsigned*Xres,unsigned*Yres) DECLSPEC_HIDDEN;
|
||||||
void VGA_SetCursorShape(unsigned char start_options,unsigned char end);
|
void VGA_SetCursorShape(unsigned char start_options,unsigned char end) DECLSPEC_HIDDEN;
|
||||||
void VGA_SetCursorPos(unsigned X,unsigned Y);
|
void VGA_SetCursorPos(unsigned X,unsigned Y) DECLSPEC_HIDDEN;
|
||||||
void VGA_GetCursorPos(unsigned*X,unsigned*Y);
|
void VGA_GetCursorPos(unsigned*X,unsigned*Y) DECLSPEC_HIDDEN;
|
||||||
void VGA_WriteChars(unsigned X,unsigned Y,unsigned ch,int attr,int count);
|
void VGA_WriteChars(unsigned X,unsigned Y,unsigned ch,int attr,int count) DECLSPEC_HIDDEN;
|
||||||
void VGA_PutChar(BYTE ascii);
|
void VGA_PutChar(BYTE ascii) DECLSPEC_HIDDEN;
|
||||||
void VGA_ClearText(unsigned row1, unsigned col1,
|
void VGA_ClearText(unsigned row1, unsigned col1,
|
||||||
unsigned row2, unsigned col2,
|
unsigned row2, unsigned col2,
|
||||||
BYTE attr);
|
BYTE attr) DECLSPEC_HIDDEN;
|
||||||
void VGA_ScrollUpText(unsigned row1, unsigned col1,
|
void VGA_ScrollUpText(unsigned row1, unsigned col1,
|
||||||
unsigned row2, unsigned col2,
|
unsigned row2, unsigned col2,
|
||||||
unsigned lines, BYTE attr);
|
unsigned lines, BYTE attr) DECLSPEC_HIDDEN;
|
||||||
void VGA_ScrollDownText(unsigned row1, unsigned col1,
|
void VGA_ScrollDownText(unsigned row1, unsigned col1,
|
||||||
unsigned row2, unsigned col2,
|
unsigned row2, unsigned col2,
|
||||||
unsigned lines, BYTE attr);
|
unsigned lines, BYTE attr) DECLSPEC_HIDDEN;
|
||||||
void VGA_GetCharacterAtCursor(BYTE *ascii, BYTE *attr);
|
void VGA_GetCharacterAtCursor(BYTE *ascii, BYTE *attr) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* control */
|
/* control */
|
||||||
void VGA_ioport_out(WORD port, BYTE val);
|
void VGA_ioport_out(WORD port, BYTE val) DECLSPEC_HIDDEN;
|
||||||
BYTE VGA_ioport_in(WORD port);
|
BYTE VGA_ioport_in(WORD port) DECLSPEC_HIDDEN;
|
||||||
void VGA_Clean(void);
|
void VGA_Clean(void) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif /* __WINE_VGA_H */
|
#endif /* __WINE_VGA_H */
|
||||||
|
|
|
@ -52,8 +52,6 @@ extern void DPMI_PendingEventCheck_Return(void);
|
||||||
extern BYTE __wine_call16_start[];
|
extern BYTE __wine_call16_start[];
|
||||||
extern BYTE __wine_call16_end[];
|
extern BYTE __wine_call16_end[];
|
||||||
|
|
||||||
extern void RELAY16_InitDebugLists(void);
|
|
||||||
|
|
||||||
static SEGPTR call16_ret_addr; /* segptr to __wine_call_to_16_ret routine */
|
static SEGPTR call16_ret_addr; /* segptr to __wine_call_to_16_ret routine */
|
||||||
|
|
||||||
static WORD dpmi_checker_selector;
|
static WORD dpmi_checker_selector;
|
||||||
|
|
Loading…
Reference in New Issue