Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Hi,make Nios's machine dependent codes which are very similar for SMP systems.Kazu --- Quote End --- I feel that doing SMP System code for NIOS is a real challenge, as NIOS does not fave atomic instructions. I did some research on how it could be possible to provide a kind of Mutex with custom instructions that could be used to protect instruction sequences to make them atomic. I suppose this is possible and extensible to multiple CPUs, but you do need additional "hardware" to do this and I did not exactly proof that it might work. Do you think this is needed to apply the CONFIG_PREEMPT_RT patch ? -Michael