Browse Source

[3aserver]:porting 508a34afa4 to 3a2h

Change-Id: I6f436c7ae4e091e3622fe64eb4d2bf9275d38ef0
master
Huang Pei 10 years ago
parent
commit
f56c2529eb
  1. 10
      Targets/Bonito3a2h/Bonito/tgt_machdep.c

10
Targets/Bonito3a2h/Bonito/tgt_machdep.c

@ -1706,14 +1706,8 @@ tgt_machprint()
register_t
tgt_clienttos()
{
return((register_t)(int)PHYS_TO_CACHED(memorysize & ~7) - 64);
/*
#if LS3_HT
return((register_t)(int)PHYS_TO_CACHED(memorysize & ~7) - 64);
#else
return((register_t)(int)PHYS_TO_UNCACHED(memorysize & ~7) - 64);
#endif
*/
extern char start[];
return(register_t)(int)PHYS_TO_CACHED(start - 64);
}
#ifdef HAVE_FLASH

Loading…
Cancel
Save