From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 04:25:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C9BA16A4CE for ; Mon, 10 Jan 2005 04:25:07 +0000 (GMT) Received: from smtp.pspl.co.in (smtp.persistent.co.in [202.54.11.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0DC143D39 for ; Mon, 10 Jan 2005 04:25:05 +0000 (GMT) (envelope-from romil_shah@persistent.co.in) Received: from ps2204 ([10.44.50.29]) (authenticated bits=0) by smtp.pspl.co.in (8.12.9/8.12.9) with ESMTP id j0A4TARV030982 for ; Mon, 10 Jan 2005 09:59:10 +0530 From: "Romil Shah" To: "Freebsd" Date: Mon, 10 Jan 2005 09:56:43 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAQ= X-White-List-Member: TRUE Subject: What is the task of pmap_enter ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 04:25:07 -0000 Hi, I am working on 2200S RAID controller and using aac driver from RELEGN4 , aac_disk.c in the driver uses pmap_enter for coping the virtual pages to some physical location. In FreeBSD 4.10 pmap_kenter_temporary is used which return the address which is passed to the controller for dumping on kernel panic where as this is not happening with pmap_enter , can any one tell me the difference between pmap_enter and pmap_kenter_temporary (both this file are present in i386/pmap.c. Any suggestions will be of great help. Thanks, Romil Shah