From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web11.1229.1582746230040335315 for ; Wed, 26 Feb 2020 11:43:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=K3Y5vV3f; spf=pass (domain: linaro.org, ip: 209.85.128.65, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f65.google.com with SMTP id t23so628616wmi.1 for ; Wed, 26 Feb 2020 11:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=s9MzPdSusRe/OvWf0gGBwt5gKTGkUY9qbphDjjWcuMY=; b=K3Y5vV3fIlkvMDz4gbn0qMzKHekMEOT+RMJlTz0wxQ39qsjzeksRfeshvW5EIysfpA ZYIE/mTWg0ngm6ILoP2+1YOs6EReSHHfYHGzB7evw6rp4KGtW8nDcXYHm075ap47ebA0 f39dAiZraV3Zf9vjuTgUK8+jgNOeuEiFcZ7bUuH85HoHTX8Rr6c1xZioFi9uoRLyRirH puO4nje+xk7iOeLzPgevYgvnSpzifITiamH/gCZNNKQte+rBlwBHpGHj4Fp1B1UmMfsb UfIsAdgizVSbIeXMQTzJWEea+GI5iMv28zy1vNhdXs81ArH/yqKp36wkiUetmkf7Y8H/ ihcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=s9MzPdSusRe/OvWf0gGBwt5gKTGkUY9qbphDjjWcuMY=; b=a4lBqMbYi4Yg3hv0RrWK/Vax9urYg7yHMpxEkOQo9YmqHoep8lzHu47Mn5l54yk9OL 8k6M+XW+VcR4y9S40taQ5l55HtMLQ3VhKVNDBDPnJ5Fy6Jw2nekTZ7G1ytcR8nPGdVJO XrTqkLsdzte4C8LqVf+sfQQYP/KPxJ0jR08YHbOjA7cIEqjxbbTcI1CPKWrohEJQAP/R +M9gIEbK3Y2S6CeTPko1DzvBh+C8kN+NoMPlIN+COjce45vbxoF+DZEOqNTpvHJlyxCs aqRDJcsJ6bYuHTn4RCCU0faTftRdJ4bahUP5jjI1M97Z0PuUeRejDoD/mk2pVOL77afZ B58g== X-Gm-Message-State: APjAAAUuM9kFpPT7U4r3sztlXTBOQna2Iuv2pK1a9rY04x3rgqqViVHY Cy8s5d5oSU803lQLEOrzb1+Tg0Q3xRVXog== X-Google-Smtp-Source: APXvYqxAQRzaw8n9G66YqTIZ3iia+vClq3+K8c5Jk1lHGomaAoJX9AEEK8dF39dA4+tKthwdGn+QEA== X-Received: by 2002:a05:600c:22d1:: with SMTP id 17mr498347wmg.91.1582746228433; Wed, 26 Feb 2020 11:43:48 -0800 (PST) Return-Path: Received: from e123331-lin.home ([2a01:cb1d:112:6f00:816e:ff0d:fb69:f613]) by smtp.gmail.com with ESMTPSA id c9sm4235162wmc.47.2020.02.26.11.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 11:43:47 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , lersek@redhat.com, leif@nuviainc.com, michael.d.kinney@intel.com, jian.j.wang@intel.com, hao.a.wu@intel.com, ray.ni@intel.com, zhichao.gao@intel.com Subject: [PATCH v3 1/6] OvmfPkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID Date: Wed, 26 Feb 2020 20:43:38 +0100 Message-Id: <20200226194343.2985-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200226194343.2985-1-ard.biesheuvel@linaro.org> References: <20200226194343.2985-1-ard.biesheuvel@linaro.org> Add LINUX_EFI_INITRD_MEDIA_GUID to our collection of GUID definitions, it can be used in a media device path to specify a Linux style initrd that can be loaded by the OS using the LoadFile2 protocol. Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- OvmfPkg/Include/Guid/LinuxEfiInitrdMedia.h | 17 +++++++++++++++++ OvmfPkg/OvmfPkg.dec | 1 + 2 files changed, 18 insertions(+) diff --git a/OvmfPkg/Include/Guid/LinuxEfiInitrdMedia.h b/OvmfPkg/Include/Guid/LinuxEfiInitrdMedia.h new file mode 100644 index 000000000000..83fc3fc79aa6 --- /dev/null +++ b/OvmfPkg/Include/Guid/LinuxEfiInitrdMedia.h @@ -0,0 +1,17 @@ +/** @file + GUID definition for the Linux Initrd media device path + + Copyright (c) 2020, Arm, Ltd. All rights reserved.
+ + SPDX-License-Identifier: BSD-2-Clause-Patent +**/ + +#ifndef LINUX_EFI_INITRD_MEDIA_GUID_H__ +#define LINUX_EFI_INITRD_MEDIA_GUID_H__ + +#define LINUX_EFI_INITRD_MEDIA_GUID \ + {0x5568e427, 0x68fc, 0x4f3d, {0xac, 0x74, 0xca, 0x55, 0x52, 0x31, 0xcc, 0x68}} + +extern EFI_GUID gLinuxEfiInitrdMediaGuid; + +#endif diff --git a/OvmfPkg/OvmfPkg.dec b/OvmfPkg/OvmfPkg.dec index 4c5b6511cb97..6849a79cd8b0 100644 --- a/OvmfPkg/OvmfPkg.dec +++ b/OvmfPkg/OvmfPkg.dec @@ -86,6 +86,7 @@ [Guids] gMicrosoftVendorGuid = {0x77fa9abd, 0x0359, 0x4d32, {0xbd, 0x60, 0x28, 0xf4, 0xe7, 0x8f, 0x78, 0x4b}} gEfiLegacyBiosGuid = {0x2E3044AC, 0x879F, 0x490F, {0x97, 0x60, 0xBB, 0xDF, 0xAF, 0x69, 0x5F, 0x50}} gEfiLegacyDevOrderVariableGuid = {0xa56074db, 0x65fe, 0x45f7, {0xbd, 0x21, 0x2d, 0x2b, 0xdd, 0x8e, 0x96, 0x52}} + gLinuxEfiInitrdMediaGuid = {0x5568e427, 0x68fc, 0x4f3d, {0xac, 0x74, 0xca, 0x55, 0x52, 0x31, 0xcc, 0x68}} [Protocols] gVirtioDeviceProtocolGuid = {0xfa920010, 0x6785, 0x4941, {0xb6, 0xec, 0x49, 0x8c, 0x57, 0x9f, 0x16, 0x0a}} -- 2.17.1