Date: Tue, 24 Jul 2001 14:38:24 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Bob Van Valzah <Bob@Talarian.Com> Cc: FreeBSD-Mobile@FreeBSD.org, Doug Ambrisko <ambrisko@ambrisko.com> Subject: Re: ThinkPad 600X: Can't work out which disk we are booting from Message-ID: <XFMail.010724143824.jhb@FreeBSD.org> In-Reply-To: <3B5DE5AD.5050202@Talarian.Com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 24-Jul-01 Bob Van Valzah wrote: > Doug, Glad you're aware of the problem and have already formulated a fix. > > John, I agree that the header file approach might be cleaner. > > But here's another idea: Could the "jmp main" at the start of boot1.s be > followed immediately by a "jmp xread"? This'd create a sort of entry > point table at the start of boot1 that could be used by boot2 without > fear of things moving around. But I have to say that I haven't written > any substantial amounts of assembler since the 8080 days (dating myself > there) and I've never looked at the x86 boot sequence, so I may be way > out of my league with this suggestion. Unfortunately, the BPB needs to be at a fixed offset and there isn't sufficient room for another jmp at offset 0x4. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010724143824.jhb>
