From owner-freebsd-questions@FreeBSD.ORG Wed Nov 9 15:45:20 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24926106566B for ; Wed, 9 Nov 2011 15:45:20 +0000 (UTC) (envelope-from ryazanov.s.a@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id D2A4D8FC12 for ; Wed, 9 Nov 2011 15:45:19 +0000 (UTC) Received: by vws11 with SMTP id 11so2222761vws.13 for ; Wed, 09 Nov 2011 07:45:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=L8ElIplzmI0gZxM48velV5DllzlJqyzUcKYZLlpvYj8=; b=eqwOf6jUwEOUm+tYR4pI6iVAv6FY4plExzm8ASTSwg8Q5EksGvgia7ryKKshU2yXPI 99T0SJ7tqd+L3/Qi4bJLRWVu4TVXN7CpYG6ykttW4Brj3SXCYy6opRSNMNwyakTp7I6E 5XJF85/zl+sdXFjSqwhNWYT9NHlZ226XVij/c= Received: by 10.52.88.231 with SMTP id bj7mr5461570vdb.81.1320853519077; Wed, 09 Nov 2011 07:45:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.114.228 with HTTP; Wed, 9 Nov 2011 07:44:58 -0800 (PST) In-Reply-To: References: From: Sergey Ryazanov Date: Wed, 9 Nov 2011 18:44:58 +0300 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: BUS_SETUP_INTR definition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 15:45:20 -0000 2011/11/9 Sergey Ryazanov : > I learning interrupt handling inside FreeBSD kernel but can't find > BUS_SETUP_INTR() function realization or even definition. > Could somebody advice me where defined and realized BUS_SETUP_INTR() > function/macro? I found the answer on one's own. BUS_SETUP_INTR() is the inline function defined in /usr/obj/usr/src/sys/XXX/*/bus_if.h which is generated during build time from /sys/kern/bus_if.m template. -- With best wishes Sergey Ryazanov