flat assembler
Message board for the users of flat assembler.
Index
> Windows > What is blocking the INVD (invalidate cache) under Windows |
Author |
|
revolution 27 Jan 2015, 01:29
TFM wrote: The INVD instruction is a privileged instruction. When the processor is running in protected mode, the CPL of a |
|||
27 Jan 2015, 01:29 |
|
StrenoJr 27 Jan 2015, 06:45
revolution wrote:
|
|||
27 Jan 2015, 06:45 |
|
revolution 27 Jan 2015, 07:00
What is means is that you have to be running at the highest privilege level to execute INVD. So in Windows you have to have your code as part of the kernel or as a driver that runs in ring 0. No user application can execute the instruction because user applications run in ring 3.
|
|||
27 Jan 2015, 07:00 |
|
DOS386 30 Jan 2015, 10:35
You will soon find out that many other privileged and sensitive instructions don't work either (access to CRx & DRx , CLI , LIDT , IN , OUT , RDMSR , WRMSR , ...).
> The question is: What is blocking that instruction? The protected mode. |
|||
30 Jan 2015, 10:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.