Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Grzegorz Kulewski
On Thu, 17 May 2007, H. Peter Anvin wrote: +Field name:kernel_version +Type: read +Offset/size: 0x20e/2 +Protocol: 2.00+ + + If set to a nonzero value, contains a pointer to a null-terminated "nil-terminated"? "\0-terminated"? Uh? That seems more than a little silly.

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Randy Dunlap
On Thu, 17 May 2007 16:30:44 -0700 Jeremy Fitzhardinge wrote: > >>> + If set to a nonzero value, contains a pointer to a null-terminated > >>> > >>> > >> "nil-terminated"? "\0-terminated"? > >> > > > > Uh? That seems more than a little silly. Yes, I guess formally > > speaking

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: > H. Peter Anvin wrote: >> Given that we have already established littleendian byte order, it's the >> same thing. >> > > Well, not quite; mentioning the string form first creates an ambiguity. > I'd express as something like: ``The magic number is 0x53726448 >

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Jeremy Fitzhardinge
H. Peter Anvin wrote: > Given that we have already established littleendian byte order, it's the > same thing. > Well, not quite; mentioning the string form first creates an ambiguity. I'd express as something like: ``The magic number is 0x53726448 (implicitly, stored little-endian), which

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: > H. Peter Anvin wrote: >> +Field name: boot_flag >> +Type: read >> +Offset/size:0x1fe/2 >> +Protocol: ALL >> + >> + Contains 0xAA55. This is the closest thing old Linux kernels have >> + to a magic number. >> > > Endianess? I guess a

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Jeremy Fitzhardinge
H. Peter Anvin wrote: > +Field name: boot_flag > +Type:read > +Offset/size: 0x1fe/2 > +Protocol:ALL > + > + Contains 0xAA55. This is the closest thing old Linux kernels have > + to a magic number. > Endianess? I guess a blanket statement saying that all constants are

[PATCH] Further update of the i386 boot documentation

2007-05-17 Thread H. Peter Anvin
A number of items in the i386 boot documentation have been either vague, outdated or hard to read. This text revision adds several more examples, including a memory map for a modern kernel load. It also adds a field-by-field detailed description of the setup header, and a bootloader ID for Qemu.

[PATCH] Further update of the i386 boot documentation

2007-05-17 Thread H. Peter Anvin
A number of items in the i386 boot documentation have been either vague, outdated or hard to read. This text revision adds several more examples, including a memory map for a modern kernel load. It also adds a field-by-field detailed description of the setup header, and a bootloader ID for Qemu.

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Jeremy Fitzhardinge
H. Peter Anvin wrote: +Field name: boot_flag +Type:read +Offset/size: 0x1fe/2 +Protocol:ALL + + Contains 0xAA55. This is the closest thing old Linux kernels have + to a magic number. Endianess? I guess a blanket statement saying that all constants are stored

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: H. Peter Anvin wrote: +Field name: boot_flag +Type: read +Offset/size:0x1fe/2 +Protocol: ALL + + Contains 0xAA55. This is the closest thing old Linux kernels have + to a magic number. Endianess? I guess a blanket statement

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Jeremy Fitzhardinge
H. Peter Anvin wrote: Given that we have already established littleendian byte order, it's the same thing. Well, not quite; mentioning the string form first creates an ambiguity. I'd express as something like: ``The magic number is 0x53726448 (implicitly, stored little-endian), which

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread H. Peter Anvin
Jeremy Fitzhardinge wrote: H. Peter Anvin wrote: Given that we have already established littleendian byte order, it's the same thing. Well, not quite; mentioning the string form first creates an ambiguity. I'd express as something like: ``The magic number is 0x53726448 (implicitly,

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Randy Dunlap
On Thu, 17 May 2007 16:30:44 -0700 Jeremy Fitzhardinge wrote: + If set to a nonzero value, contains a pointer to a null-terminated nil-terminated? \0-terminated? Uh? That seems more than a little silly. Yes, I guess formally speaking we're talking about

Re: [PATCH] Further update of the i386 boot documentation

2007-05-17 Thread Grzegorz Kulewski
On Thu, 17 May 2007, H. Peter Anvin wrote: +Field name:kernel_version +Type: read +Offset/size: 0x20e/2 +Protocol: 2.00+ + + If set to a nonzero value, contains a pointer to a null-terminated nil-terminated? \0-terminated? Uh? That seems more than a little silly. Yes,