From owner-freebsd-hackers@FreeBSD.ORG Sun May 20 12:50:45 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CF3516A400 for ; Sun, 20 May 2007 12:50:45 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.freebsd.org (Postfix) with ESMTP id F22A513C455 for ; Sun, 20 May 2007 12:50:43 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.8) with ESMTP id l4KCaxPR009839; Sun, 20 May 2007 16:36:59 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Sun, 20 May 2007 16:36:58 +0400 (MSD) From: Maxim Konovalov To: mohsen@pahlevanzadeh.org In-Reply-To: Message-ID: <20070520163622.D72989@mp2.macomnet.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-hackers@freebsd.org Subject: Re: module for kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 12:50:45 -0000 On Sun, 20 May 2007, 15:59+0330, Mohsen Pahlevanzadeh wrote: > Dear all, > When you wanna write a module for linux kernel,you have 2 function: > init_module() & cleanup_module() > But now i need to write a little module for FreeBSD kernel.Please guide > me..... Check /usr/share/examples/kld/ . -- Maxim Konovalov