From: Matt_Domsch@Dell.com
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] RE: new GPT and uuid patches
Date: Tue, 11 Dec 2001 15:40:41 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590698805682@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590698805681@msgid-missing>
OK, I'll look at it some more.
> The *only* thing that needs to be endian aware is the
> parsing/printing routines. Those will be EFI GUID specific and will
> have to make up for the mistake Intel made when defining the external
> representation in the weird mixed byteorder (well, I'm assuming it was
> a mistake; I don't assume someone would willfully do such a thing ;-).
It's these two conflicting things that I think can now be reconciled:
EFI Spec references Wired for Management Baseline Spec 2.0: Page A-7 -
section describing UUIDs and GUIDs (based on proposed RFC):
In the absence of explicit application or presentation protocol
specification to the contrary, a
UUID is encoded as a 128-bit object, as follows: the fields are encoded as
16 octets, with the
sizes and order of the fields defined in Section 3.1, and with each field
encoded with the Most
Significant Byte first (also known as network byte order). [big endian]
Intel EFI Spec also has, in section 1.8.1:
All implementations designed to conform to this specification
will use "little endian" operation.
If I read this right, I'd say that GUIDs are in fact big endian, even though
the processor is in little-endian mode. Would Intel be willing to state
this explicity in the EFI Spec, appendix A? Elsewhere in the spec,
particularly in the PXE section, they do this already.
> The other benefit is that this will make GUIDs identical to UUIDs
> (which they ought be), except for the external representation.
Hopefully now even the external representation can be identical.
I'll work up a patch.
Thanks,
Matt
--
Matt Domsch
Sr. Software Engineer
Dell Linux Solutions
www.dell.com/linux
#1 US Linux Server provider with 24% (IDC Sept 2001)
#2 Worldwide Linux Server provider with 17% (IDC Sept 2001)
#3 Unix provider with 18% in the US (Dataquest)!
next prev parent reply other threads:[~2001-12-11 15:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-11 5:44 [Linux-ia64] Re: new GPT and uuid patches David Mosberger
2001-12-11 15:40 ` Matt_Domsch [this message]
2001-12-11 21:40 ` [Linux-ia64] " Matt Domsch
2001-12-12 3:55 ` Matt Domsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590698805682@msgid-missing \
--to=matt_domsch@dell.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox