This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java memory allocation with gcj


Hi Andrew,

You were right. The memory address I am getting was correct eventhough it is 
a small number compared to the one I got in C. The problem I had was, when I 
read that location it was not giving me the correct data I stored there. The 
problem was the memroy_read function of the simulator was expecting the 
physical address where as I was giving the logical address. When obtained the 
physical address corresponds to this logical address and give it to the 
memory_read function it gives me the correct value. 

Thanks a lot for your help to clarify this.

regards,
Isuru


      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]