Re: ``Stopping RAM access''



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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages