From 4f18bac8b0e3a606972e92446e06d6c841bb4960 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Tue, 21 Jan 2020 15:01:42 -0500 Subject: qemu: Make print_version variable accessible Make the print_version global variable accessible so that we can measure the firmware version. Signed-off-by: Stefan Berger Signed-off-by: Alexey Kardashevskiy --- board-qemu/include/version.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 board-qemu/include/version.h diff --git a/board-qemu/include/version.h b/board-qemu/include/version.h new file mode 100644 index 0000000..036d2b5 --- /dev/null +++ b/board-qemu/include/version.h @@ -0,0 +1,19 @@ +/****************************************************************************** + * Copyright (c) 2020 IBM Corporation + * All rights reserved. + * This program and the accompanying materials + * are made available under the terms of the BSD License + * which accompanies this distribution, and is available at + * http://www.opensource.org/licenses/bsd-license.php + * + * Contributors: + * IBM Corporation - initial implementation + *****************************************************************************/ + +#ifndef _SLOF_VERSION_H +#define _SLOF_VERSION_F + +/* slof/version.S */ +extern long print_version; + +#endif -- cgit v1.1