Pregunta de entrevista de NVIDIA

How do you keep hardware registers from being cached?

Respuestas de entrevistas

Anónimo

5 may 2017

Use the volatile keyword when memory mapping the hardware register to a variable. This way software always 'sees' the unchached value of the register.

1

Anónimo

12 sept 2014

There is a map register that excludes some memory regions.

1