``Stopping RAM access''
Michael M. Press
deathjestr at gmail.com
Wed Oct 31 09:53:20 PDT 2007
>> 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?
More information about the freebsd-hackers