From owner-freebsd-hackers Wed Feb 20 17:30:54 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail-out2.apple.com (mail-out2.apple.com [17.254.0.51]) by hub.freebsd.org (Postfix) with ESMTP id B52DD37B400 for ; Wed, 20 Feb 2002 17:30:52 -0800 (PST) Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out2.apple.com (8.11.3/8.11.3) with ESMTP id g1L1Up715820 for ; Wed, 20 Feb 2002 17:30:51 -0800 (PST) Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Wed, 20 Feb 2002 17:30:28 -0800 Received: from hp39 (hp39.apple.com [17.202.42.181]) by scv1.apple.com (8.11.3/8.11.3) with ESMTP id g1L1Unv28430; Wed, 20 Feb 2002 17:30:49 -0800 (PST) Date: Wed, 20 Feb 2002 17:30:49 -0800 Subject: Re: Kernel Debugging over the Ethernet? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v502) Cc: freebsd-hackers@freebsd.org To: "George V. Neville-Neil" From: Umesh Vaishampayan In-Reply-To: <200202210014.QAA394912@meer.meer.net> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.502) 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 On Wednesday, February 20, 2002, at 04:14 PM, George V. Neville-Neil wrote: >> I was talking to Louis Gerbarg about this topic at the BSDCon last >> week. Apparently Darwin already has this functionality, so I suppose >> you'd like to take a look at it. > > That depends on where they put it. If it depends on I/OKit then we > won't be able to use it easily I figure. > > Thanks for the pointer. > > Later, > George > It uses an IOKit driver, but it's not particularly attached to it :-) In fact for the bringup, we used a BSD style driver... You can find the implementation in "xnu/osfmk/kdp". You will need to hook up kdp_en_send_pkt and kdp_en_recv_pkt to the function supplied by your device driver... --Umesh -- Umesh Vaishampayan Apple Computer, Inc. Mac OS X Kernel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message