3 ms·
Volatile also tempts you to break the aliasing rules. If you find yourself casting pointers, you are probably violating the C standard. You'll need something li
by burfog 11y ago
Volatile also tempts you to break the aliasing rules. If you find yourself casting pointers, you are probably violating the C standard. You'll need something like -fno-strict-aliasing to enable a non-standard C dialect.
- Avernar 11y agoWhy would you need to alias pointers for MMIO? There's one pointer to a struct that defines all your IO registers for that memory range.