aboutsummaryrefslogtreecommitdiff
path: root/src/parisc/head.S
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-06-21 17:09:38 +0200
committerHelge Deller <deller@gmx.de>2023-06-21 17:09:38 +0200
commite957f3e22f3d75bfbcf6576af4116b5ebe7fa726 (patch)
tree240d6d09d07b5618bd1bc44813b8902da796e4c6 /src/parisc/head.S
parent5bddafeaf61fa11f4902598e1aeb075968a29a6d (diff)
downloadseabios-hppa-e957f3e22f3d75bfbcf6576af4116b5ebe7fa726.zip
seabios-hppa-e957f3e22f3d75bfbcf6576af4116b5ebe7fa726.tar.gz
seabios-hppa-e957f3e22f3d75bfbcf6576af4116b5ebe7fa726.tar.bz2
parisc: Move SeaBIOS-hppa version string
This allows to include the version number in the binary header of hppa-firmware.img Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'src/parisc/head.S')
-rw-r--r--src/parisc/head.S11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/parisc/head.S b/src/parisc/head.S
index eec378b..891ec9a 100644
--- a/src/parisc/head.S
+++ b/src/parisc/head.S
@@ -1,17 +1,16 @@
/*
* Startup glue code for parisc firmware
*
- * (C) 2017-2021 Helge Deller <deller@gmx.de>
+ * (C) 2017-2023 Helge Deller <deller@gmx.de>
*/
+#include "parisc/hppa.h"
#include "parisc/hppa_hardware.h"
#include "autoconf.h"
#include "autoversion.h"
/* load 32-bit 'value' into 'reg' compensating for the ldil
- * sign-extension when running in wide mode.
- * WARNING!! neither 'value' nor 'reg' can be expressions
- * containing '.'!!!! */
+ * sign-extension when running in wide mode. */
.macro load32 value, reg
ldil L%\value, \reg
ldo R%\value(\reg), \reg
@@ -81,8 +80,8 @@ reset_entry:
b,n startup
marker:
- /* file identification */
- .stringz "PA-RISC/HPPA PDC Firmware (SeaBIOS fork)"
+ /* file identification, useful for strings command on binary file to see version. */
+ .stringz "PA-RISC/HPPA PDC Firmware " SEABIOS_HPPA_VERSION_STR " (SeaBIOS fork)"
.stringz "https://github.com/hdeller/seabios-hppa"
.stringz BUILD_VERSION