1 Jun 2004 07:18
Re: init_FIQ
A Matsui <matsui.akira <at> canon.co.jp>
2004-06-01 05:18:39 GMT
2004-06-01 05:18:39 GMT
Thank you for advices. > The 720T is v4T (Architecture version 4 with Thumb extensions) and it > definitely does support high vectors. I understood. > However, looking at your original mail, you have the following: > > | #define FIQ_VECTOR (vectors_base() + 0x1c) > | #define vectors_base() (0) > | static unsigned long no_fiq_insn; I thought 'vectors_base() (0)' was chosen but I found it was wrong and the other one should be chosen as I had advices. #ifdef __ARM_ARCH_4__ #define vectors_base() ((cr_alignment & CR_V) ? 0xffff0000 : 0) #else #define vectors_base() (0) #endif > If your CPU supports high vectors (which it does) then your redefinition > of vectors_base() is the central cause of the problem. Keep the kernels > own definition of this macro - it's correct for all cases. After I've kept the kernels own definition like the above, I tried but the result was not change. I'm reading data sheet of the CPU but I'm not sure that the CPU supports High Vector or not.(Continue reading)
RSS Feed