multiboot2: clarify usage of the address tag
PATCH v2 1/1 multiboot2: clarify usage of the address tag
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header.
---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]
---
Changes since v1:
- s/elf/@sc{elf}/
- s/Multiboot/Multiboot2/
--- doc/multiboot.texi | 6 ++++++ 1 file changed, 6 insertions(+)
doc/multiboot.texi +6 -0
@@ -509,6 +509,12 @@ assumes that no bss segment is present. @end table +Note: This information does not need to be provided if the kernel image +is in @sc{elf} format, but it must be provided if the image is in a.out +format or in some other format. Compliant boot loaders must be able to +load images that are either in @sc{elf} format or contain the address +tag embedded in the Multiboot2 header. + @subsection The entry address tag of Multiboot2 header @example
Signature · 7 lines
2.17.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 20 lines · Roger Pau Monne
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header.
Signed-off-by Roger Pau Monné <[email protected]>---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]
---
Changes since v1:
- s/elf/@sc{elf}/
- s/Multiboot/Multiboot2/--- doc/multiboot.texi | 6 ++++++ 1 file changed, 6 insertions(+)doc/multiboot.texi +0
-0
doc/multiboot.texi assumes that no bss segment is present. · line 517
Quoted 9 lines
doc/multiboot.texi +6
-0@@ -509,6 +509,12 @@ assumes that no bss segment is present. @end table +Note: This information does not need to be provided if the kernel image +is in @sc{elf} format, but it must be provided if the image is in a.out +format or in some other format. Compliant boot loaders must be able to +load images that are either in @sc{elf} format or contain the address +tag embedded in the Multiboot2 header. +
Now it is better. However, there is a lack of information that this tag should be preferred over the relevant data provided in the ELF header if both are available in the image. This have to be clear like it is in Multiboot spec.
Daniel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 20 lines · Roger Pau Monne
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header.
Signed-off-by Roger Pau Monné <[email protected]>---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]
---
Changes since v1:
- s/elf/@sc{elf}/
- s/Multiboot/Multiboot2/--- doc/multiboot.texi | 6 ++++++ 1 file changed, 6 insertions(+)doc/multiboot.texi +0
-0
doc/multiboot.texi assumes that no bss segment is present. · line 517
Quoted 9 lines
doc/multiboot.texi +6
-0@@ -509,6 +509,12 @@ assumes that no bss segment is present. @end table +Note: This information does not need to be provided if the kernel image +is in @sc{elf} format, but it must be provided if the image is in a.out +format or in some other format. Compliant boot loaders must be able to +load images that are either in @sc{elf} format or contain the address +tag embedded in the Multiboot2 header. +
Now it is better. However, there is a lack of information that this tag should be preferred over the relevant data provided in the ELF header if both are available in the image. This have to be clear like it is in Multiboot spec.
Daniel
Quoted 24 lines · Daniel Kiper
Quoted 23 lines · Roger Pau Monne
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header.
Signed-off-by Roger Pau Monné <[email protected]>---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]
---
Changes since v1:
- s/elf/@sc{elf}/
- s/Multiboot/Multiboot2/--- doc/multiboot.texi | 6 ++++++ 1 file changed, 6 insertions(+)doc/multiboot.texi +0
-0@@ -509,6 +509,12 @@ assumes that no bss segment is present. @end table
Quoted 11 lines
doc/multiboot.texi assumes that no bss segment is present. · line 517
Quoted 6 lines
doc/multiboot.texi +6
-0+Note: This information does not need to be provided if the kernel image +is in @sc{elf} format, but it must be provided if the image is in a.out +format or in some other format. Compliant boot loaders must be able to +load images that are either in @sc{elf} format or contain the address +tag embedded in the Multiboot2 header. +Now it is better. However, there is a lack of information that this tag should be preferred over the relevant data provided in the ELF header if both are available in the image. This have to be clear like it is in Multiboot spec.
Would you be OK with adding the following sentence at the end:
"When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present."
Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 24 lines · Daniel Kiper
Quoted 23 lines · Roger Pau Monne
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header.
Signed-off-by Roger Pau Monné <[email protected]>---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]
---
Changes since v1:
- s/elf/@sc{elf}/
- s/Multiboot/Multiboot2/--- doc/multiboot.texi | 6 ++++++ 1 file changed, 6 insertions(+)doc/multiboot.texi +0
-0@@ -509,6 +509,12 @@ assumes that no bss segment is present. @end table
Quoted 11 lines
doc/multiboot.texi assumes that no bss segment is present. · line 517
Quoted 6 lines
doc/multiboot.texi +6
-0+Note: This information does not need to be provided if the kernel image +is in @sc{elf} format, but it must be provided if the image is in a.out +format or in some other format. Compliant boot loaders must be able to +load images that are either in @sc{elf} format or contain the address +tag embedded in the Multiboot2 header. +Now it is better. However, there is a lack of information that this tag should be preferred over the relevant data provided in the ELF header if both are available in the image. This have to be clear like it is in Multiboot spec.
Would you be OK with adding the following sentence at the end:
"When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present."
Roger.
Quoted 37 lines · Roger Pau Monné
Quoted 24 lines · Daniel Kiper
Quoted 23 lines · Roger Pau Monne
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header.
Signed-off-by Roger Pau Monné <[email protected]>---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]
---
Changes since v1:
- s/elf/@sc{elf}/
- s/Multiboot/Multiboot2/--- doc/multiboot.texi | 6 ++++++ 1 file changed, 6 insertions(+)doc/multiboot.texi +0
-0@@ -509,6 +509,12 @@ assumes that no bss segment is present. @end tableQuoted 11 lines
doc/multiboot.texi assumes that no bss segment is present. · line 517
Quoted 6 lines
doc/multiboot.texi +6
-0+Note: This information does not need to be provided if the kernel image +is in @sc{elf} format, but it must be provided if the image is in a.out +format or in some other format. Compliant boot loaders must be able to +load images that are either in @sc{elf} format or contain the address +tag embedded in the Multiboot2 header. +Now it is better. However, there is a lack of information that this tag should be preferred over the relevant data provided in the ELF header if both are available in the image. This have to be clear like it is in Multiboot spec.
Quoted 4 lines
Would you be OK with adding the following sentence at the end:
"When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present."
I would put this as a second sentence in note, just after "... some other format." However, then probably last sentence should be rephrased a bit.
Daniel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 37 lines · Roger Pau Monné
Quoted 24 lines · Daniel Kiper
Quoted 23 lines · Roger Pau Monne
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header.
Signed-off-by Roger Pau Monné <[email protected]>---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]
---
Changes since v1:
- s/elf/@sc{elf}/
- s/Multiboot/Multiboot2/--- doc/multiboot.texi | 6 ++++++ 1 file changed, 6 insertions(+)doc/multiboot.texi +0
-0@@ -509,6 +509,12 @@ assumes that no bss segment is present. @end tableQuoted 11 lines
doc/multiboot.texi assumes that no bss segment is present. · line 517
Quoted 6 lines
doc/multiboot.texi +6
-0+Note: This information does not need to be provided if the kernel image +is in @sc{elf} format, but it must be provided if the image is in a.out +format or in some other format. Compliant boot loaders must be able to +load images that are either in @sc{elf} format or contain the address +tag embedded in the Multiboot2 header. +Now it is better. However, there is a lack of information that this tag should be preferred over the relevant data provided in the ELF header if both are available in the image. This have to be clear like it is in Multiboot spec.
Quoted 4 lines
Would you be OK with adding the following sentence at the end:
"When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present."
I would put this as a second sentence in note, just after "... some other format." However, then probably last sentence should be rephrased a bit.
Daniel
Quoted 38 lines · Daniel Kiper
Quoted 37 lines · Roger Pau Monné
Quoted 35 lines · Daniel Kiper
Quoted 20 lines · Roger Pau Monne
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header.
Signed-off-by Roger Pau Monné <[email protected]>---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]
---
Changes since v1:
- s/elf/@sc{elf}/
- s/Multiboot/Multiboot2/--- doc/multiboot.texi | 6 ++++++ 1 file changed, 6 insertions(+)doc/multiboot.texi +0
-0doc/multiboot.texi assumes that no bss segment is present. · line 517
Quoted 9 lines
doc/multiboot.texi +6
-0@@ -509,6 +509,12 @@ assumes that no bss segment is present. @end table +Note: This information does not need to be provided if the kernel image +is in @sc{elf} format, but it must be provided if the image is in a.out +format or in some other format. Compliant boot loaders must be able to +load images that are either in @sc{elf} format or contain the address +tag embedded in the Multiboot2 header. +Now it is better. However, there is a lack of information that this tag should be preferred over the relevant data provided in the ELF header if both are available in the image. This have to be clear like it is in Multiboot spec.
Quoted 8 lines
Quoted 4 lines
Would you be OK with adding the following sentence at the end:
"When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present."
I would put this as a second sentence in note, just after "... some other format." However, then probably last sentence should be rephrased a bit.
I think the following is clear enough:
"Note: This information does not need to be provided if the kernel image is in @sc{elf} format, but it must be provided if the image is in a.out format or in some other format. When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present. Compliant boot loaders must be able to load images that are either in @sc{elf} format or contain the address tag embedded in the Multiboot2 header."
Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 38 lines · Daniel Kiper
Quoted 37 lines · Roger Pau Monné
Quoted 35 lines · Daniel Kiper
Quoted 20 lines · Roger Pau Monne
Add a note to spell out that if the address tag is not present the file should be loaded using the elf header.
Signed-off-by Roger Pau Monné <[email protected]>---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]
---
Changes since v1:
- s/elf/@sc{elf}/
- s/Multiboot/Multiboot2/--- doc/multiboot.texi | 6 ++++++ 1 file changed, 6 insertions(+)doc/multiboot.texi +0
-0doc/multiboot.texi assumes that no bss segment is present. · line 517
Quoted 9 lines
doc/multiboot.texi +6
-0@@ -509,6 +509,12 @@ assumes that no bss segment is present. @end table +Note: This information does not need to be provided if the kernel image +is in @sc{elf} format, but it must be provided if the image is in a.out +format or in some other format. Compliant boot loaders must be able to +load images that are either in @sc{elf} format or contain the address +tag embedded in the Multiboot2 header. +Now it is better. However, there is a lack of information that this tag should be preferred over the relevant data provided in the ELF header if both are available in the image. This have to be clear like it is in Multiboot spec.
Quoted 8 lines
Quoted 4 lines
Would you be OK with adding the following sentence at the end:
"When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present."
I would put this as a second sentence in note, just after "... some other format." However, then probably last sentence should be rephrased a bit.
I think the following is clear enough:
"Note: This information does not need to be provided if the kernel image is in @sc{elf} format, but it must be provided if the image is in a.out format or in some other format. When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present. Compliant boot loaders must be able to load images that are either in @sc{elf} format or contain the address tag embedded in the Multiboot2 header."
Roger.
On Mon, Jun 11, 2018 at 11:30:16AM +0200, Roger Pau Monné wrote:
[...]
Quoted 8 lines
I think the following is clear enough:
"Note: This information does not need to be provided if the kernel image is in @sc{elf} format, but it must be provided if the image is in a.out format or in some other format. When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present. Compliant boot loaders must be able to load images that are either in @sc{elf} format or contain the address tag embedded in the Multiboot2 header."
LGTM. Thanks!
Daniel
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
On Mon, Jun 11, 2018 at 11:30:16AM +0200, Roger Pau Monné wrote:
[...]
Quoted 8 lines
I think the following is clear enough:
"Note: This information does not need to be provided if the kernel image is in @sc{elf} format, but it must be provided if the image is in a.out format or in some other format. When the address tag is present it must be used in order to load the image, regardless of whether an @sc{elf} header is also present. Compliant boot loaders must be able to load images that are either in @sc{elf} format or contain the address tag embedded in the Multiboot2 header."
LGTM. Thanks!
Daniel