Refactor hw timer code to accommodate execution tracing. This CL separates the HW timestamp acquisition into an inline function and provides interface to set the base time (to be retrieved from coreboot table). BUG=chromium-os:20733 TEST=manual . build the new firmaware image . bring up a stumpy with the new image to ChromeOS . examine crossystem reported timer values. Observe that the values start with zero and increase monotonously. Change-Id: I4ede0a55112e061e9d3790f01c8ca41a8539364b Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: http://gerrit.chromium.org/gerrit/8215 Reviewed-by: Stefan Reinauer <reinauer@google.com> 
1 file changed
tree: a6b78caeea134a459e932d22acc6a12603a39373
  1. board/
  2. common/
  3. include/
  4. lib/