Add 2 more E820 to ACPI specification
PATCH 1/1 Add 2 more E820 to ACPI specification
Hello. This defines 2 more types for mmap_type in a way to match E820 values. As grub legacy and grub2 both just pass E820 values through it shouldn't be any problem.
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
=== modified file 'doc/multiboot.texi'
multiboot.texi +3 -1
@@ -817,7 +817,9 @@ can be greater than the minimum of 20 bytes. @samp{base_addr} is the starting address. @samp{length} is the size of the memory region in bytes. @samp{type} is the variety of address range represented, where a -value of 1 indicates available @sc{ram}, and all other values currently +value of 1 indicates available @sc{ram}, value of 3 indicates usable memory +holding ACPI information, value of 4 indicates reserved memory which needs to +be preserved on hibernation and all other values currently indicated a reserved area. The map provided is guaranteed to list all standard @sc{ram} that should
Quoted 3 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Hello. This defines 2 more types for
mmap_typein a way to match E820 values. As grub legacy and grub2 both just pass E820 values through it shouldn't be any problem.
Note that although Multiboot's memory map format is modelled after e820, it is defined by us, not by BIOS vendors.
multiboot.texi
Quoted 3 lines
multiboot.texi +2
-1-value of 1 indicates available @sc{ram}, and all other values currently +value of 1 indicates available @sc{ram}, value of 3 indicates usable memory +holding ACPI information,
I'm concerned about increasing the amount of arch-specific references; what do Multiboot kernels that use ACPI currently do?
Quoted 3 lines
value of 4 indicates reserved memory which needs to +be preserved on hibernation and all other values currently
indicated a reserved area.
What's the difference between this reserved memory and a reserved area?
Signature · 3 lines
Robert Millan "Be the change you want to see in the world" -- Gandhi
Quoted 11 lines · Robert Millan
Quoted 4 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Hello. This defines 2 more types for
mmap_typein a way to match E820 values. As grub legacy and grub2 both just pass E820 values through it shouldn't be any problem.Note that although Multiboot's memory map format is modelled after e820, it is defined by us, not by BIOS vendors.
Yes, but this information is needed and I prefer to provide it in grub-legacy-compatible way.
Quoted 9 lines
multiboot.texi
Quoted 4 lines
multiboot.texi +2
-1-value of 1 indicates available @sc{ram}, and all other values currently +value of 1 indicates available @sc{ram}, value of 3 indicates usable memory +holding ACPI information,I'm concerned about increasing the amount of arch-specific references; what do Multiboot kernels that use ACPI currently do?
According to a post by Bernard Trotter many of them rely on multiboot loader passing e820 through
Quoted 8 lines
Quoted 4 lines
value of 4 indicates reserved memory which needs to +be preserved on hibernation and all other values currently
indicated a reserved area.What's the difference between this reserved memory and a reserved area?
"which needs to be preserved on hibernation and all other values currently" Payload should never write to or read from type 2 memory. But it needs to save type 4 memory into its hibernation file when it hibernates and restore on resume.
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 23 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 11 lines · Robert Millan
Quoted 4 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Hello. This defines 2 more types for
mmap_typein a way to match E820 values. As grub legacy and grub2 both just pass E820 values through it shouldn't be any problem.Note that although Multiboot's memory map format is modelled after e820, it is defined by us, not by BIOS vendors.
Yes, but this information is needed and I prefer to provide it in grub-legacy-compatible way.
Quoted 9 lines
multiboot.texi
Quoted 4 lines
multiboot.texi +2
-1-value of 1 indicates available @sc{ram}, and all other values currently +value of 1 indicates available @sc{ram}, value of 3 indicates usable memory +holding ACPI information,I'm concerned about increasing the amount of arch-specific references; what do Multiboot kernels that use ACPI currently do?
Quoted 2 lines
According to a post by Bernard Trotter many of them rely on multiboot loader passing e820 through
I just checked GRUB Legacy; it seems that it is passing through the whole thing. I think this was a mistake, but it's too late to fix it now.
Feel free to commit this.
Signature · 3 lines
Robert Millan "Be the change you want to see in the world" -- Gandhi