thanks -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Sam Siegel Sent: Monday, June 18, 2012 1:24 AM To: [email protected] Subject: Re: Storage key explanation
On Sun, Jun 17, 2012 at 7:10 PM, Micheal Butz <[email protected]>wrote: > Hi > > > > I do a MODEST MODE=SUP,KEY=NZERO > > > > > > Later when I want to ACESS Key zero storage I do a SPKA 0 > > > > Later to put things back to where they were > > > > I do L R9,PSATOLD > > SPKA TCBPKF > > > > > > This however causes all sorts of problems > Look again at the POPs for SPKA. The operand is not used as the address from where the new storage protection key is fetched. Instead, bits 56-59 of the second operand form the new storage protection key. > > I am just wondering since the storage key access is determined from bits > 8-11 of the PSW > > > > > What is the purpose of having it in the TCB is it the PSW KEY that the TASK > is dispatched ? > > > > > > > ---------------------------------------------------------------------- > 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
