On 02/14/2014 09:41 AM, Sebastian Huber wrote: > On 2014-02-13 16:50, Fabien Chouteau wrote: >> >> This ASI 0x80 is really defined nowhere in Leon3 not even in the sources :) >> Maybe there's a bug in binutils... Did you try to run this program on a real >> board? > > Yes, I tested it on a NGMP board with a LEON4 processor (documentation is the > same for CAS as in LEON3). >
Alright so we can use the patch as is. > The ASI 0x80 is defined in the SPARC V9 manual, Table 12—Address Space > Identifiers (ASIs). Here we have: > > 0x80, ASI_PRIMARY, Unrestricted access, Primary address space > > So should I change it to use User Data Access? > No I think supervisor data access closer to the definition in Leon3's doc.