From: Johnny Billquist <bqt@softjar.se>
Subject: Re: Access to RSTS/E IOPAGE Registers
Date: Sun, 30 Dec 2012 04:25:57 +0100 [thread overview]
Message-ID: <kboc87$mkh$1@Iltempo.Update.UU.SE> (raw)
In-Reply-To: <50df9f30.1162285@nntp.aioe.org>
On 2012-12-30 03:04, paramucho wrote:
> On Fri, 28 Dec 2012 16:01:30 +0100, Johnny Billquist <bqt@softjar.se>
> wrote:
>
>> On 2012-12-28 07:32, paramucho wrote:
>>> On Thu, 27 Dec 2012 22:16:00 +0100, Johnny Billquist <bqt@softjar.se>
>>> wrote:
>
>>>> I would seriously doubt you could access the IOPAGE from RSTS/E as well,
>>>> as that would allow you to circumvent the OS protection.
>>>>
>>>> That said, I can test running whatever you cook up in RTEM-11, if you
>>>> want to. (Or contact me, and I can get you access to RTEM-11 yourself.)
>>>>
>>>> Johnny
>>>
>>> This old thread confirms that there is no (published) access method:
>>>
>>> http://www.classiccmp.org/pipermail/cctech/2003-March/086350.html
>>>
>>> Which says in part:
>>>
>>> In order to talk directly to a device under RSTS you need to be in
>>> kernel mode, not user mode. I am not aware of a RSTS-native way to
>>> do something like RSX or VMS connect-to-interrupt directives or the
>>> like. Similarly there is not a (published) way to map I/O space to
>>> user space. This is really the kind of thing you need to accomplish
>>> what you are asking.
>>>
>>> I had a quick look at the various internals books but couldn't see
>>> anything interesting.
>>
>> Also, the RSX CINT$ directive isn't really that interesting. All it does
>> is establish an interrupt vector which will become a call to code in
>> your program when an interrupt happens. It does not in general give you
>> any access to the IO Page. (Although, when you are running in interrupt
>> context, you are of course in kernel mode, with the IO page where you
>> would expect it.)
>>
>> The common way to get access to the IO page in RSX is to build your
>> program privileged, and run it. Then it will have the IO page mapped, as
>> well as being able to switch to kernel mode if needed.
>>
>> Of course, a normal used can't run such a program...
>>
>> (And the CINT$ system call can also only be used by a privileged program...)
>
> I've never used RTEM, but I have wondered whether a program running
> under RTEM can issue RSX exec directives as well as RT-11 EMTs?
I haven't tried. But it might be, since I suspect they set up an SST
handler for EMT traps in RTEM, and the EMT SST handler don't get called
for known EMTs. But that is guessing on my part. You are free to test on
MIM yourself. ;-)
Johnny
next prev parent reply other threads:[~2012-12-30 3:25 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-26 13:22 Access to RSTS/E IOPAGE Registers Jerome H. Fine
2012-12-26 15:35 ` Bill Gunshannon
2012-12-27 0:10 ` glen herrmannsfeldt
2012-12-27 21:13 ` Johnny Billquist
2012-12-27 21:25 ` glen herrmannsfeldt
2012-12-27 21:37 ` Johnny Billquist
2012-12-27 13:38 ` Jerome H. Fine
2012-12-27 21:16 ` Johnny Billquist
2012-12-28 6:32 ` paramucho
2012-12-28 15:01 ` Johnny Billquist
2012-12-30 2:04 ` paramucho
2012-12-30 3:25 ` Johnny Billquist [this message]
2012-12-30 18:25 ` jgharston
2012-12-30 21:44 ` Johnny Billquist
2012-12-31 0:34 ` Jerome H. Fine
2012-12-31 0:52 ` Johnny Billquist
2012-12-31 16:04 ` paramucho
2012-12-31 16:23 ` Bob Eager
2012-12-31 16:33 ` Johnny Billquist
2013-01-01 3:28 ` paramucho
2012-12-31 16:30 ` Johnny Billquist
2013-01-01 4:55 ` paramucho
2013-01-01 18:37 ` Johnny Billquist
2013-01-13 8:01 ` paramucho
2013-01-13 14:13 ` Johnny Billquist
2013-01-14 6:30 ` paramucho
2013-01-14 11:50 ` Johnny Billquist
2013-01-15 14:20 ` paramucho
2013-01-15 21:10 ` Johnny Billquist
2013-01-16 3:25 ` Jerome H. Fine
2013-01-16 4:39 ` Johnny Billquist
2013-01-16 13:43 ` paramucho
2013-01-16 18:59 ` Johnny Billquist
2013-01-17 11:56 ` paramucho
2013-01-22 9:53 ` Hartmut Brandt
2013-01-22 13:52 ` Johnny Billquist
2013-01-23 14:11 ` paramucho
2013-01-23 19:53 ` Johnny Billquist
2013-01-25 13:43 ` paramucho
2013-01-25 23:39 ` Johnny Billquist
2013-01-28 7:47 ` paramucho
2013-01-28 18:06 ` Johnny Billquist
2013-01-30 12:16 ` paramucho
2013-01-30 18:50 ` Johnny Billquist
2013-02-02 12:51 ` paramucho
2013-02-02 16:15 ` Johnny Billquist
2013-02-03 16:16 ` Jerome H. Fine
2013-02-04 12:03 ` paramucho
2013-02-04 16:58 ` Johnny Billquist
2013-02-15 12:34 ` paramucho
2013-02-15 13:08 ` Johnny Billquist
2013-02-15 15:15 ` paramucho
2013-02-15 16:04 ` Johnny Billquist
2013-02-17 13:02 ` paramucho
2013-02-17 13:43 ` Johnny Billquist
2013-02-19 14:09 ` paramucho
2013-02-20 11:18 ` paramucho
2013-02-21 0:23 ` Johnny Billquist
2013-02-21 0:22 ` Johnny Billquist
2013-02-24 14:10 ` paramucho
2013-02-24 15:00 ` Johnny Billquist
2013-03-06 15:33 ` paramucho
2013-03-06 23:51 ` Johnny Billquist
2013-03-20 10:15 ` paramucho
2013-03-20 13:01 ` Johnny Billquist
2013-03-20 21:42 ` Johnny Billquist
2013-04-14 16:48 ` paramucho
2013-04-14 18:28 ` Johnny Billquist
2013-04-15 10:30 ` Johnny Billquist
2013-03-20 17:33 ` Jerome H. Fine
2013-03-25 15:55 ` paramucho
2013-03-06 15:33 ` paramucho
2013-02-24 14:12 ` paramucho
2013-01-23 14:10 ` paramucho
2013-01-14 9:13 ` Hartmut Brandt
2013-01-14 8:08 ` John Santos
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox