simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] patch #6776: No segfault on access to notimplemente


From: Joerg Wunsch
Subject: Re: [Simulavr-devel] patch #6776: No segfault on access to notimplemented I/O registers
Date: Mon, 23 Mar 2009 20:10:24 +0100
User-agent: Mutt/1.5.11

As Joel Sherrill wrote:

> OK.  I wasn't planning on halting simulation only
> printing a message.

> Are you proposing another command line option to
> silence these warnings?

Yes, something like that.

> FWIW random is relative in the simulator -- writes
> are silently eaten and all reads return 0.  Real
> hardware might actually be more random given the variety
> of CPU models. :)

Real hardware usually isn't really random either, it's just
unpredictable.  In most cases, accessing unimplemented IO registers
will read as 0, and writes are ignored, but there could as well be
hidden IO registers that are used during manufacturing tests, or for
hardware debugging.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]