1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
8 typedef struct KernelHibernateLocation KernelHibernateLocation
;
9 typedef struct EFIHibernateLocation EFIHibernateLocation
;
11 typedef struct HibernateInfo
{
13 uint64_t offset
; /* in memory pages */
15 KernelHibernateLocation
*cmdline
;
16 EFIHibernateLocation
*efi
;
19 void hibernate_info_done(HibernateInfo
*info
);
21 int acquire_hibernate_info(HibernateInfo
*ret
);
25 void compare_hibernate_location_and_warn(const HibernateInfo
*info
);
29 static inline void compare_hibernate_location_and_warn(const HibernateInfo
*info
) {