mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Consolidate PSW masks
While at it, rename PSW_SHORT_ADDR_MASK and PSW_ADDRESS_MASK to PSW32_ADDR_MASK. As a side effect this removes the zipl.h dependency of the boot loaders. While at it, Reviewed-by: Philipp Rudo <prudo@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
eb4e806cdc
commit
93a0cb254e
+1
-2
@@ -18,7 +18,6 @@
|
||||
|
||||
#include "stage3.h"
|
||||
#include "error.h"
|
||||
#include "zipl.h"
|
||||
#include "ebcdic.h"
|
||||
#include "ebcdic_conv.h"
|
||||
|
||||
@@ -152,7 +151,7 @@ void start(void)
|
||||
_stage3_parms.load_psw != DEFAULT_PSW_LOAD)
|
||||
panic(ESECUREBOOT, "%s", msg_sipl_inval);
|
||||
|
||||
if (!is_verified_address(_stage3_parms.load_psw & PSW_ADDR_MASK))
|
||||
if (!is_verified_address(_stage3_parms.load_psw & PSW32_ADDR_MASK))
|
||||
panic(ESECUREBOOT, "%s", msg_sipl_unverified);
|
||||
}
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user