mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:23:05 +00:00
Implemented VideoPortDebugPrint()
svn path=/trunk/; revision=1083
This commit is contained in:
parent
bd02ee978f
commit
d4fc70afdc
4 changed files with 20 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: vidport.c,v 1.12 2000/03/17 21:02:58 jfilby Exp $
|
/* $Id: vidport.c,v 1.13 2000/03/19 13:31:36 ekohl Exp $
|
||||||
*
|
*
|
||||||
* VideoPort driver
|
* VideoPort driver
|
||||||
* Written by Rex Jolliff
|
* Written by Rex Jolliff
|
||||||
|
@ -53,12 +53,22 @@ VideoPortCompareMemory(IN PVOID Source1,
|
||||||
return RtlCompareMemory(Source1, Source2, Length);
|
return RtlCompareMemory(Source1, Source2, Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
VideoPortDebugPrint(IN ULONG DebugPrintLevel,
|
||||||
VideoPortDebugPrint(IN ULONG DebugPrintLevel,
|
|
||||||
IN PCHAR DebugMessage, ...)
|
IN PCHAR DebugMessage, ...)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
char Buffer[256];
|
||||||
|
va_list ap;
|
||||||
|
|
||||||
|
/*
|
||||||
|
if (DebugPrintLevel > InternalDebugLevel)
|
||||||
|
return;
|
||||||
|
*/
|
||||||
|
va_start (ap, DebugMessage);
|
||||||
|
vsprintf (Buffer, DebugMessage, ap);
|
||||||
|
va_end (ap);
|
||||||
|
|
||||||
|
DbgPrint (Buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
VP_STATUS
|
VP_STATUS
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
; $Id: vidport.def,v 1.2 1999/10/28 06:58:05 rex Exp $
|
; $Id: vidport.def,v 1.3 2000/03/19 13:31:37 ekohl Exp $
|
||||||
;
|
;
|
||||||
; vidport.def - export definition file for ReactOS
|
; vidport.def - export definition file for ReactOS
|
||||||
;
|
;
|
||||||
EXPORTS
|
EXPORTS
|
||||||
VideoPortCompareMemory@12
|
VideoPortCompareMemory@12
|
||||||
VideoPortDebugPrint@0
|
VideoPortDebugPrint
|
||||||
VideoPortDisableInterrupt@4
|
VideoPortDisableInterrupt@4
|
||||||
VideoPortEnableInterrupt@4
|
VideoPortEnableInterrupt@4
|
||||||
VideoPortFreeDeviceBase@8
|
VideoPortFreeDeviceBase@8
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
; $Id: vidport.edf,v 1.1 1999/10/28 23:35:34 rex Exp $
|
; $Id: vidport.edf,v 1.2 2000/03/19 13:31:37 ekohl Exp $
|
||||||
;
|
;
|
||||||
; vidport.def - export definition file for ReactOS
|
; vidport.def - export definition file for ReactOS
|
||||||
;
|
;
|
||||||
EXPORTS
|
EXPORTS
|
||||||
VideoPortCompareMemory=VideoPortCompareMemory@12
|
VideoPortCompareMemory=VideoPortCompareMemory@12
|
||||||
VideoPortDebugPrint=VideoPortDebugPrint@0
|
VideoPortDebugPrint
|
||||||
VideoPortDisableInterrupt=VideoPortDisableInterrupt@4
|
VideoPortDisableInterrupt=VideoPortDisableInterrupt@4
|
||||||
VideoPortEnableInterrupt=VideoPortEnableInterrupt@4
|
VideoPortEnableInterrupt=VideoPortEnableInterrupt@4
|
||||||
VideoPortFreeDeviceBase=VideoPortFreeDeviceBase@8
|
VideoPortFreeDeviceBase=VideoPortFreeDeviceBase@8
|
||||||
|
|
|
@ -306,7 +306,7 @@ typedef struct _VIDEO_SHARE_MEMORY
|
||||||
} VIDEO_SHARE_MEMORY, *PVIDEO_SHARE_MEMORY;
|
} VIDEO_SHARE_MEMORY, *PVIDEO_SHARE_MEMORY;
|
||||||
|
|
||||||
ULONG STDCALL VideoPortCompareMemory(IN PVOID Source1, IN PVOID Source2, IN ULONG Length);
|
ULONG STDCALL VideoPortCompareMemory(IN PVOID Source1, IN PVOID Source2, IN ULONG Length);
|
||||||
VOID STDCALL VideoPortDebugPrint(IN ULONG DebugPrintLevel, IN PCHAR DebugMessage, ...);
|
VOID VideoPortDebugPrint(IN ULONG DebugPrintLevel, IN PCHAR DebugMessage, ...);
|
||||||
VP_STATUS STDCALL VideoPortDisableInterrupt(IN PVOID HwDeviceExtension);
|
VP_STATUS STDCALL VideoPortDisableInterrupt(IN PVOID HwDeviceExtension);
|
||||||
VP_STATUS STDCALL VideoPortEnableInterrupt(IN PVOID HwDeviceExtension);
|
VP_STATUS STDCALL VideoPortEnableInterrupt(IN PVOID HwDeviceExtension);
|
||||||
VOID STDCALL VideoPortFreeDeviceBase(IN PVOID HwDeviceExtension, IN PVOID MappedAddress);
|
VOID STDCALL VideoPortFreeDeviceBase(IN PVOID HwDeviceExtension, IN PVOID MappedAddress);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue