Hi,
I must be doing something wrong, but I can't figure out what,
so I am asking here. :-)
I have a mod to HCPBIS which we have used for ages, since
VM/SP-3 (I guess it was probably DMKBIS back then).
The mod changes the CPU serial number field stored as a
result of a guest STIDP instruction, ***under CERTAIN
circumstances***. (Details of when/why not important here)
When we went over to CP exits, I changed my mod to
a much smaller footprint, by just putting a HCPXSERV CALL
in HCPBIS, and the actual code into my own module
(which is CPXLOADed).
This exit is working perfectly in a z/VM 4.4 system, but I am now
having a problem in 5.3. The exit code is loaded:
Q CPXLOAD
LOADED AS IDENTIFIER 1
FILE: POLCMD TXTL0011 A
LOADED BY: OPERATOR ON 11/11/08 AT 11:21:04
CPXLOAD OPTIONS: NODELAY MP LOCK NOCONTROL
TEMPORARY
ASSOCIATED ENTRY POINTS AND EXTERNAL SYMBOLS:
POLCMDEX IS AT 009990B0
POLCMD01 IS AT 009992B8
POLCMD02 IS AT 00999370
POLCMD IS AT 00999000 MODULE SIZE IS 0003F0
The exit is enabled:
Q EXIT ALL
EXIT STATUS CALLS RETURNS SECONDS
F001 ENABLED 0 0 0.000000
EPNAME ATTEMPTS CALLS SECONDS
POLCMD01 0 0 0.000000
But when I do a STIDP, I do not get the altered CPUID.
I am now running VM in a 2nd level machine, with TRACE I
over the entire HCPBIS module, and it seems to never
get control at all. As a result, it obviously never calls the exit
either. I have a trace on POLCMD too, and it also is never triggered.).
(I did do a Display to be sure that my trace addresses
are really on the modules I want - they are)
Just for completness, here is how I test the STIDP, in a
(3rd level, in this case) virtual machine:
CP SYSTEM CLEAR
CP ST 40 B2020F00
CP ST 0 000C0000 00000040
CP SYSTEM RESTART
CP D F00.8
In the past, STIDP was simulated by HCPBIS. Is it
possible that now it is somehow managing to bypass
that simulation? It still knows to put in any CPUID
I set, so something seems to be intervening in the
normal hardware output. I am at a loss... Maybe I am just
looking in the wrong place.
Thank you very much for any help!
Shimon
--
************************************************************************
Shimon Lebowitz mailto:[EMAIL PROTECTED]
VM System Programmer .
Israel Police National HQ.
Jerusalem, Israel phone: +972 2 542-9877 fax: 542-9308
************************************************************************