I haven't used SIGP yet, code 1 would seem to be the simpler option ?
What would code 2 be used for ?
"Set Architecture: The contents of bit positions
56-63 of the parameter register are used as a code
specifying an architectural mode to which all CPUs in
the configuration are to be set: code 0 specifies the
ESA/390 mode, and codes 1 and 2 specify the
Code 1 specifies that, for each
of all CPUs in the configuration, the current ESA/390
PSW is to be transformed to a z/Architecture PSW.
Code 2 specifies that the PSW of the CPU executing
SIGNAL PROCESSOR is to be transformed to a
z/Architecture PSW and that, for each of all other
CPUs in the configuration, the PSW is to be set with
the value of the captured-z/Architecture-PSW register
for that CPU. The setting of the PSW with the
value of the captured-z/Architecture-PSW register
will restore the PSW that existed when the CPU was
last in the z/Architecture mode, provided that the
captured-z/Architecture-PSW register has not been
set to all zeros by a reset.
Post by Harold Grovesteen
The Hercules LPAR will be in the current architecture mode when
instructions start to execute if there has not been an IPL. So, if your
configuration says ARCHMODE ESAME, then you are already in
z/Architecture mode. IPL will actually change the mode to ESA/390 and
in that case you will need to issue a SIGP instruction to subsequently
If you elect to start execution using a restart interrupt, without an
IPL and the system is already in z/Architecture mode, the z/Architecture
restart PSW will be loaded, not the ESA/390 restart PSW that is located
at assigned storage location 0.
Post by Mike Stramba
Doesn't 24/31/64 mode only apply to addresses?
(page 3-6 P.O.O)
I haven't tried IPL'ing in Z/arch mode yet, but from a "cold start",
LG is working (loading 64 bits) .. using 24 bit addressing. 24bit
addressing should (??) work for these miniscule ~20 line programs I'm
Post by Gerhard Postpischil Post by mstramba2000
Do I need to setup some other control regs, or have to IPL, or
some other intialization?
The last time I worked on a z machine, it IPLed in 31-bit mode.
If you're doing a reset or something similar, that might also be
true, so to be on the safe side you should switch to 64 bit mode
before using LG.
Yahoo! Groups Links