diff -r e8ccf068ac7f -r ccf5191a9db1 guestrendering/guestvideodriver/ldd/src/virtualvideohwinterface.cpp --- 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