aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/s390-ccw/s390-ccw.h
diff options
context:
space:
mode:
authorJanosch Frank <frankja@linux.ibm.com>2020-10-06 05:42:48 -0400
committerThomas Huth <thuth@redhat.com>2020-10-06 20:14:17 +0200
commit42ab98e7d71b834f4f8e2471f60b1c737b9543f3 (patch)
tree6c03757b45e9ba06a02fc1436ad93d00f922c239 /pc-bios/s390-ccw/s390-ccw.h
parent26e0b96fa9c303194fe159037d69d9ec30355d07 (diff)
pc-bios: s390x: Use reset PSW if avaliable
If a blob provides a reset PSW then we should use it instead of branching to the PSW address and using our own mask. Signed-off-by: Janosch Frank <frankja@linux.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20201006094249.50640-4-frankja@linux.ibm.com> [thuth: Use Elvis operator to shorten long line] Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'pc-bios/s390-ccw/s390-ccw.h')
-rw-r--r--pc-bios/s390-ccw/s390-ccw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pc-bios/s390-ccw/s390-ccw.h b/pc-bios/s390-ccw/s390-ccw.h
index 9b86c120b4..6cd92669e9 100644
--- a/pc-bios/s390-ccw/s390-ccw.h
+++ b/pc-bios/s390-ccw/s390-ccw.h
@@ -76,6 +76,7 @@ int virtio_read(ulong sector, void *load_addr);
void zipl_load(void);
/* jump2ipl.c */
+void write_reset_psw(uint64_t psw);
void jump_to_IPL_code(uint64_t address);
void jump_to_low_kernel(void);