mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 07:12:39 +00:00
multiboot2: Replace u_phys with u32
u_phys is used just in two places and sometimes it may confuse reader. Additionally, GRUB multiboot2 implementation does not use u_phys anywhere. So, replace it with basic well defined and used in implementation u32 type. Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
1 parent
bb61b2b801
commit
397e44ae7e
1 file changed
+4
-7
+4
-7
@@ -299,9 +299,6 @@ little-endian, u32 is coded in little-endian.
|
|||||||
The type of unsigned 64-bit data. Because the target architecture is
|
The type of unsigned 64-bit data. Because the target architecture is
|
||||||
little-endian, u64 is coded in little-endian.
|
little-endian, u64 is coded in little-endian.
|
||||||
|
|
||||||
@item u_phys
|
|
||||||
The type of unsigned data of the same size as target architecture physical address size.
|
|
||||||
|
|
||||||
@item u_virt
|
@item u_virt
|
||||||
The type of unsigned data of the same size as target architecture virtual address size.
|
The type of unsigned data of the same size as target architecture virtual address size.
|
||||||
|
|
||||||
@@ -840,8 +837,8 @@ zero-terminated UTF-8 string.
|
|||||||
+-------------------+
|
+-------------------+
|
||||||
u32 | type = 3 |
|
u32 | type = 3 |
|
||||||
u32 | size |
|
u32 | size |
|
||||||
u_phys | mod_start |
|
u32 | mod_start |
|
||||||
u_phys | mod_end |
|
u32 | mod_end |
|
||||||
u8[n] | string |
|
u8[n] | string |
|
||||||
+-------------------+
|
+-------------------+
|
||||||
@end group
|
@end group
|
||||||
@@ -850,8 +847,8 @@ u8[n] | string |
|
|||||||
This tag indicates to the kernel what boot module was loaded along with the
|
This tag indicates to the kernel what boot module was loaded along with the
|
||||||
kernel image, and where it can be found.
|
kernel image, and where it can be found.
|
||||||
|
|
||||||
The @samp{mod_start} and @samp{mod_end} contain the start and end addresses of the boot
|
The @samp{mod_start} and @samp{mod_end} contain the start and end physical addresses
|
||||||
module itself. The @samp{string} field provides an arbitrary string to
|
of the boot module itself. The @samp{string} field provides an arbitrary string to
|
||||||
be associated with that particular boot module; it is a zero-terminated
|
be associated with that particular boot module; it is a zero-terminated
|
||||||
UTF-8 string, just like the kernel command line. Typically the
|
UTF-8 string, just like the kernel command line. Typically the
|
||||||
string might be a command line (e.g. if the operating system treats boot
|
string might be a command line (e.g. if the operating system treats boot
|
||||||
|
|||||||
Reference in new issue
Block a user