Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Linux on PowerPC: How to use timer interrupt?
Nowadays I try to use PowerPC in Linux. I am porting some codes which were implemented for ARM core. In this code, it can set timer interrupt with micro time unit. In order to this, it uses OSCR, OSMR1, OIER registers, which exists in pxa270 Processor (ARM core)
Actually, I want to implement this function on PowerPC, but I think PowerPC doesn't provide registers for configuring timer interrupt.
The board which I use is GE Faunc VG5, and its mircoprocessor is PowerPC MPC7455. I read MPC7455 Manual, but I cannot find the register related to timer interrupt. There is only timer count clock register. (TBU and TBL)
So, what is the method of implementing timer interrupt in PowerPC?
If I want to make an interrupt after 200us, how can I implement it in Linux on PowerPC?
Please, if there are any one who knows well, let me know the method!
Have a good day!
0 · ·