coreboot/src/include
Werner Zeh 35cceb861c timestamp: Add function to get time since boot
Add a function to retrieve the elapsed time since boot. For that purpose
use the base time in the timestamp table among with the current
timestamp at call time of the function. So more precise the returned
time is the elapsed time since the timestamp was initialized scaled
in microseconds. This was chosen to get a reliable value even on
platforms where the TSC might not be reset on software reset or warm
start.

Change-Id: Ib93ad89078645c0ebe256048cb48f9622c90451f
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/21516
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-09-14 18:12:39 +00:00
..
boot coreboot_tables: specify clear interface for lb_framebuffer() 2017-05-18 15:42:23 +02:00
console usbdebug: Fix init and add support for postcar 2017-09-14 12:26:18 +00:00
cpu cpu/x86/mp_init: remove adjust_cpu_apic_entry() 2017-09-11 01:17:45 +00:00
device device: acpi_name() should take a const struct device 2017-09-14 14:34:27 +00:00
pc80 Port cmos.default handling to C environment bootblock 2017-07-26 19:30:01 +00:00
smp arch/x86: Clean up CONFIG_SMP and MAX_CPUS test 2017-08-19 15:30:51 +00:00
superio
sys src/include: Add guards on all header files 2017-08-01 23:04:15 +00:00
tpm_lite
adainit.h
antirollback.h
assert.h assert: Add new dead_code() macro to assert dead code paths 2017-07-16 23:56:34 +00:00
b64_decode.h
base3.h
bcd.h
boardid.h
boot_device.h
bootblock_common.h
bootmem.h
bootmode.h vboot: Remove get_sw_write_protect_state callback 2017-07-18 23:24:01 +00:00
bootstate.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
cbfs.h
cbmem.h lib/cbmem: provide optional cbmem top initialization hook 2017-08-04 04:29:57 +00:00
compiler.h Move ADDR32() hack to arch/x86 2017-09-05 17:24:46 +00:00
delay.h
edid.h lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00
elog.h driver/intel/wifi: Update wifi wake source in elog 2017-07-28 16:27:18 +00:00
endian.h
fallback.h
fmap.h
gic.h
gpio.h
halt.h
imd.h
inttypes.h
ip_checksum.h
kconfig.h
lib.h
main_decl.h
memlayout.h
memory_info.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
memrange.h src: change coreboot to lowercase 2017-06-07 12:09:15 +02:00
nhlt.h
option.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
program_loading.h
random.h
reg_script.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
region_file.h
reset.h Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02:00
rmodule.h
romstage_handoff.h
rtc.h
rules.h
sar.h
sdram_mode.h
smbios.h SMBIOS: Correct length calculation for empty string table 2017-08-10 15:56:45 +00:00
spd.h
spd_bin.h lib/spd_bin: Use proper I2C addresses 2017-06-29 15:41:02 +00:00
spd_ddr2.h src/include: Add guards on all header files 2017-08-01 23:04:15 +00:00
spi-generic.h drivers/spi/spi_flash: Clean up SPI flash probe 2017-05-19 21:23:11 +02:00
spi_flash.h drivers/spi/spi_flash: Move flash ops to spi_flash_ops structure 2017-05-19 21:23:39 +02:00
stage_cache.h stage_cache: Add rmodule params in metadata 2017-09-08 03:17:52 +00:00
stddef.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
stdlib.h
string.h
swab.h
symbols.h
thread.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
timer.h
timestamp.h timestamp: Add function to get time since boot 2017-09-14 18:12:39 +00:00
tpm.h
trace.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
types.h Reinvent I2C ops 2017-08-18 15:33:45 +00:00
vbe.h Rename __attribute__((packed)) --> __packed 2017-07-13 19:45:59 +00:00
version.h
watchdog.h src/include: add IS_ENABLED() around Kconfig symbol references 2017-07-13 23:55:05 +00:00
wrdd.h