coreboot/src
Vadim Bendebury 6f72d6965c Add timestamp collecting to coreboot.
This patch adds code to initialize the time stamp collection
facility in coreboot. It adds a table in the CBMEM section, which
provides the base timer reading value (all other readings are
offsets of this one) and an array of timestamp id/timestamp value
pairs.

Just two values are being added now, this will have to be used
more extensively and also integrated into payloads to provide more
comprehensive boot process time measurements.

Also, since the CBMEM area could already contain a section (from the
previous run, before reset), when processing a section addition
request we should check if a section already exists and return its
address, if so.

Change-Id: I7ed9f5c400bc5432f228348b41fd19a67c36d533
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: http://review.coreboot.org/713
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
2012-03-28 20:43:59 +02:00
..
arch/x86 Makefile: rename linker intermediate variable 2012-03-25 20:23:21 +02:00
boot Move C labels to start-of-line 2012-03-07 17:48:03 +01:00
console move console includes to central console/console.h 2012-03-09 20:31:45 +01:00
cpu Fix possible deadlock on SMP stop_this_cpu 2012-03-25 20:35:26 +02:00
devices printf: Remove some L modifier uses 2012-03-24 15:32:24 +01:00
drivers OXPCIe: Reinitialize UART after pci_dev_set_resources() 2012-03-09 20:32:30 +01:00
ec X60/T60: Add option to enable/disable bluetooth 2012-01-31 18:03:40 +01:00
include Add timestamp collecting to coreboot. 2012-03-28 20:43:59 +02:00
lib Add timestamp collecting to coreboot. 2012-03-28 20:43:59 +02:00
mainboard Add bifferboard 2012-03-27 18:42:31 +02:00
northbridge Add the support for RDC R8610 Northbridge 2012-03-27 18:37:57 +02:00
pc80 vga: removed inclusion of .c files 2012-01-27 20:07:00 +01:00
southbridge Add support for RDC R8610 Southbridge 2012-03-27 18:39:05 +02:00
superio SIO: Add smsc sio1036 superio 2012-02-17 17:19:34 +01:00
vendorcode AGESA family 12 changes to fix torpedo warnings 2012-03-14 00:57:55 +01:00
Kconfig Add a config flag to enable time stamp collection 2012-03-28 20:43:36 +02:00
Kconfig.deprecated_options Unify ID_SECTION_OFFSET and mark it deprecated 2012-01-18 11:21:39 +01:00