summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/devicetree.h
diff options
context:
space:
mode:
authoranonymix007 <48598263+anonymix007@users.noreply.github.com>2024-11-05 20:17:21 +0100
committeranonymix007 <48598263+anonymix007@users.noreply.github.com>2024-11-05 20:29:58 +0100
commit1c3a0a4b1f8a51f6f8f6c43e04306c2e53eaf65d (patch)
tree8cdd8c4c5dab3505c23fa5b99d9224ff3d34eaea /src/boot/efi/devicetree.h
parentboot: add matching against FW-provided Devicetree blob (diff)
downloadsystemd-1c3a0a4b1f8a51f6f8f6c43e04306c2e53eaf65d.tar.xz
systemd-1c3a0a4b1f8a51f6f8f6c43e04306c2e53eaf65d.zip
boot: Add firmware_devicetree_exists()
Diffstat (limited to '')
-rw-r--r--src/boot/efi/devicetree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/efi/devicetree.h b/src/boot/efi/devicetree.h
index 44c61fff6f..5f6720f655 100644
--- a/src/boot/efi/devicetree.h
+++ b/src/boot/efi/devicetree.h
@@ -30,6 +30,7 @@ typedef struct FdtHeader {
uint32_t size_dt_struct;
} FdtHeader;
+bool firmware_devicetree_exists(void);
EFI_STATUS devicetree_match(const void *uki_dtb, size_t uki_dtb_length);
EFI_STATUS devicetree_match_by_compatible(const void *uki_dtb, size_t uki_dtb_length, const char *compat);
EFI_STATUS devicetree_install(struct devicetree_state *state, EFI_FILE *root_dir, char16_t *name);