interrupt on to Kernel

2001-06-28 Thread vinu pattery

Could some body let me know, how to hack the FReeBSD kernel to learn the 
exact sequence of steps which happen when the device driver interrupts the 
FreeBSD Kernel for resources. Is there a trace debugger available, with 
which i can find out the steps.
thanx
Vinu
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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



Re: interrupt on to Kernel

2001-06-30 Thread vinu pattery

Please scroll down
Please scroll down

>It's not clear what you mean by "interrupt the Kernel for 
>resources"... the only resources you can grab at interrupt 
>are things that you pre-allocated, things you get from a 
>zalloci() from a previously established interrupt safe zone 
>in the zone allocator (e.g. mbufs), and CPU time. 
> 

Hello,
initially the processor of the computer is executing a particular program,.then when the NICard gets data thru the network line it interrupts the hardware so that the data is processed and gets to the application layer.when this hardware interrupt comes inthe Interrupt service routine of the NIC device driver is scheduled by the Free BSD kernelso now instead of the parent program..the ISR is running on the processor.i wanted to know the sequence of steps which take place between the switching from parent program ---> to-->ISR and then back from ISR to parent program.
I would be very grateful if u could let me know how to go about this,
i am already looking at the links u suggested and trying to help myself,
thanx
Vinu
 
 Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

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