Forum Discussion
Altera_Forum
Honored Contributor
20 years agoVolatile... or is it??
Hi there, I just wanted to save you guys some gray hairs when working with pointers to your hardware in a kernel module. I had a module with a volatile struct pointing to the registers of my ...
Altera_Forum
Honored Contributor
20 years agoIf I remember correctly, the volatile keyword does not cause the Nios II compiler to generate code to bypass the cache. That could be the source of your problem. I think there was a thread on this a while ago in the general software forum, you could try searching for it.
Dennis Scott Microtronix Datacom