Skip to content

Commit

Permalink
more cpuid values #21
Browse files Browse the repository at this point in the history
  • Loading branch information
copy committed Dec 20, 2014
1 parent 0159aa7 commit 561f5fe
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/cpu.macro.js
Original file line number Diff line number Diff line change
Expand Up @@ -1981,6 +1981,31 @@ v86.prototype.cpuid = function()
edx = 0x007A7000;
break;

case 4:
// from my local machine
switch(this.reg32s[reg_ecx])
{
case 0:
eax = 0x0c000121;
ebx = 0x01c0003f;
ecx = 0x0000003f;
edx = 0x00000001;
break;
case 1:
eax = 0x0c000122;
ebx = 0x01c0003f;
ecx = 0x0000003f;
edx = 0x00000001;
break
case 2:
eax = 0x0c004143;
ebx = 0x05c0003f;
ecx = 0x00000fff;
edx = 0x00000001;
break;
}
break;

case 0x80000000|0:
// maximum supported extended level
eax = 5;
Expand Down

0 comments on commit 561f5fe

Please sign in to comment.