summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-09-18 19:44:52 +0300
committerAlon Levy <alevy@redhat.com>2011-09-18 19:44:52 +0300
commitff75c1233e3acf48dadd976170ceb8dc820d3ef6 (patch)
treec5b194c79b39c87140f0b4dc140838966f217c29
parent3ca826cce277ca6c52aad4175aa96b283825ad25 (diff)
display: UpdateArea: improve debug messages
-rwxr-xr-xbuild.bat22
-rw-r--r--display/res.c4
2 files changed, 24 insertions, 2 deletions
diff --git a/build.bat b/build.bat
new file mode 100755
index 0000000..6e579b1
--- /dev/null
+++ b/build.bat
@@ -0,0 +1,22 @@
+@echo off
+
+Rem
+Rem Build and copy to target based on environment variables set by WinDDK\bin\setenv.
+Rem
+
+Rem Just use %BUILD_ALT_DIR%, it is equivalent
+Rem set TARGET=%DDK_TARGET_OS%_%_BUILDARCH%_%BUILD_TYPE%
+set TARGET=install_%BUILD_ALT_DIR%
+echo TARGET=%TARGET%
+if not exist %TARGET% mkdir %TARGET%
+
+cd miniport
+build -cZg
+cd ../display
+build -cZg
+cd ../
+copy display\obj%BUILD_ALT_DIR%\i386\qxldd.dll %TARGET%
+copy miniport\obj%BUILD_ALT_DIR%\i386\qxl.sys %TARGET%
+copy miniport\qxl.inf %TARGET%
+copy display\obj%BUILD_ALT_DIR%\i386\qxldd.pdb %TARGET%
+copy miniport\obj%BUILD_ALT_DIR%\i386\qxl.pdb %TARGET%
diff --git a/display/res.c b/display/res.c
index f7c0a58..e9c301e 100644
--- a/display/res.c
+++ b/display/res.c
@@ -2534,7 +2534,7 @@ void UpdateArea(PDev *pdev, RECTL *area, UINT32 surface_id)
QXLOutput *output;
QXLUpdateCmd *updat_cmd;
- DEBUG_PRINT((pdev, 12, "%s\n", __FUNCTION__));
+ DEBUG_PRINT((pdev, 12, "%s UPDATE_CMD\n", __FUNCTION__));
output = (QXLOutput *)AllocMem(pdev, sizeof(QXLOutput) + sizeof(QXLUpdateCmd));
RESOURCE_TYPE(output, RESOURCE_TYPE_UPDATE);
@@ -2575,7 +2575,7 @@ void UpdateArea(PDev *pdev, RECTL *area, UINT32 surface_id)
void UpdateArea(PDev *pdev, RECTL *area, UINT32 surface_id)
{
- DEBUG_PRINT((pdev, 12, "%s\n", __FUNCTION__));
+ DEBUG_PRINT((pdev, 12, "%s IO\n", __FUNCTION__));
CopyRect(pdev->update_area, area);
*pdev->update_surface = surface_id;
async_io(pdev, ASYNCABLE_UPDATE_AREA, 0);