[GEM Development] AES - the Global array

Cyprian Konador cyprian.konador at gmail.com
Sun Jan 28 11:49:56 PST 2024


Thanks, works fine

Regards
Cyprian

On Sun, 28 Jan 2024 at 20:01, John Elliott wrote:

> You can declare it as extern:
>
> extern UWORD global[G_SIZE];
>
> There are also some macros that may help access particular fields in
> ppdgbind.h:
>
>
> #define AP_VERSION global[0]
> #define AP_COUNT global[1]
> #define AP_ID global[2]
> #define AP_LOPRIVATE global[3]
> #define AP_HIPRIVATE global[4]
> #define AP_LOPNAME global[5]            /* long ptr. to tree base in rsc*/
> #define AP_HIPNAME global[6]
> etc.
>
> Cyprian Konador wrote:
> > Hi Team,
> >
> > I see there https://www.seasip.info/Gem/aes.html that "appl_init"
> > should fill "global" array with some informations like "version",
> > "max_tasks" or "nplanes". But I have no idea how to access that table.
> > Any hints on how to access that array under Pacific C.
> >
> > Many thanks
> >
> > Regard
> > Cyprian
> >
> >
> > _______________________________________________
> > gem-dev mailing list
> > gem-dev at simpits.org
> > http://www.simpits.org/mailman/listinfo/gem-dev
>
> _______________________________________________
> gem-dev mailing list
> gem-dev at simpits.org
> http://www.simpits.org/mailman/listinfo/gem-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.simpits.org/pipermail/gem-dev/attachments/20240128/c5e6e07b/attachment.html>


More information about the gem-dev mailing list