[SLOF] [PATCH v7 3/8] qemu: Make print_version variable accessible
Stefan Berger
stefanb at linux.ibm.com
Wed Jan 22 07:01:42 AEDT 2020
Make the print_version global variable accessible so that
we can measure the firmware version.
Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>
---
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
--
2.24.1
More information about the SLOF
mailing list