I'm doing some experiments to linux kernel. I built goldfish-kernel and android-emulator as my platform.
Now I want to develop a test driver, which draw point on emulator's display. I was trying to use ioremap as follow: void* fb_base; fb_base = ioremap(FB_PHYSICAL_ADDR, SIZE); writel(0x00ff0000, fb_base); // draw a point on framebuffer However, I can't find the physical address defined by android emulator, which*FB_PHYSICAL_ADDR* should be. I have searched the framebuffer driver of goldfish (kernel_src_root/drivers/video/goldfishfb.c) and android_emulator source code (android/external/qemu/) but in vain. Please tell me where is the physical address/io memory defined in qemu, or any methods help me to obtain the physical address in qemu/android-emulator. Thanks for any suggestions. -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.