Use ABI to determine bus_addr_t for cnMIPS.
This commit is contained in:
parent
4f32220bf6
commit
fff491331e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user