Difference between revisions of "Talk:List of SITS system calls"
(MFPI call) |
(No difference)
|
Revision as of 12:58, 7 October 2022
MFPI call
I have a suspicion about that the MFPI call does. The MFPI instruction ('Move From Previous mode Instruction space') does not work when 'current' and 'previous' modes (in the PS) are both 'user'. (This is the normal way for the PS to be set up when user code is running, to keep it from poking into things.) This is apparently to allow keeping proprietary libraries 'private' - i.e. allow them to be used, but not inspected. (The PDP-10 has a similar 'feature'.)
The problem is that some things (e.g. the nargs() function; also trap handlers which run in user mode, for various kinds of traps) require the ability to look at user-mode code - and so they don't work when running with 'split I&D' (where one has to use MFPI to read instructions). Maybe the MFPI call simulates the correct operation of MFPI, for those cases?
We actually got started on installing a switch in the CSR -11/45, to disable the disabling of user-user MFPI. I never got around to doing the etch cuts to finish it, though. It would have been labelled, of course, 'Magic/More Magic'! :-) Jnc (talk) 13:57, 7 October 2022 (CEST)