🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.os
Article #27

Re: kernel servers vs. user servers.

#27
From: darrell
Date: Sun, 18 Jan 1987 14:16
36 lines
2378 bytes
--

In article <2480@sdcsvax.UCSD.EDU>, John B. Nagle writes:
>                                  Part of the problem is that the construction
> of a layered operating system requires suitable hardware for efficient 
> interaction between the layers.  Such hardware is not rare; most superminis
> and mainframes have it; but most microprocessors do not, partly because this
> issue cuts across the line between the processor and the memory management
> hardware, and for most microprocessors, these are on separate chips, and the
> chips are so designed that operation without an MMU is possible.

The 68020 added "CALLM" and "RTM" instructions that implement the same
kind of ring-crossing calls as the DG MV series (and Multics, though I
haven't worked with Multics so I could be misrepresenting their
hardware).  There is support in the 68020's MMU for "call gates" and
all the associated paraphanelia to make it work.  The MMU checks the
top 3 bits of all accesses to ensure that low-privileged rings cannot
access the memory addresses reserved for high-privileged rings, and 
the CPU run special cycles to tell the MMU when to change its privilege
level.

I have heard that this feature is being dropped from the 68030, which
integrates the CPU and MMU on one chip, because NOBODY USES IT.  Also,
the microcode to do it is complicated and it takes the chip designers
weeks to understand what it's supposed to do, then do it -- and they
can't afford the time in the Race to Market.

Part of the problem is that the stack format used is incompatible with
the original JSR and RTS instructions, so nobody compiles subroutines for
the new stack format, so nobody can compile calls that use them either.
Somebody who really wanted to use an expensive call instruction rather
than a simple JSR could change their compiler, but so far nobody has
wanted to :^).


--
Technical Details
Message-ID: <2486@sdcsvax.UCSD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ucbvax!sdcsvax!darrell

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!ucbvax!sdcsvax!darrell
From: darrell@sdcsvax.UUCP
Newsgroups: mod.os
Subject: Re: kernel servers vs. user servers.
Message-ID: <2486@sdcsvax.UCSD.EDU>
Date: Sun, 18-Jan-87 09:16:22 EST
Article-I.D.: sdcsvax.2486
Posted: Sun Jan 18 09:16:22 1987
Date-Received: Tue, 20-Jan-87 07:30:39 EST
Organization: University of California, San Diego
Lines: 36
Approved: mod-os@sdcsvax.uucp