From: Thierry Laronde <[EMAIL PROTECTED]>
Subject: Re: problems with savedefault
Date: Wed, 31 Jan 2001 12:44:37 +0100
> I had a quick look and the functions used by `install' (which work to write
> sectors) and savedefault (which fails to write the modified sector of stage2
> if this is not a floppy) are not the same. Perhaps something to look.
Before tryig to guess what is wrong, describe what happened more
precisely. All I know is that something wrong happened for Thierry
and Torvald, and I still don't know what happened actually.
> PS : in shared.h, the address for the saved_entryno is given as 0xc for an
> int, but in asm.S, this entry is defined as a long. Thus, if I'm not
> mistaken, this will work only with little endian machines and we could
> perhaps add a remainder for possible futur ports to other architectures.
That's wrong. That's not related to endian. What is undesirable here
is that the code assumes sizeof(int) == sizeof(long).
Okuji
_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub