Re: [GIT PULL] x86 setup: correct booting on 486 (revised)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: H. Peter Anvin <hpa@...>
Cc: Jeremy Fitzhardinge <jeremy@...>, Linus Torvalds <torvalds@...>, Linux Kernel Mailing List <linux-kernel@...>, Thomas Gleixner <tglx@...>, Ingo Molnar <mingo@...>, Mikael Petterson <mikpe@...>
Date: Tuesday, November 6, 2007 - 2:27 pm

"H. Peter Anvin" <hpa@zytor.com> writes:


The old setup.S had that 16-byte jump in there.
We actually goofed when we added the relocatable bzImage support and
moved the 16bit jump.



I have a hard time believing in discipline when I see the amount of
not invented here and various oddball mistakes (cause by overlooking
things) that seems to go on when extending the format.  We never
needed to change the way the command line was passed, and we should
have kept the longer jump where we had it.

If we are going to through and add an additional pointer to a notes section
let's please put a jump in there so we can make the header longer as
we choose.

Pointers really, really, really suck for maintenance of binary formats.
Offsets against a known base are better, but better still is if you can
avoid them entirely.  For what we are doing allocating a contiguous piece
of memory or file is not at all unreasonable.

Eric
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PULL] x86 setup: correct booting on 486 (revised), H. Peter Anvin, (Sun Nov 4, 10:16 pm)
[GIT PULL] x86 setup: correct booting on 486 (revised), H. Peter Anvin, (Sun Nov 4, 11:58 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Eric W. Biederman, (Mon Nov 5, 4:21 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Eric W. Biederman, (Mon Nov 5, 5:14 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Eric W. Biederman, (Mon Nov 5, 5:58 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Jeremy Fitzhardinge, (Mon Nov 5, 4:51 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Jeremy Fitzhardinge, (Mon Nov 5, 8:59 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Jeremy Fitzhardinge, (Mon Nov 5, 9:18 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Jeremy Fitzhardinge, (Tue Nov 6, 12:17 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), H. Peter Anvin, (Tue Nov 6, 12:27 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Eric W. Biederman, (Tue Nov 6, 1:04 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Jeremy Fitzhardinge, (Tue Nov 6, 12:55 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Eric W. Biederman, (Tue Nov 6, 1:09 pm)
Re: [GIT PULL] x86 setup: correct booting on 486 (revised), Eric W. Biederman, (Tue Nov 6, 2:27 pm)