[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] default64 builtin command

From: Robert Millan
Subject: [PATCH] default64 builtin command
Date: Tue, 23 Jan 2007 22:22:35 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

I understand this might not be in shape to be put in CVS (otherwise let me
know), but maybe CD distributors find it useful.

Can be used to e.g. implement dual-boot CDs that autoselect 64-bit version of
rescue system whenever possible.

Thanks to Byron Stanoszek for the code on which it's based.

2007-01-23  Robert Millan  <address@hidden>

        * stage2/asm.S (check_64bit): New function.  Checks wether 64-bit mode
        is supported.
        * grub/asmstub.c (check_64bit): New function (stub).
        * stage2/shared.h: Declare check_64bit and is64bit.
        * stage2/common.c: Initialise is64bit with a check_64bit call.
        * stage2/builtins.c: New builtin (default64).  Behaves like default only
        on 64-bit systems (otherwise it's a no-op).

Robert Millan

My spam trap is address@hidden  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.

Attachment: default64.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]