doc: update timer HLD doc after modularization

Replace rdstc() and get_tsc_khz() with their architectural agnostic
counterparts cpu_ticks() and cpu_tickrate().

Tracked-On: #5920
Signed-off-by: Yi Liang <yi.liang@intel.com>
This commit is contained in:
Liang Yi
2021-05-31 11:10:02 +08:00
committed by David Kinder
parent 42dc49902b
commit 400d31916a
3 changed files with 16 additions and 9 deletions

View File

@@ -34,6 +34,9 @@ uint32_t get_tsc_khz(void);
/**
* @brief Calibrate Time Stamp Counter (TSC) frequency.
*
* @remark Generic time related routines, e.g., cpu_tickrate(), us_to_ticks(),
* udelay(), etc., relies on this function being called earlier during system initialization.
*
* @return None
*/
void calibrate_tsc(void);