Files
s390-tools/zipl/boot/kdump.h
T
Mikhail Zaslonko 5af2e30d9a zipl/boot: Move struct os_info to the separate header
- Move struct os_info from kdump.h to the new header os_info.h.
- Place os_info.h to include/boot in order to use it in zgetdump
  code as well.
- Replace hardcoded value of OS_INFO_CSUM_SIZE with a properly
  calculated one.
- Rename os_info_check() of kdump.h to kdump_os_info_check().

Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2023-07-20 21:45:27 +02:00

24 lines
485 B
C

/*
* zipl - zSeries Initial Program Loader tool
*
* Stand-alone kdump definitions
*
* Copyright IBM Corp. 2013, 2023
*
* s390-tools is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef KDUMP_H
#define KDUMP_H
#include "boot/os_info.h"
#define OS_INFO_VERSION_MAJOR_SUPPORTED 1
void kdump_os_info_check(struct os_info *os_info);
void kdump_failed(unsigned long reason);
#endif /* KDUMP_H */