Author: tkreuzer
Date: Sat Jul 5 17:41:14 2008
New Revision: 34313
URL:
http://svn.reactos.org/svn/reactos?rev=34313&view=rev
Log:
fix vgaddi by linking to libcntpr to resolve crt imports and include ioaccess.h to avoid
hal imports,
should fix bug 2073
See issue #2073 for more details.
Modified:
trunk/reactos/drivers/video/displays/vga/vgaddi.h
trunk/reactos/drivers/video/displays/vga/vgaddi.rbuild
Modified: trunk/reactos/drivers/video/displays/vga/vgaddi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/displays/vga…
==============================================================================
--- trunk/reactos/drivers/video/displays/vga/vgaddi.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/displays/vga/vgaddi.h [iso-8859-1] Sat Jul 5 17:41:14
2008
@@ -10,6 +10,7 @@
#include <winddi.h>
#include <winioctl.h>
#include <ntddvdeo.h>
+#include <ioaccess.h>
#include "vgavideo/vgavideo.h"
#include "objects/brush.h"
@@ -30,10 +31,6 @@
#define DDKCDECLAPI __cdecl
ULONG DbgPrint(PCCH Format,...);
-VOID DDKAPI WRITE_PORT_UCHAR(IN PUCHAR Port, IN UCHAR Value);
-VOID DDKAPI WRITE_PORT_USHORT(IN PUSHORT Port, IN USHORT Value);
-VOID DDKAPI WRITE_REGISTER_UCHAR(IN PUCHAR Register, IN UCHAR Value);
-UCHAR DDKAPI READ_REGISTER_UCHAR(IN PUCHAR Register);
static __inline BOOLEAN
RemoveEntryList(
Modified: trunk/reactos/drivers/video/displays/vga/vgaddi.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/displays/vga…
==============================================================================
--- trunk/reactos/drivers/video/displays/vga/vgaddi.rbuild [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/displays/vga/vgaddi.rbuild [iso-8859-1] Sat Jul 5
17:41:14 2008
@@ -3,8 +3,7 @@
<module name="vgaddi" type="kernelmodedll"
entrypoint="DrvEnableDriver@12" installbase="system32"
installname="vgaddi.dll">
<importlibrary definition="vgaddi.def" />
<include base="vgaddi">.</include>
- <library>ntoskrnl</library>
- <library>hal</library>
+ <library>libcntpr</library>
<library>win32k</library>
<directory name="main">
<file>enable.c</file>