Date: Wed, 01 Jul 1998 08:52:46 -0700 From: John Polstra <jdp@polstra.com> To: wpaul@skynet.ctr.columbia.edu Cc: current@FreeBSD.ORG Subject: Re: 'fatal trap 12' on boot (smp and up) Message-ID: <199807011552.IAA04039@austin.polstra.com> In-Reply-To: <199806302138.RAA05124@skynet.ctr.columbia.edu> References: <199806302138.RAA05124@skynet.ctr.columbia.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <199806302138.RAA05124@skynet.ctr.columbia.edu>, Bill Paul <wpaul@skynet.ctr.columbia.edu> wrote: > Basically, there's a jump and a no-op, about 60 bytes of stuff, then > the start of the boot code. The jump skips over the 60 bytes of whatever. > Initially I duplicated all of this in start.S and yes, it worked. But > I wanted to see how much of this was really necessary so I started > whittling things down. It turns out that all you really need to make > the bastard happy is the jump and the no-op. Hey, the jump plus nop form the "magic number". :-) As I recall, the original a.out magic number (0407) was simply the opcode word of the PDP-11 jump instruction. Some things never change. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807011552.IAA04039>