coreboot/src/include
David Hendricks ec012fea0c timer.h: add mono_time_diff_microseconds()
The current way to get a simple mono_time difference is:
1. Declare a rela_time struct
2. Assign it the value of mono_time_diff(t1, t2)
3. Get microseconds from it using rela_time_in_microseconds().

This patch adds a simpler method. Now one only needs to call
mono_time_diff_microseconds(t1, t2) to obtain the same value which
is produced from the above three steps.

Change-Id: Ibfc9cd211e48e8e60a0a7703bff09cee3250e88b
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/3190
Tested-by: build bot (Jenkins)
2013-05-06 20:49:36 -07:00
..
boot Eliminate use of pointers in coreboot table 2013-04-22 11:57:06 -07:00
console x86: expose console_tx_flush in romstage 2013-03-23 19:36:36 +01:00
cpu BACKPORT: x86: use boot state callbacks to disable rom cache 2013-05-01 14:30:43 -07:00
device exynos5: Re-factor I2C code 2013-04-30 18:09:27 -07:00
pc80 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
smp Clean up #ifs 2012-05-08 00:34:34 +02:00
assert.h We call this cache as ram everywhere, so let's call it the same in Kconfig 2010-08-30 17:53:13 +00:00
bootstate.h BACKPORT: acpi: split resume check and actual resume code 2013-05-01 14:30:00 -07:00
cbfs.h BACKPORT: boot state: rebalance payload load vs actual boot 2013-05-01 14:30:44 -07:00
cbfs_core.h Extend CBFS to support arbitrary ROM source media. 2013-01-30 17:58:32 +01:00
cbmem.h BACKPORT: boot: remove cbmem_post_handling() 2013-05-01 14:30:41 -07:00
delay.h Clean up #ifs 2012-05-08 00:34:34 +02:00
edid.h FUI: reorganize include files 2013-04-25 11:21:55 -07:00
ehci.h Fix usb debug dongle support 2011-10-31 04:06:10 +01:00
elog.h butterfly: Log EC shutdown reason in ELOG 2013-04-16 17:33:53 -07:00
endian.h Extend CBFS to support arbitrary ROM source media. 2013-01-30 17:58:32 +01:00
fallback.h Make set_boot_successful depend on PC80_SYSTEM 2012-11-30 21:33:35 +01:00
gpio.h add gpio.h for generic GPIO-related definitions 2013-02-04 05:38:32 +01:00
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h Add support for the console over Ethernet (through PCI NE2000). 2010-07-16 20:02:09 +00:00
kconfig.h Add config_enabled() from Linux 2012-05-08 00:36:09 +02:00
lib.h x86: Unify arch/io.h and arch/romcc_io.h 2013-03-22 00:00:09 +01:00
memrange.h memrange: add 2 new range_entry routines 2013-03-29 20:11:28 +01:00
reset.h Clean up #ifs 2012-05-08 00:34:34 +02:00
rmodule.h rmodule: add vboot rmodule type 2013-03-22 00:14:50 +01:00
romstage_handoff.h coreboot: dynamic cbmem requirement 2013-03-22 00:13:42 +01:00
sdram_mode.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
smbios.h Extend smbios api to allow runtime change of mainboard serial and version 2012-07-25 14:13:04 +02:00
spd.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
spd_ddr2.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
spi-generic.h spi-generic.h: Adapt include guard 2013-02-11 22:34:17 +01:00
spi_flash.h Whitespace: Replace tab character in license text with two spaces 2013-02-20 23:30:45 +01:00
stddef.h Make ssize_t an actual ssize_t 2013-05-03 14:09:32 -07:00
stdlib.h stdlib: add ALIGN_UP and ALIGN_DOWN macros 2013-03-29 19:54:47 +01:00
string.h BACKPORT: string: Add STRINGIFY macro 2013-05-01 14:29:58 -07:00
swab.h Add macros for 64bit byte order swapping 2011-10-21 14:13:19 +02:00
time.h Revert "exynos5250/snow: deprecate time.h" 2013-05-06 20:49:26 -07:00
timer.h timer.h: add mono_time_diff_microseconds() 2013-05-06 20:49:36 -07:00
timestamp.h timestamp: add vboot check points 2013-03-22 00:14:18 +01:00
trace.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
types.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
uart.h move uartmem_getbaseaddr() to generic uart header 2013-02-19 19:01:29 +01:00
uart8250.h move uartmem_getbaseaddr() to generic uart header 2013-02-19 19:01:29 +01:00
usb_ch9.h USB Debug Port related license header fixes (trivial). 2010-09-23 18:16:46 +00:00
usbdebug.h USBDEBUG: buffer up to 8 bytes 2012-07-26 15:52:00 +02:00
vbe.h Provide support for setting up the framebuffer from EDID 2013-04-24 18:33:20 -07:00
version.h Rename almost all occurences of LinuxBIOS to coreboot. 2008-01-18 15:08:58 +00:00
watchdog.h watchdog.h: Fix compile time error on disabling watchdog handling 2013-03-12 12:06:43 +01:00