History log of /vbox/src/VBox/HostDrivers/Support/SUPLibAll.cpp
Revision Date Author Comments Expand
b4b911e46c81fcc3d1d4a69194eb9eb24434c8bb 55246 14-Apr-2015 vboxsync

SUPReadTscWithDelta: Apply the delta correctly.

0d0308f0a98d26e675839988d638c01eda024cb3 54335 20-Feb-2015 vboxsync

space.

fee7c70eb9714106e3d800fef357089758be39bf 54308 19-Feb-2015 vboxsync

VMM,SUP: Apply the tsc delta where it matters. Made sense out of the paravirt-tsc-mode enable/disable code.

597a6046b788f6fe31249596d13f14b17df79ad0 54259 18-Feb-2015 vboxsync

(C) year.

217dee2b0c11487751cb3ab57152d88a15fab20a 54257 18-Feb-2015 vboxsync

SUPReadTscWithDelta: Optimized via fGetGipCpu and more.

17b2cb8e3b230499965d868e7946db24398a17d7 54226 16-Feb-2015 vboxsync

grr

44343529c189705249ab88c40c202a2c581d82b5 54225 16-Feb-2015 vboxsync

copy & past...

86a00a5efe7fdc9725f2076050b996e205259cd6 54224 16-Feb-2015 vboxsync

SUP,IPRT: Started as a build fix ended up as a cleanup (mostly untested as I'm windows). We'll keep SUP_IOCTL_TSC_READ for the purpose of dealing with the i64TSCDelta == INT64_MAX in SUPReadTsc/SUPReadTscWithDelta. Moved the excessive inline code from sup.h to SUPLibAll.cpp (new file) and SUPDrv.c (apply delta). Don't bother too much about trying to share code between SUPLibAll.cpp and SUPDrv.c/++ as the SUPReadTsc[WithDelta] scenario does not care about knowing when things goes bad, it just needs a TSC that is as good as we can get. The SUPDrv.c code on the other hand probably needs other kind of status codes, assertions and whatnot to be better off with its own version of the code. Remove the now unused assembly macro for applying the delta - the way the delta is applied will not change, period, so better just document it instead.