Leland Lucius wrote: > > > > A bigger question might be > > why must vmpoff be in upper case?? > > > Well, I reckon cause the book says so, but you're right about what you say > below. The VMPOFF and VMPHALT processing could convert the command to > uppercase since it is a requirement. How about a nice 1 liner to rememdy > that? Please don't! That way you can no longer pass lowercase to Diagnose8.
> > > > I say Leland's translate-to-lower should stay! > > VMPOFF processing could be a lot smarter. > > And this is getting very messy. > > > Ya know, I have to agree with you there. I didn't realize (hadn't tried it > yet) that you had to use DIAG to get the thing to retain mixed case. So, it > really boils down to: > > The Majority Rules > > Since most Linux kernel parmaeters are expected to be in lowercase, I'll > keep the conversion to lower in the patch and not try to get all fancy and > everything. What I did (for the patch we're trying to get incorporated by our Boeblingen friends) is, translating EBCDIC to ASCII with reversed case. That way you get the benefit of having your (by default) uppercased parm string passed lowercase to Linux, and you keep the option open for passing uppercased characters to the kernel. So you would do something like: /* */ Call Diag 8, 'CP IPL LINUX PARM VMPOFF="ipl cms" MEM=64M' Ronald van der Laan
