guestrendering/guestvideodriver/ldd/src/virtualvideohwinterface.cpp
branchbug235_bringup_0
changeset 3 ccf5191a9db1
parent 2 e8ccf068ac7f
child 4 e6f11c873cdf
--- a/guestrendering/guestvideodriver/ldd/src/virtualvideohwinterface.cpp	Wed Aug 25 17:57:53 2010 +0100
+++ b/guestrendering/guestvideodriver/ldd/src/virtualvideohwinterface.cpp	Wed Aug 25 19:17:09 2010 +0100
@@ -263,5 +263,22 @@
         }
     }
 
+// TODO FAISALMEMON This is the first portion of the port of Jani's
+// Dynamic framebuffer base address code.  Inspect this code, and also
+// put in the rest of the code.
+EXPORT_C TPhysAddr  DVirtualVideoHwInterface::GetFrameBase()
+	{
+#ifdef FAISALMEMON_DONE_DYNAMIC_FRAMEBUFFER_PORT 
+	TPhysAddr ret = 0;
+	if(DVirtualVideoHwInterface::pVVHIf != NULL)
+		{
+		ret = DVirtualVideoHwInterface::pVVHIf->iFrameRamPhys;
+		}
+	return ret;
+#else
+	return 0;
+#endif
+}
+
 
 // End of file