From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nate Lawson Subject: RE: Fixing broken DSDT - code suggestions for comment please! Date: Fri, 28 May 2004 00:33:39 -0700 (PDT) Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040528003056.E96434@root.org> References: <3ACA40606221794F80A5670F0AF15F84047B206A@PDSMSX403.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: <3ACA40606221794F80A5670F0AF15F84047B206A-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Yu, Luming" Cc: "Moore, Robert" , marmon-GymH4r+vMzPQT0dZR+AlfA@public.gmane.org, ACPI Developers , linux-acpi List-Id: linux-acpi@vger.kernel.org On Fri, 28 May 2004, Yu, Luming wrote: > >If you're interested in seeing how we did it in FreeBSD, see > >src/sys/dev/acpica/Osd/OsdDebug.c and the #ifdef ACPI_DEBUGGER in the > >ACPI-CA code that we added. > > Wha'ts the interactive kernel debug tool in FreeBSD? Does ASL debug > feature > work in that debug tool? FreeBSD has a built-in kernel debugger called DDB. So basically we just had to define the get line routine and it was hooked in. http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/dev/acpica/Osd/OsdDebug.c?rev=1.7&content-type=text/plain Note that this is optionally included in the kernel compile -- we don't enable this for acpi by default. -Nate ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click