From owner-freebsd-smp Sun Nov 26 14: 7:52 2000 Delivered-To: freebsd-smp@freebsd.org Received: from io.yi.org (unknown [24.70.218.157]) by hub.freebsd.org (Postfix) with ESMTP id 08FA937B479 for ; Sun, 26 Nov 2000 14:07:50 -0800 (PST) Received: from io.yi.org (localhost.gvcl1.bc.wave.home.com [127.0.0.1]) by io.yi.org (Postfix) with ESMTP id BFB35BA7A for ; Sun, 26 Nov 2000 14:07:49 -0800 (PST) X-Mailer: exmh version 2.1.1 10/15/1999 To: smp@freebsd.org Subject: BSD/OS interrupt code Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 26 Nov 2000 14:07:49 -0800 From: Jake Burkholder Message-Id: <20001126220749.BFB35BA7A@io.yi.org> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, If anyone with access to the BSD/OS code is interested, I've written a little program that runs their interrupt stub code generator in userland. You can then abort(); and disassemble the stub from the core dump to look at the code all in one piece. Makes it much easier to follow. In case you haven't looked, their interrupt handlers are generated by bcopy-ing various blocks of assembler code into an array at runtime, and then poking in arguments and relocating branches. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message