Use ABI to determine bus_addr_t for cnMIPS.

This commit is contained in:
Juli Mallett 2012-03-10 07:54:41 +00:00
parent 4f32220bf6
commit fff491331e

View File

@ -35,7 +35,7 @@
* Bus address and size types
*/
#include "opt_cputype.h"
#if !(defined(CPU_CNMIPS) && defined(ISA_MIPS32))
#if defined(CPU_CNMIPS) && !defined(__mips_n64)
typedef uintptr_t bus_addr_t;
#else
typedef uint64_t bus_addr_t;