aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/lib/cbfs_and_run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/lib/cbfs_and_run.c')
-rw-r--r--src/arch/x86/lib/cbfs_and_run.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/lib/cbfs_and_run.c b/src/arch/x86/lib/cbfs_and_run.c
index ad36ddc030..53f06ee5d4 100644
--- a/src/arch/x86/lib/cbfs_and_run.c
+++ b/src/arch/x86/lib/cbfs_and_run.c
@@ -20,16 +20,19 @@
#include <console/console.h>
#include <cbfs.h>
#include <arch/stages.h>
+#include <timestamp.h>
static void cbfs_and_run_core(const char *filename, unsigned ebp)
{
u8 *dst;
+ timestamp_add_now(TS_START_COPYRAM);
print_debug("Loading image.\n");
dst = cbfs_load_stage(filename);
if ((void *)dst == (void *) -1)
die("FATAL: Essential component is missing.\n");
+ timestamp_add_now(TS_END_COPYRAM);
print_debug("Jumping to image.\n");
__asm__ volatile (
"movl %%eax, %%ebp\n"