Update of /cvsroot/linux-mips/linux/include/asm-mips64
In directory usw-pr-cvs1:/tmp/cvs-serv30225/include/asm-mips64
Modified Files:
bootinfo.h types.h
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 __MMU_H
#define __MMU_H
#include <asm-generic/mmu.h>
/* Default "unsigned long" context */
typedef unsigned long mm_context_t;
#endif
Index: bootinfo.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/include/asm-mips64/bootinfo.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- bootinfo.h 30 May 2002 20:42:15 -0000 1.11
+++ bootinfo.h 17 Sep 2002 18:20:01 -0000 1.12
@@ -182,14 +182,14 @@
struct boot_mem_map {
int nr_map;
struct {
- phys_t addr; /* start of memory segment */
- phys_t size; /* size of memory segment */
+ phys_addr_t addr; /* start of memory segment */
+ phys_addr_t size; /* size of memory segment */
long type; /* type of memory segment */
} map[BOOT_MEM_MAP_MAX];
};
extern struct boot_mem_map boot_mem_map;
-extern void add_memory_region(phys_t start, phys_t size, long type);
+extern void add_memory_region(phys_addr_t start, phys_addr_t size, long type);
#endif /* _ASM_BOOTINFO_H */
Index: types.h
===================================================================
RCS file: /cvsroot/linux-mips/linux/include/asm-mips64/types.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- types.h 12 Feb 2002 18:14:20 -0000 1.2
+++ types.h 17 Sep 2002 18:20:01 -0000 1.3
@@ -72,8 +72,6 @@
typedef u64 dma_addr_t;
typedef u64 dma64_addr_t;
-typedef unsigned long phys_t;
-
#endif /* __KERNEL__ */
#endif /* _ASM_TYPES_H */
|