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
+2
-2
@@ -87,7 +87,7 @@ boot_get_stage3_parms(void **buffer, size_t *bytecount, address_t parm_addr,
|
||||
struct stage3_parms params;
|
||||
void* data;
|
||||
|
||||
if (entry != (entry & PSW_ADDRESS_MASK)) {
|
||||
if (entry != (entry & PSW32_ADDR_MASK)) {
|
||||
error_reason("Kernel image entry point to high (31 bit "
|
||||
"addressing mode)");
|
||||
return -1;
|
||||
@@ -238,7 +238,7 @@ boot_get_tape_ipl(void** data, size_t* size, address_t parm_addr,
|
||||
struct boot_tape_ipl_params params;
|
||||
void* buffer;
|
||||
|
||||
if (image_addr != (image_addr & PSW_ADDRESS_MASK)) {
|
||||
if (image_addr != (image_addr & PSW32_ADDR_MASK)) {
|
||||
error_reason("Kernel image load address to high (31 bit "
|
||||
"addressing mode)");
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user