kerravon86@yahoo.com.au [hercules-os380]
2018-10-28 15:54:24 UTC
I'm thinking that we can use the top
reserved bit in SVC 120 to represent
LOC=64 rather than LOC=32, so that
we can write 64-bit programs that
run on both MVS/380 and z/OS, and
on z/OS they get normal LOC=ANY
memory while on MVS/380 they have
access to memory above 4 GiB.
An intercept can be written for z/OS
to convert the LOC=64 requests to
IARV64 to get more memory.
A normal LOC=ANY would get memory
between 2 GiB and 4 GiB on MVS/380
if the program is running in AM32/64,
otherwise it would get LOC=31 memory
if running AM31 or LOC=24 memory if
running AM24.
BFN. Paul.
reserved bit in SVC 120 to represent
LOC=64 rather than LOC=32, so that
we can write 64-bit programs that
run on both MVS/380 and z/OS, and
on z/OS they get normal LOC=ANY
memory while on MVS/380 they have
access to memory above 4 GiB.
An intercept can be written for z/OS
to convert the LOC=64 requests to
IARV64 to get more memory.
A normal LOC=ANY would get memory
between 2 GiB and 4 GiB on MVS/380
if the program is running in AM32/64,
otherwise it would get LOC=31 memory
if running AM31 or LOC=24 memory if
running AM24.
BFN. Paul.