diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2007-05-30 01:25:44 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2007-05-30 01:25:44 +0000 |
commit | 5733e3038b656fdd42285e950ba6520ce83284fc (patch) | |
tree | 9e6ad85f0cacfb6e26742c59a81b6ebf9ffc18b8 /sys/arch/amd64/stand/pxeboot/conf.c | |
parent | e89308fca5f883deb95669dc7abfdc1ebadc00e4 (diff) |
Pull out the ELF loadfile pieces from the standalone libraries, so that
both 32- and 64-bit versions can be created (previously only one or the
other could be built for a given boot loader).
Use this to allow the i386 and amd64 boot blocks to boot both ELF32 and
ELF64 kernels (i.e. amd64 boot blocks can now load i386 kernels, and
vice versa). Obviously the system must support LONG mode in order to
successfully run the amd64 kernel once it is loaded.
Advice and discussions from/with dale@ (going back three years). Much
testing nick@ and todd@; thanks.
Diffstat (limited to 'sys/arch/amd64/stand/pxeboot/conf.c')
-rw-r--r-- | sys/arch/amd64/stand/pxeboot/conf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/amd64/stand/pxeboot/conf.c b/sys/arch/amd64/stand/pxeboot/conf.c index 5ef3af4a59e..78f17a4ef37 100644 --- a/sys/arch/amd64/stand/pxeboot/conf.c +++ b/sys/arch/amd64/stand/pxeboot/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.14 2007/05/27 18:38:33 tom Exp $ */ +/* $OpenBSD: conf.c,v 1.15 2007/05/30 01:25:43 tom Exp $ */ /* * Copyright (c) 2004 Tom Cosgrove @@ -25,7 +25,6 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * */ #include <sys/types.h> @@ -45,7 +44,7 @@ #include "pxeboot.h" #include "pxe_net.h" -const char version[] = "1.13"; +const char version[] = "2.00"; int debug = 0; #undef _TEST |