![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _LINUX_PURGATORY_H 0003 #define _LINUX_PURGATORY_H 0004 0005 #include <linux/types.h> 0006 #include <crypto/sha2.h> 0007 #include <uapi/linux/kexec.h> 0008 0009 struct kexec_sha_region { 0010 unsigned long start; 0011 unsigned long len; 0012 }; 0013 0014 /* 0015 * These forward declarations serve two purposes: 0016 * 0017 * 1) Make sparse happy when checking arch/purgatory 0018 * 2) Document that these are required to be global so the symbol 0019 * lookup in kexec works 0020 */ 0021 extern struct kexec_sha_region purgatory_sha_regions[KEXEC_SEGMENT_MAX]; 0022 extern u8 purgatory_sha256_digest[SHA256_DIGEST_SIZE]; 0023 0024 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |