Add missing files from last commit.
This commit is contained in:
parent
9312de19ac
commit
f822488656
89 changed files with 18428 additions and 6383 deletions
13
src/x86_ops_msr.h
Normal file
13
src/x86_ops_msr.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
static int opRDTSC(uint32_t fetchdat)
|
||||
{
|
||||
if (!cpu_hasrdtsc)
|
||||
{
|
||||
pc = oldpc;
|
||||
x86illegal();
|
||||
return 0;
|
||||
}
|
||||
EAX = tsc & 0xffffffff;
|
||||
EDX = tsc >> 32;
|
||||
cycles--;
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in a new issue