From owner-freebsd-mobile Tue Jul 24 14:38:41 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 0EABF37B406 for ; Tue, 24 Jul 2001 14:38:39 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.4/8.11.2) with ESMTP id f6OLcRv24619; Tue, 24 Jul 2001 14:38:27 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3B5DE5AD.5050202@Talarian.Com> Date: Tue, 24 Jul 2001 14:38:24 -0700 (PDT) From: John Baldwin To: Bob Van Valzah Subject: Re: ThinkPad 600X: Can't work out which disk we are booting from Cc: FreeBSD-Mobile@FreeBSD.org, Doug Ambrisko Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 -- 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