Skip to contentSkip to conversation

multiboot2: clarify usage of the address tag

PATCH Superseded Roger Pau Monne 2 participants 7 messages Jun 5, 2018 – Jun 7, 2018

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 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]

---
 doc/multiboot.texi | 6 ++++++
 1 file changed, 6 insertions(+)
doc/multiboot.texi +6 -0
index 2e2d7e74a..196f9c17a 100644
@@ -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 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 elf format or contain the
+address tag embedded in the Multiboot header.
+
 @subsection The entry address tag of Multiboot2 header
 
 @example
Signature · 1 line
2.17.0
#1 lore raw
Quoted 16 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.

---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]

---
 doc/multiboot.texi | 6 ++++++
 1 file changed, 6 insertions(+)
doc/multiboot.texi +0 -0
index 2e2d7e74a..196f9c17a 100644

doc/multiboot.texi assumes that no bss segment is present. · line 513

Quoted 5 lines
doc/multiboot.texi +2 -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 elf format, but it must be provided if the image is in

s/elf/@sc{elf}/

doc/multiboot.texi assumes that no bss segment is present. · line 515

Quoted 2 lines
doc/multiboot.texi +2 -0
+a.out format or in some other format. Compliant boot loaders must be
+able to load images that are either in elf format or contain the

Ditto.

doc/multiboot.texi assumes that no bss segment is present. · line 516

Quoted 1 line
doc/multiboot.texi +1 -0
+address tag embedded in the Multiboot header.

s/Multiboot/Multiboot2/

I think that it is also worth mentioning that the address tag has preference over relevant data provided in ELF header.

Additionally, may I ask you to provide similar patch for Multiboot spec? You can find it in multiboot branch. Please look for "The address fields of Multiboot header" paragraph.

Daniel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
In reply to Roger Pau Monne
Quoted 16 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.

---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]

---
 doc/multiboot.texi | 6 ++++++
 1 file changed, 6 insertions(+)
doc/multiboot.texi +0 -0
index 2e2d7e74a..196f9c17a 100644

doc/multiboot.texi assumes that no bss segment is present. · line 513

Quoted 5 lines
doc/multiboot.texi +2 -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 elf format, but it must be provided if the image is in

s/elf/@sc{elf}/

doc/multiboot.texi assumes that no bss segment is present. · line 515

Quoted 2 lines
doc/multiboot.texi +2 -0
+a.out format or in some other format. Compliant boot loaders must be
+able to load images that are either in elf format or contain the

Ditto.

doc/multiboot.texi assumes that no bss segment is present. · line 516

Quoted 1 line
doc/multiboot.texi +1 -0
+address tag embedded in the Multiboot header.

s/Multiboot/Multiboot2/

I think that it is also worth mentioning that the address tag has preference over relevant data provided in ELF header.

Additionally, may I ask you to provide similar patch for Multiboot spec? You can find it in multiboot branch. Please look for "The address fields of Multiboot header" paragraph.

Daniel

#3 lore raw
Quoted 32 lines · Daniel Kiper
Quoted 16 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.

---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]

---
 doc/multiboot.texi | 6 ++++++
 1 file changed, 6 insertions(+)
doc/multiboot.texi +0 -0
index 2e2d7e74a..196f9c17a 100644

doc/multiboot.texi assumes that no bss segment is present. · line 513

Quoted 5 lines
doc/multiboot.texi +2 -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 elf format, but it must be provided if the image is in

s/elf/@sc{elf}/

doc/multiboot.texi assumes that no bss segment is present. · line 515

Quoted 2 lines
doc/multiboot.texi +2 -0
+a.out format or in some other format. Compliant boot loaders must be
+able to load images that are either in elf format or contain the

Ditto.

doc/multiboot.texi assumes that no bss segment is present. · line 516

Quoted 1 line
doc/multiboot.texi +1 -0
+address tag embedded in the Multiboot header.
Quoted 8 lines

s/Multiboot/Multiboot2/

I think that it is also worth mentioning that the address tag has preference over relevant data provided in ELF header.

Additionally, may I ask you to provide similar patch for Multiboot spec? You can find it in multiboot branch. Please look for "The address fields of Multiboot header" paragraph.

Multiboot1 already has such paragraph in the "3.1.2 The magic fields of Multiboot header" section.

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#4 lore raw
In reply to Daniel Kiper
Quoted 32 lines · Daniel Kiper
Quoted 16 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.

---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]

---
 doc/multiboot.texi | 6 ++++++
 1 file changed, 6 insertions(+)
doc/multiboot.texi +0 -0
index 2e2d7e74a..196f9c17a 100644

doc/multiboot.texi assumes that no bss segment is present. · line 513

Quoted 5 lines
doc/multiboot.texi +2 -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 elf format, but it must be provided if the image is in

s/elf/@sc{elf}/

doc/multiboot.texi assumes that no bss segment is present. · line 515

Quoted 2 lines
doc/multiboot.texi +2 -0
+a.out format or in some other format. Compliant boot loaders must be
+able to load images that are either in elf format or contain the

Ditto.

doc/multiboot.texi assumes that no bss segment is present. · line 516

Quoted 1 line
doc/multiboot.texi +1 -0
+address tag embedded in the Multiboot header.
Quoted 8 lines

s/Multiboot/Multiboot2/

I think that it is also worth mentioning that the address tag has preference over relevant data provided in ELF header.

Additionally, may I ask you to provide similar patch for Multiboot spec? You can find it in multiboot branch. Please look for "The address fields of Multiboot header" paragraph.

Multiboot1 already has such paragraph in the "3.1.2 The magic fields of Multiboot header" section.

Thanks, Roger.

#5 lore raw
Quoted 38 lines · Roger Pau Monné
Quoted 37 lines · Daniel Kiper
Quoted 16 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.

---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]

---
 doc/multiboot.texi | 6 ++++++
 1 file changed, 6 insertions(+)
doc/multiboot.texi +0 -0
index 2e2d7e74a..196f9c17a 100644

doc/multiboot.texi assumes that no bss segment is present. · line 513

Quoted 5 lines
doc/multiboot.texi +2 -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 elf format, but it must be provided if the image is in

s/elf/@sc{elf}/

doc/multiboot.texi assumes that no bss segment is present. · line 515

Quoted 2 lines
doc/multiboot.texi +2 -0
+a.out format or in some other format. Compliant boot loaders must be
+able to load images that are either in elf format or contain the

Ditto.

doc/multiboot.texi assumes that no bss segment is present. · line 516

Quoted 1 line
doc/multiboot.texi +1 -0
+address tag embedded in the Multiboot header.

s/Multiboot/Multiboot2/

I think that it is also worth mentioning that the address tag has preference over relevant data provided in ELF header.

Quoted 6 lines
Quoted 3 lines

Additionally, may I ask you to provide similar patch for Multiboot spec? You can find it in multiboot branch. Please look for "The address fields of Multiboot header" paragraph.

Multiboot1 already has such paragraph in the "3.1.2 The magic fields of Multiboot header" section.

Yep, you are right. So, please just send me updated Multiboot2 spec patch.

Daniel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#6 lore raw
In reply to Roger Pau Monné
Quoted 38 lines · Roger Pau Monné
Quoted 37 lines · Daniel Kiper
Quoted 16 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.

---
Cc: Daniel Kiper <[email protected]>
Cc: [email protected]

---
 doc/multiboot.texi | 6 ++++++
 1 file changed, 6 insertions(+)
doc/multiboot.texi +0 -0
index 2e2d7e74a..196f9c17a 100644

doc/multiboot.texi assumes that no bss segment is present. · line 513

Quoted 5 lines
doc/multiboot.texi +2 -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 elf format, but it must be provided if the image is in

s/elf/@sc{elf}/

doc/multiboot.texi assumes that no bss segment is present. · line 515

Quoted 2 lines
doc/multiboot.texi +2 -0
+a.out format or in some other format. Compliant boot loaders must be
+able to load images that are either in elf format or contain the

Ditto.

doc/multiboot.texi assumes that no bss segment is present. · line 516

Quoted 1 line
doc/multiboot.texi +1 -0
+address tag embedded in the Multiboot header.

s/Multiboot/Multiboot2/

I think that it is also worth mentioning that the address tag has preference over relevant data provided in ELF header.

Quoted 6 lines
Quoted 3 lines

Additionally, may I ask you to provide similar patch for Multiboot spec? You can find it in multiboot branch. Please look for "The address fields of Multiboot header" paragraph.

Multiboot1 already has such paragraph in the "3.1.2 The magic fields of Multiboot header" section.

Yep, you are right. So, please just send me updated Multiboot2 spec patch.

Daniel