[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MULTIBOOT2 DOC PATCH v3 01/13] multiboot2: Replace u_phys with u32
From: |
Andrei Borzenkov |
Subject: |
Re: [MULTIBOOT2 DOC PATCH v3 01/13] multiboot2: Replace u_phys with u32 |
Date: |
Sat, 10 Dec 2016 20:23:15 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
07.12.2016 01:52, Daniel Kiper пишет:
> 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 <address@hidden>
> ---
> doc/multiboot.texi | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
>
> diff --git a/doc/multiboot.texi b/doc/multiboot.texi
> index 4b92918..2bda9b7 100644
> --- a/doc/multiboot.texi
> +++ b/doc/multiboot.texi
> @@ -299,9 +299,6 @@ little-endian, u32 is coded in little-endian.
> The type of unsigned 64-bit data. Because the target architecture is
> little-endian, u64 is coded in little-endian.
>
> address@hidden u_phys
> -The type of unsigned data of the same size as target architecture physical
> address size.
> -
> @item u_virt
> The type of unsigned data of the same size as target architecture virtual
> address size.
>
So if I understand it correctly, any address used in multiboot2 is
limited to 32 bit, so anything that is relevant to boot protocol must
reside below 4G. Is my assumption correct?
- [MULTIBOOT2 DOC PATCH v3 00/13] multiboot2: Update documentation, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 02/13] multiboot2: Replace u_virt with u32, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 01/13] multiboot2: Replace u_phys with u32, Daniel Kiper, 2016/12/06
- Re: [MULTIBOOT2 DOC PATCH v3 01/13] multiboot2: Replace u_phys with u32,
Andrei Borzenkov <=
- [MULTIBOOT2 DOC PATCH v3 04/13] multiboot2: Replace redundant if with the, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 05/13] multiboot2: Clarify meaning of information request header tag, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 03/13] multiboot2: Rename Multiboot to Multiboot2, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 06/13] multiboot2: Fix description of EFI boot services tag, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 07/13] multiboot2: Add description of support for EFI boot services, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 10/13] multiboot2: Say that memory maps may not be available on EFI platforms, Daniel Kiper, 2016/12/06
- [MULTIBOOT2 DOC PATCH v3 08/13] multiboot2: Add description of EFI image handle tags, Daniel Kiper, 2016/12/06