X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FDisplay%2FPL110%2Fmain.c;h=094af705741b3060e8492d92d28b190b56c615c3;hb=13078002b01ee4f63eb2001d2ef479a2a006ea32;hp=5f22546c37829a93971719e1780f3b26934ff87e;hpb=f6417c24aede5213c856a78fc21bc3ac7e1becab;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Display/PL110/main.c b/KernelLand/Modules/Display/PL110/main.c index 5f22546c..094af705 100644 --- a/KernelLand/Modules/Display/PL110/main.c +++ b/KernelLand/Modules/Display/PL110/main.c @@ -308,11 +308,11 @@ int PL110_int_SetResolution(int W, int H) gpPL110_IOMem->LCDTiming3 = 0; if( gpPL110_Framebuffer ) { - MM_UnmapHWPages((tVAddr)gpPL110_Framebuffer, (giPL110_FramebufferSize+0xFFF)>>12); + MM_UnmapHWPages(gpPL110_Framebuffer, (giPL110_FramebufferSize+0xFFF)>>12); } giPL110_FramebufferSize = W*H*4; - gpPL110_Framebuffer = (void*)MM_AllocDMA( (giPL110_FramebufferSize+0xFFF)>>12, 32, &gPL110_FramebufferPhys ); + gpPL110_Framebuffer = MM_AllocDMA( (giPL110_FramebufferSize+0xFFF)>>12, 32, &gPL110_FramebufferPhys ); gpPL110_IOMem->LCDUPBase = gPL110_FramebufferPhys; gpPL110_IOMem->LCDLPBase = 0;