Merge "Revert "Change LibartImgDeviceBaseAddress to 0x60000000""
This commit is contained in:
commit
ab033dc684
1 changed files with 10 additions and 1 deletions
|
@ -660,7 +660,16 @@ func (c *config) LibartImgHostBaseAddress() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *config) LibartImgDeviceBaseAddress() string {
|
func (c *config) LibartImgDeviceBaseAddress() string {
|
||||||
return "0x60000000"
|
archType := Common
|
||||||
|
if len(c.Targets[Device]) > 0 {
|
||||||
|
archType = c.Targets[Device][0].Arch.ArchType
|
||||||
|
}
|
||||||
|
switch archType {
|
||||||
|
default:
|
||||||
|
return "0x70000000"
|
||||||
|
case Mips, Mips64:
|
||||||
|
return "0x5C000000"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *config) ArtUseReadBarrier() bool {
|
func (c *config) ArtUseReadBarrier() bool {
|
||||||
|
|
Loading…
Reference in a new issue