From owner-freebsd-hackers Sat Jun 30 11:47:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hotmail.com (law2-f120.hotmail.com [216.32.181.120]) by hub.freebsd.org (Postfix) with ESMTP id 7041637B405 for ; Sat, 30 Jun 2001 11:47:43 -0700 (PDT) (envelope-from vinupattery@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 29 Jun 2001 11:51:22 -0700 Received: from 128.193.48.73 by lw2fd.hotmail.msn.com with HTTP; Fri, 29 Jun 2001 18:51:22 GMT X-Originating-IP: [128.193.48.73] From: "vinu pattery" To: tlambert2@mindspring.com Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: interrupt on to Kernel Date: Sat, 30 Jun 2001 00:21:22 +0530 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 29 Jun 2001 18:51:22.0599 (UTC) FILETIME=[7DBD9770:01C100CC] Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG

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 in........................the Interrupt service routine of the NIC device driver is scheduled by the Free BSD kernel....................so 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message