* Re: [question] CLion's autocorrect draws the GNU logo, is this a coincidence?
[not found] <CAKtYDeMCPubPZ9NbfChj5BooNq0xA=Q4xSxAerhEVN5uEZ_sfg@mail.gmail.com>
@ 2026-03-12 9:21 ` Yao Zi via Grub-devel
0 siblings, 0 replies; only message in thread
From: Yao Zi via Grub-devel @ 2026-03-12 9:21 UTC (permalink / raw)
To: The development of GNU GRUB; +Cc: Yao Zi
On Wed, Mar 11, 2026 at 11:37:36PM +0300, Bardia Roshan Pajouh wrote:
> I was opening random grub files out of curiosity in CLion and came across a
> file named grub.chrp.in . The file is full of hex and
It isn't fully hex, it's in SGML format, and you could see tags like
<CHRP-BOOT> and <COMPATIBLE>. This is the bootinfo file defined by
PowerPC Microprocessor Common Hardware Reference Platform (CHRP) System
Binding to IEEE Std 1275‑1994[1], providing boot options information for
the firmware.
> CLions autocorrect
> highlights green under the hex in a way that it looks like the GNU logo. I
> was wondering if this was a coincidence or an easter egg. Sorry for wasting
> your time with this silly question.
The hex is enclosed by OS-BADGE-ICONS tag. Though isn't defined in the
CHRP specification, this seems to be an Apple extension (since it's used
by Apple's BootX, too[2]) for specifying icons for boot options. So I
don't think this is a coincidence.
Regards,
Yao Zi
[1]: https://stuff.mit.edu/afs/sipb/contrib/doc/specs/protocol/chrp/chrp1_7a.pd[2]: https://github.com/apple-oss-distributions/BootX/blob/814114e6a6cf10dfa512c520f5a1c1fb9c58a432/bootx.tproj/bootinfo.hdr#L8
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-12 12:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAKtYDeMCPubPZ9NbfChj5BooNq0xA=Q4xSxAerhEVN5uEZ_sfg@mail.gmail.com>
2026-03-12 9:21 ` [question] CLion's autocorrect draws the GNU logo, is this a coincidence? Yao Zi via Grub-devel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox