Function 68, subfunction 2 - cache + rdpmc.
Parameters:
- eax = 68 - function number
- ebx = 2 - subfunction number
- ecx = required action:
- ecx = 0 - enable instruction 'rdpmc'
(ReaD Performance-Monitoring Counters) for applications
- ecx = 1 - find out whether cache is disabled/enabled
- ecx = 2 - enable cache
- ecx = 3 - disable cache
Returned value:
- for ecx=0:
- for ecx=1:
- eax = (cr0 and 0x60000000):
- eax = 0 - cache is on
- eax <> 0 - cache is off
- for ecx=2 and ecx=3:
- function does not return value