🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.arch
Article #2407

Re: red and green (?) stack violations

#2407
From: ramanujan
Date: Tue, 22 Apr 1986 17:50
22 lines
1569 bytes
>What is a "red and green" stack violation?  I've heard references to this
>over the years, but no one has given me a satisfying explanation.
>Does it exist only on obscure members of the PDP-11 family, or is it
a >common, universal condition to which DEC has assigned a cute name?
 
>(I may have the colors wrong.  I'm colorblind anyway.  :-)

The colors I have heard of in reference to stack violations in the PDP-11
world are 'red' and 'yellow' . These are meant to protect the kernel mode
stack . The following is my understanding of what these traps are :

- If the virtual address of a kernel stack reference is less than 400 (octal)
  , a 'yellow' stack trap occurs at the end of the instruction making the
  reference.
- If an abort of any kind occurs during a push to kernel stack due to an
  interrupt,trap or another abort sequence a 'red' stack trap will occur.

Raj_Ramanujan

***********************************************************************
General Disclaimer : The opinions expressed above are mine alone ....
Technical Details
Message-ID: <2506@decwrl.DEC.COM>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!dec-rhea!dec-verdi!ramanujan

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!burl!ulysses!bellcore!decvax!decwrl!dec-rhea!dec-verdi!ramanujan
From: ramanujan@dec-verdi.UUCP
Newsgroups: net.arch
Subject: Re: red and green (?) stack violations
Message-ID: <2506@decwrl.DEC.COM>
Date: Tue, 22-Apr-86 12:50:03 EST
Article-I.D.: decwrl.2506
Posted: Tue Apr 22 12:50:03 1986
Date-Received: Thu, 24-Apr-86 04:52:56 EST
Sender: daemon@decwrl.DEC.COM
Organization: Digital Equipment Corporation
Lines: 23