Mail Archives: djgpp/1996/11/22/11:30:10
mcarter@ wrote:
>I've got the new DJGPP binaries 2.7 for v2.1 and the assembler now recognizes
>Pentium instructions - great! RDTSC works fine but RDMSR does not. It gets
>encoded as 0x0F,0x32 which is right but I get the following error when it is run:
>>Exiting due to signal SIGILL
>>Invalid Opcode at eip=00001581
I think RDMSR is a privileged instruction, and must be run from ring
0. To use it, either your DPMI host must "simulate" it (not too
likely), or you must use a ring 0 host, e.g. cwsdpr0.
- Raw text -