equal
deleted
inserted
replaced
1741 |
1741 |
1742 #ifdef GRAPHICS_SURFACEMANAGER_SYBORG |
1742 #ifdef GRAPHICS_SURFACEMANAGER_SYBORG |
1743 TInt DSurfaceManager::CreateMemory() |
1743 TInt DSurfaceManager::CreateMemory() |
1744 { |
1744 { |
1745 Kern::Printf("DSurfaceManager::CreateMemory()>"); |
1745 Kern::Printf("DSurfaceManager::CreateMemory()>"); |
1746 TUint32 physicalAddress = DVirtualVideoHwInterface::GetFrameBase(); |
1746 TUint32 physicalAddress = DVirtualVideoHwInterface::GetSurfaceBufferBase(); |
1747 Kern::Printf("DSurfaceManager::CreateMemory: 0x%08x",physicalAddress); |
1747 Kern::Printf("DSurfaceManager::CreateMemory: 0x%08x",physicalAddress); |
1748 if( physicalAddress != 0 ) |
1748 if( physicalAddress != 0 ) |
1749 { |
1749 { |
1750 iVHWMemoryManager = new DVirtualHWMemoryManager( physicalAddress, VVI_FRAMEBUFFER_MEMORY_SIZE ); |
1750 iVHWMemoryManager = new DVirtualHWMemoryManager( physicalAddress, VVI_SURFACEBUFFER_MEMORY_SIZE ); |
1751 Kern::Printf("DSurfaceManager::CreateMemory: iVHWMemoryManager: 0x%08x",iVHWMemoryManager); |
1751 Kern::Printf("DSurfaceManager::CreateMemory: iVHWMemoryManager: 0x%08x",iVHWMemoryManager); |
1752 } |
1752 } |
1753 else |
1753 else |
1754 { |
1754 { |
1755 iVHWMemoryManager = NULL; |
1755 iVHWMemoryManager = NULL; |