You may use the following macros declared in include/asm-i386/page.h Virtual to physical #define __pa(x) ((unsigned long)(x)-PAGE_OFFSET) Physical to virtual #define __va(x) ((void*)((unsignedlong)(x)+PAGE_OFFSET)) On Fri, 2005-07-15 at 08:50, sri wrote: > Hi guys.. > I am a newbie to kernel .. > I am using a hardware debugger to debug the kernel start-up code for > 2.4.18 kernel for which i have been setting a break point at the > 0xffff0200 address location which i believe is the vector base > address+0x24 (__trap_init+0x24 address location ). > Now i have moved to 2.4.20 kernel for which the > above break point is not working.. I could get the virtual address of > this location from System.map file but not clear how to get the > physical address.. > Can any one show me a way.. Thanks in > advance ! > Regards, > Srikanth -- Eliad -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/