🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by J. Shapiro Sun, 23 Jun 1985 02:40
Query about interrupt/trap handling
#206
Author: J. Shapiro
Date: Sun, 23 Jun 1985 02:40
20 lines
1444 bytes
This may have come up before, and I suspect that I already know the answer,
but maybe someone out there who has seen it in their hands can tell me for
sure.

In the manuals, I see no indication as to whether traps/interrupts are
processed in user mode or supervisor mode. This is important, as if such
things are handled in supervisor mode and one is clever about using traps
(which one has to be for some security), then one can remove all of the
worries about interrupt routines from the user address space in a  system
using an MMU by placing these routines in the system space and using the
A24 bit that the MMU gives as one of the decoding lines for handling
things.

What's the verdict? My guess is that these things are handled in supervisor
mode. If I missed the reference, would someone be kind enough to point it out to me?

Thank you,


Jonathan S. Shapiro
Re: Query about interrupt/trap handling
#207
Author: Mark Nudelman
Date: Wed, 26 Jun 1985 18:00
13 lines
1200 bytes
> In the manuals, I see no indication as to whether traps/interrupts are
> processed in user mode or supervisor mode.

Traps/interrupts are indeed processed in supervisor mode.
My reference: 32000 Instruction Set Manual,
section 6.2:  "General Interrupt/Trap Sequence":

"1. Adjustment of Registers.  ....  A copy of the PSR is made,
 and the PSR is then set to reflect Supervisor Mode and
 selection of the Interrupt Stack."

Mark Nudelman			nsc!nsc-pdc!mark
National Semiconductor		tektronix!reed!nsc-pdc!mark
Re: Query about interrupt/trap handling
#211
Author: jack
Date: Mon, 01 Jul 1985 16:48
13 lines
1127 bytes
From "Series 32000 Instruction Set Reference Manual", Section 6.2
(General Interrupt/Trap Sequence):
... the PSR is then set to reflect Supervisor Mode, and the selection
of the Interrupt Stack.

It is kind of logical, too. I've never seen a machine that didn't
switch to supervisor mode on an interrupt (ok, on the PDP-11 you
can choose, but still.....)

-- 
	Jack Jansen, jack@mcvax.UUCP
	The shell is my oyster.
Re: Query about interrupt/trap handling
#210
Author: Geoffrey G. Peck
Date: Tue, 02 Jul 1985 10:15
5 lines
1045 bytes
Interrupts and traps cause the processor to switch to supervisor state, at
which point exception (interrupt or trap) processing proceeds as per chapter
6 in the Series 32000 Instruction Set Reference Manual (June 1984).
Unfortunately, this rev of the manual doesn't contain much of the useful
information on memory management and protection that the older rev did.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads