From: Steve L. <slo...@us...> - 2002-09-17 18:20:04
|
Update of /cvsroot/linux-mips/linux/include/asm-generic In directory usw-pr-cvs1:/tmp/cvs-serv30225/include/asm-generic Added Files: mmu.h Log Message: - consolidate all architectures to use type phys_addr_t for physical addresses. MIPS-only phys_t is gone, replaced with phys_addr_t. - remap_page_range() will "fixup" physaddr's for platforms with 64-bit physaddr support enabled, just as __ioremap() does. --- NEW FILE: mmu.h --- #ifndef _ASM_GENERIC_MMU_H #define _ASM_GENERIC_MMU_H /* * Some cpu's (mips, ppc) have 32-bit virtual address space but * larger (36-bit) physical space. So the include/asm-[*]/mmu.h * have the option of redefining phys_addr_t. Also, fixup_bigphys_addr * can be redefined to "convert" a physaddr represented in 32 bits * to a phys_addr_t. How that's actually done is very platform- * specific, and is a hack no matter how it's done. It's a stop-gap * approach until the day the entire kernel deals with physical * addresses consistently. */ typedef unsigned long phys_addr_t; #define fixup_bigphys_addr(addr, size) do {} while (0) #endif /* _ASM_GENERIC_MMU_H */ |