aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2024-01-14 18:53:50 +0100
committerHelge Deller <deller@gmx.de>2024-01-14 18:53:50 +0100
commitc05d6dd9d950afbd758e2a6708e3a5ec8e8f8a13 (patch)
treebdc98859e0b136aabc4b89f898eeeb7fb78f471e
parent4fe73e002958641d074ca4d9380c3294f1d51354 (diff)
downloadseabios-hppa-c05d6dd9d950afbd758e2a6708e3a5ec8e8f8a13.zip
seabios-hppa-c05d6dd9d950afbd758e2a6708e3a5ec8e8f8a13.tar.gz
seabios-hppa-c05d6dd9d950afbd758e2a6708e3a5ec8e8f8a13.tar.bz2
really fix 32-bit kernel entry point
-rw-r--r--src/parisc/head.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parisc/head.S b/src/parisc/head.S
index d97ea4b..952f85c 100644
--- a/src/parisc/head.S
+++ b/src/parisc/head.S
@@ -281,7 +281,12 @@ END(startup)
/*******************************************************/
ENTRY(start_kernel)
+#ifdef CONFIG_64BIT
bv,n 0(%r22)
+#else
+ ldw -0x34(%sp),%r1
+ bv,n 0(%r1)
+#endif
END(start_kernel)
/*******************************************************