Changeset 1054 in vbox
- Timestamp:
- Feb 23, 2007 5:42:22 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18930
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDRVShared.c
r1049 r1054 4079 4079 && (uEDX & BIT(27) /*RDTSCP*/)) 4080 4080 { 4081 /** @todo when we get the model / family numbers of barcelona and other amd cores with proper TSC, 4082 * add the appropriate model checks here. */ 4083 return SUPGIPMODE_ASYNC_TSC; 4081 /* Check the power specs for <check the docs what this actually is>. */ 4082 ASMCpuId(0x80000000, &uEAX, &uEBX, &uECX, &uEDX); 4083 if (uEAX < 0x80000007) 4084 return SUPGIPMODE_ASYNC_TSC; 4085 ASMCpuId(0x80000007, &uEAX, &uEBX, &uECX, &uEDX); 4086 if (!(uEDX & BIT(8))) 4087 return SUPGIPMODE_ASYNC_TSC; 4084 4088 } 4085 4089 }
Note:
See TracChangeset
for help on using the changeset viewer.