Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 07:32:54 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Michael Reifenberger <mike@Reifenberger.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: 64bit loader
Message-ID:  <20050531143254.GC9158@dragon.NUXI.org>
In-Reply-To: <20050531133608.J87922@fw.reifenberger.com>
References:  <20050531133608.J87922@fw.reifenberger.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 31, 2005 at 02:17:02PM +0200, Michael Reifenberger wrote:
> Hi,
> as it seems we are building the amd64 loader in i386 compatible
> mode (compiling -m32...)
> This breaks the building of testmain in sys/boot/ficl at least
> as -m32 doesnt seem to be well supported until now on amd64.

Are you sure (cd /sys/boot/ficl ; make testmain) works on 32-bit systems?
It fails on my 6-CURRENT system (though for a different reason).

> Wouldn't is be possible to switch to 64bit long mode in the
> boot0 loader

Ha!!  We can only have 1 sector worth of code in boot0.  At this point we
only have a few bytes of free code space.  No where near enough to do the
long mode switch.

> (I'm trying to use and upgrade our ficl loader BTW)

One is able to use and upgrade one's ficl loader loader on AMD64 just
fine.  So what is the real problem you are hitting?
 
> BTW2: Our sys/boot hierarchy isn't very intuitive to start with...

You can thank the bozo boot requirements of the PeeCee architecture for
that.

-- 
-- David  (obrien@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050531143254.GC9158>