You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Access to memory mapped registers is Undefined Behavior according to the C standard. #1
I do not follow ZiCog's logic at all. The C standard makes no mention of mmap, or memory mapped registers, and the POSIX standard which defines mmap does not talk about volatile in this context.
Behavior is undefined when the standard states so, or when the code violates a "shall" constraint in the standard. I do not see that here.
Activity
jojopi commentedon Oct 29, 2020
I do not follow ZiCog's logic at all. The C standard makes no mention of mmap, or memory mapped registers, and the POSIX standard which defines mmap does not talk about volatile in this context.
Behavior is undefined when the standard states so, or when the code violates a "shall" constraint in the standard. I do not see that here.