[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/19] xen/dt: Add BOOTMOD_MICROCODE
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Alejandro Vallejo <agarciav@xxxxxxx>
- Date: Fri, 30 May 2025 14:02:16 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lh7ewCrrIM0zkU9a/iiqTktsuVi4TxAGs/l1EJ0Ddg0=; b=Ph2+vlCWzso3pIY6FJ+HoxeDfCP1K1/v7ij2wEvs1SAPLPcOK7hLzD8Py4S1UVhmUd2YBaNiLsfqyyKKUYqxAgzBAfr1Mikwzhgyqqwq9CU5UcdeIz9HUk9giYPGuOTJcfw4XBhfNTBHkkLy7wvswwfJiyc4m4SPK8LFM6h++ZBfvjndJ/HP6+6aOrRunYZQWr/V5/cVAc/Q/0ZYKjlPBGALH4HKbrppP+rWru7T8CqWnELImKiNHYmNXr5r5iWnJdzg3skcI9M+2/49bHR36A+K7bzyMAJjkSsitPxlfBz0RYkZc9mr4anriTlxl3he1wXVJVR3QHPaYs0hvK0Pdg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WCZSPjqqpRWyN9AqgalFKOiDTrWOp9gdaU+mL0xcic30zYJAxgY1SDtslm1vOgBwwTTqe8McCjGuWaib6L3sogSHpcvnGwlz34rLSHWg2gNgBv3E4GI/xOqhY/Y/mGdfTe43w1EF2ejwudMJXf+wrhhlKBmVSW5cUNDy3lrGlIr2QOjhpp8YEblbekJASo2M6atZsGJnS5BPyina6DFOFItJLvqw8csQPEMUKlr/EwHeagKAqLjwcS1D3s5WPnjt9bkc2+J0cCmu6B43BnZzy7+mdW0CUZM5guslNgkTONYBTI7mG/rdtoZmofNvzc8cYKMF6a9XmBXYsDMdh0LG0Q==
- Cc: Alejandro Vallejo <agarciav@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Fri, 30 May 2025 12:11:13 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
In preparation for x86 to start using bootmodule instead of boot_module
Signed-off-by: Alejandro Vallejo <agarciav@xxxxxxx>
---
xen/common/device-tree/bootinfo.c | 1 +
xen/include/xen/bootfdt.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/xen/common/device-tree/bootinfo.c
b/xen/common/device-tree/bootinfo.c
index 76d652c0de..717cfa0962 100644
--- a/xen/common/device-tree/bootinfo.c
+++ b/xen/common/device-tree/bootinfo.c
@@ -31,6 +31,7 @@ const char * __init
boot_module_kind_as_string(bootmodule_kind kind)
case BOOTMOD_RAMDISK: return "Ramdisk";
case BOOTMOD_XSM: return "XSM";
case BOOTMOD_GUEST_DTB: return "DTB";
+ case BOOTMOD_MICROCODE: return "Microcode";
case BOOTMOD_UNKNOWN: return "Unknown";
default: BUG();
}
diff --git a/xen/include/xen/bootfdt.h b/xen/include/xen/bootfdt.h
index 847f019559..d503d1bd4b 100644
--- a/xen/include/xen/bootfdt.h
+++ b/xen/include/xen/bootfdt.h
@@ -21,6 +21,7 @@ typedef enum {
BOOTMOD_RAMDISK,
BOOTMOD_XSM,
BOOTMOD_GUEST_DTB,
+ BOOTMOD_MICROCODE,
BOOTMOD_UNKNOWN
} bootmodule_kind;
--
2.43.0
|