[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Changes in entry.S for syscalls (mmu version)




I have question about some changes made in arch/microblaze/kernel/entry.S  in the latest development tree for the MMU version.

 I checked out the development tree and then updated our local copy to get the latest fixes/changes.   I got the kernel up and running, however I was having problems talking to the RTC over the I2C bus.  

After some debugging I realized that interrupts were disabled during system calls because the BIP was set.   I compared the original system call hander in entry_mmu.S to the lastest and saw that the newer code used a "rtid r12,0" to make the system call instead of the previous "rtbd r12,0"

I changed it back to "rtbd r12,0" which clears the BIP during the system call and the RTC now works.  

SO , should this change be made in the developement tree or is there a different fix available ?.

Nick DeGilio
Kodak -  Entertainment Imaging