guestrendering/guestvideodriver/ldd/src/virtualvideohwinterface.cpp
branchbug235_bringup_0
changeset 3 ccf5191a9db1
parent 2 e8ccf068ac7f
child 4 e6f11c873cdf
equal deleted inserted replaced
2:e8ccf068ac7f 3:ccf5191a9db1
   261         {
   261         {
   262         Kern::PanicCurrentThread( KVirtualVideoHwInterfacePanic, KErrNotReady );
   262         Kern::PanicCurrentThread( KVirtualVideoHwInterfacePanic, KErrNotReady );
   263         }
   263         }
   264     }
   264     }
   265 
   265 
       
   266 // TODO FAISALMEMON This is the first portion of the port of Jani's
       
   267 // Dynamic framebuffer base address code.  Inspect this code, and also
       
   268 // put in the rest of the code.
       
   269 EXPORT_C TPhysAddr  DVirtualVideoHwInterface::GetFrameBase()
       
   270 	{
       
   271 #ifdef FAISALMEMON_DONE_DYNAMIC_FRAMEBUFFER_PORT 
       
   272 	TPhysAddr ret = 0;
       
   273 	if(DVirtualVideoHwInterface::pVVHIf != NULL)
       
   274 		{
       
   275 		ret = DVirtualVideoHwInterface::pVVHIf->iFrameRamPhys;
       
   276 		}
       
   277 	return ret;
       
   278 #else
       
   279 	return 0;
       
   280 #endif
       
   281 }
       
   282 
   266 
   283 
   267 // End of file
   284 // End of file