[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: ``Stopping RAM access''
From:       "Michael M. Press" <deathjestr () gmail ! com>
Date:       2007-10-31 16:26:31
Message-ID: 44b564930710310926m54f74566s104d12808ed5c9cb () mail ! gmail ! com
[Download RAW message or body]

>> Can anyone give me a clue, how one can ``stop'' system from
accessing RAM, and then allow it again?
>
> I think this has no aim, RAM tests should be done during booting, but
> u could try to disable interrupts while in kernel mode 'cli' which
> will prevent any further context switching, then try to do whatever
> you want, finally enable interrupts back 'sti'.
>
> That's my two cents. I don't whether it will work or not.
>

Also, keep in mind that 'cli/sti' is just a starting point. You can't
just go playing
with memory anywhere you want because interrupts are disabled. What if a
DMA transfer is in progress?

Mike
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic