B From:	MERC::"uunet!WKUVX1.BITNET!MacroMan" 21-APR-1993 00:24:16.53 To:	MACRO32@WKUVX1.BITNET  CC:	) Subj:	Re: $FAO - safe to use above IPL 2?   E In article <1993Apr19.183851.1856@cmkrnl.com>, jeh@cmkrnl.com writes: : > In article <01GX6X5WLLHE8WW38R@MONMOUTH-etdl1.Army.MIL>,I > "Brian J. Schenkenberger, VAXman"<SCHENKENBERG@Monmouth-ETDL1.Army.MIL>   writes:$ >> Jamie.  I did look it up, in SDA. >>@ >> Looks like all the code is in pageable memory.  EXE$FAO is inC >> MESSAGE_ROUTINES, the MESSAGE_ROUTINES' LDRIMG$L_PAGE_R_BASE has 9 >> an address defined, LDRIMG$L_PAGE_W_BASE is zero.  :-(  >>E >>>(I suppose I could always check S0_PAGING before calling $FAO....)  >> Yep!  > H > Hmmm.  I suppose I could always send a special kernel AST to a process< > (*any* process) to do the $FAO at IPL 2, then report back! >  > Nyyahh...  >  >       --- jeh   F Brian sent me e-mail to ask how in the world I was going to get an AST+ delivered anywhere while I'm at fork level.   M Er, well, ah, you see, I'd have the AST report back with the formatted buffer  LATER!  Yeah, that's it!  J Of course the SKAST could simply send the formatted string to the mailbox.  F What I ended up doing is better:  The driver simply sends the "binary"E parameter values and the $FAO control string through the mailbox. The L process-level code constructs a descriptor for the control string and pointsO $FAOL's fourth argument at the list of parameter values.  Simple. I'll post the  code in a few hours.  L (Since the process side is running in C, someone is sure to ask why I didn'tL use sprintf().  Two reasons.  One, $FAOL is far faster; and two, sprintf hasM no easy way to let me point at an existing parameter list, I'd have to cobble  up the argument list by hand.)  =         --- Jamie Hanrahan, Kernel Mode Systems, San Diego CA O drivers, internals, networks, applications, and training for VMS and Windows NT M uucp 'g' protocol guru and release coordinator, VMSnet (DECUS uucp) W.G., and J Chair, Programming and Internals Working Group, U.S. DECUS VMS Systems SIGB Internet:  jeh@cmkrnl.com  Uucp: uunet!cmkrnl!jeh  CIS: 74140,2055