Subject: Re: What is difference between SIGSEGV and SIGBUS
To: Kenneth Stailey <kstailey@owl.dol-esa.gov>
From: Michael L. VanLoon -- HeadCandy.com <michaelv@headcandy.com>
List: current-users
Date: 08/04/1995 16:19:33
>> BUS = Trying to do something daft on a bus, e.g. trying to access an
>> odd location when the bus has no notion of an 8 bit access.

>or a memory-bus timeout due to accessing a location with no storage
>behind it.
>
>~Ken

There is no such thing.  Memory accesses require exactly the same
amount of time whether there is RAM there or not.  If there is nothing
there, they simply return some random digital representation of the
electrical signals floating around the bus when the memory access is
attempted.  Thus, this couldn't cause a bus error.

-----------------------------------------------------------------------------
  Michael L. VanLoon                                 michaelv@HeadCandy.com
       --<  Free your mind and your machine -- NetBSD free un*x  >--
     NetBSD working ports: 386+PC, Mac, Amiga, HP300, Sun3, Sun4, PC532,
                           DEC pmax (MIPS R2k/3k), DEC/AXP (Alpha)
     NetBSD ports in progress: VAX and others...
-----------------------------------------------------------------------------