Synchronize the TSCs of all CPUs early in the boot process, so system_time()

will return consistent values. This helps with debug measurements for the time
being. Obviously we'll have to think of something different when we support
speed-stepping on models with frequency-dependent TSCs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30287 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-04-21 00:38:11 +00:00
parent 8c5cccce46
commit 8b3b05cbf9
2 changed files with 24 additions and 0 deletions
@@ -22,6 +22,7 @@
// MSR registers (possibly Intel specific)
#define IA32_MSR_TSC 0x10
#define IA32_MSR_APIC_BASE 0x1b
#define IA32_MSR_MTRR_CAPABILITIES 0xfe