Jacques Fourie wrote:
> 
> Would it be possible to pre-allocate a block of memory
> and then "switch" stacks in my interrupt routine? This
> may be far off, but my only other option is going
> through ~10000 lines of code and examining all places
> where local variables are declared. If I could somehow
> do this in a different way, it would really help a
> lot.

Don't do that during interrupt. Queue the data to be processed by a
kernel thread later.

-- 
Daniel C. Sobral                        (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

                He has been convicted of criminal possession of a clue with intent to
distribute.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to