Re: ``Stopping RAM access''
- From: "Michael M. Press" <deathjestr@xxxxxxxxx>
- Date: Wed, 31 Oct 2007 12:26:31 -0400
accessing RAM, and then allow it again?Can anyone give me a clue, how one can ``stop'' system from
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"
- References:
- ``Stopping RAM access''
- From: Jaroszewski Łukasz
- Re: ``Stopping RAM access''
- From: Maslan
- ``Stopping RAM access''
- Prev by Date: Re: amrd disk performance drop after running under high load
- Next by Date: RE: ``Stopping RAM access''
- Previous by thread: Re: ``Stopping RAM access''
- Next by thread: RE: ``Stopping RAM access''
- Index(es):
Relevant Pages
- Re: [PATCH] Documentation: Make fujitsu/frv/kernel-ABI.txt 80 columns wide
... -The internal FRV kernel ABI is not quite the same as the userspace ABI. ...
-most of them do not have any scratch registers, thus requiring at least one general purpose ...
+single-stepping will blithely go on stepping into things like interrupts. ... -to read
and once to write), we don't actually disable interrupts at all if we don't have to. ...
(Linux-Kernel) - Re: VMI Interface Proposal Documentation for I386, Part 4
... For one, the X server wants to disable interrupts temporarily during probing of dot
clocks to get accurate timings, and also to avoid the kernel interrupting during a sensitive VGA register
access. ... Several other userspace programs, including CMOS time sync utilities do this
as well. ... The code you show above can be made to work in a virtual machine, and you
can allow userspace to disable interrupts and still have a perfectly fine solution -- if you restrict
the enabling and disabling of interrupts in userspace to the cli and sti instructions. ... (Linux-Kernel) - Re: [KJ] Re: [PATCH] lcd: replace cli()/sti() with spin_lock_irqsave()/spin_unlock_irqrestore()
... So if you disable interrupts (the ... Then we introduced the Big Kernel Lock.
... all code that touched the same hardware/variables had the BKL, cli() ... the
ability to disable interrupts globally has been ... (Linux-Kernel) - Re: The idea of disabling interrupts
... disable interrupts for a short period, and you don't call any OS/library ...
it can be a useful method. ... 1)A flag may get modified any time and may introduce
write/read ... (comp.arch.embedded) - Re: Why cant my serial driver cant keep up?
... I know that Linux is not a RTOS but should it ... The kernel should never
disable interrupts ... (comp.os.linux.development.system)