reintroduce *notsc= option

the issues with the previous tsc change where not related to the tsc
but where problems with timesync using an old frequency file. a
patch to fix timesync was commited, so so we reintroduce the *notsc=
again.
This commit is contained in:
cinap_lenrek 2013-06-25 20:32:43 +02:00
parent c01833286b
commit cf38ab75fc
3 changed files with 5 additions and 2 deletions

View file

@ -730,6 +730,9 @@ processors.
Prints a summary of the multiprocessor APIC interrupt configuration.
.SS \fL*nomsi=\fP
Disables message signaled interrupts.
.SS \fL*notsc=\fP
Disables the use of the per processor timestamp counter registers
as high resolution clock.
.SS \fL*pcimaxbno=value\fP
This puts a limit on the maximum bus number probed
on a PCI bus (default 7).

View file

@ -519,7 +519,7 @@ identify(void)
return 1;
if((cp = getconf("*nomp")) != nil && strcmp(cp, "0") != 0)
return 1;
if(m->havetsc)
if(m->havetsc && getconf("*notsc") == nil)
archacpi.fastclock = tscticks;
return 0;
}

View file

@ -395,7 +395,7 @@ identify(void)
return 1;
}
if(m->havetsc)
if(m->havetsc && getconf("*notsc") == nil)
archmp.fastclock = tscticks;
return 0;