GPR 0 is used to pass the address of the WSA.

If youre writing a prolog for a Metal C program, you dont need to worry
about the size of the WSA unless you plan to do  something with it. The
Metal C program should call the WSA init and term upon entry and exit on
its own.

Joe

On Thu, Dec 24, 2020 at 8:39 AM Joseph Reichman <[email protected]>
wrote:

> I’m writing a prolog for a metal C program
> I noticed that after the prolog code
> Registers 0 is stored in #WSA_1 seems like storage has to be allocated for
> it ( writable static area ) in addition to the dynamic storage ( register
> save + auto variables )
>
>
> > On Dec 24, 2020, at 9:32 AM, Peter Relson <[email protected]> wrote:
> >
> > I think of the writeable static area as an area that LE instantiates on
> > your behalf.
> > As far as I know, there is no interface provided by which you can do
> this.
> >
> > If LE is going to do this for you, using loader services that rely on
> > information within the program object itself (and there is such
> > information), how is knowing the size of the area of help to you?
> >
> > Peter Relson
> > z/OS Core Technology Design
> >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to