Add ddb-kseg0.ld and switch to kseg1 if sizing memory from kseg0
This commit is contained in:
@@ -56,8 +56,12 @@
|
||||
#define K0BASE 0x80000000
|
||||
#ifndef __mips64
|
||||
#define K1BASE 0xA0000000
|
||||
#define K0BASE_ADDR ((char *)K0BASE)
|
||||
#define K1BASE_ADDR ((char *)K1BASE)
|
||||
#else
|
||||
#define K1BASE 0xFFFFFFFFA0000000LL
|
||||
#define K0BASE_ADDR ((char *)0xFFFFFFFF80000000LL)
|
||||
#define K1BASE_ADDR ((char *)K1BASE)
|
||||
#endif
|
||||
|
||||
#define PHYS_TO_K1(a) ((unsigned)(a) | K1BASE)
|
||||
|
Reference in New Issue
Block a user