From owner-freebsd-hackers Thu Dec 6 8:25:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from acl.lanl.gov (acl.lanl.gov [128.165.147.1]) by hub.freebsd.org (Postfix) with SMTP id 376CC37B417 for ; Thu, 6 Dec 2001 08:25:19 -0800 (PST) Received: (qmail 418188 invoked from network); 6 Dec 2001 09:25:15 -0700 Received: from snaresland.acl.lanl.gov (128.165.147.113) by acl.lanl.gov with SMTP; 6 Dec 2001 09:25:15 -0700 Received: (qmail 17768 invoked by uid 3499); 6 Dec 2001 09:25:15 -0700 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Dec 2001 09:25:15 -0700 Date: Thu, 6 Dec 2001 09:25:15 -0700 (MST) From: Ronald G Minnich X-X-Sender: To: Subject: Re: switching to real mode In-Reply-To: <3C0F89FC.EA91E6A1@mindspring.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thu, 6 Dec 2001, Terry Lambert wrote: > Dmitry Konyshev wrote: > > For some odd reason I need to load another OS (no matter which one, > > everything that known about it is its boot sector number) > > at the end of the reboot syscall. Could someone please explain how to > > switch processor to real mode and continue program execution from some > > point in low memory? you can check out the various linux-boot-linux programs that do this. It gets complex. Four examples: bootimg, LOBOS, two-kernel-monte, and kexec. ron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message