mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
include/boot: Move zipl/boot/error.h to include/boot
- Move zipl/boot/error.h to include/boot - Adjust include statements in zipb/boot and genprotimg/boot - Remove error.h from tunedasd/src/tunedasd.c as not needed - Fix tunedasd/src/Makefile 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>
This commit is contained in:
committed by
Jan Höppner
parent
b06ca88cd4
commit
eb06ebe245
@@ -11,9 +11,10 @@
|
||||
#include "stage3a.h"
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/s390.h"
|
||||
#include "boot/ipl.h"
|
||||
#include "sclp.h"
|
||||
#include "error.h"
|
||||
|
||||
|
||||
static volatile struct stage3a_args __section(".loader_parms") loader_parms;
|
||||
|
||||
@@ -12,10 +12,11 @@
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
#include "boot/psw.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/s390.h"
|
||||
#include "boot/linux_layout.h"
|
||||
#include "boot/loaders_layout.h"
|
||||
#include "sclp.h"
|
||||
#include "error.h"
|
||||
|
||||
|
||||
static volatile struct stage3b_args __section(".loader_parms") loader_parms;
|
||||
|
||||
@@ -34,10 +34,10 @@
|
||||
/* Secure IPL error */
|
||||
#define ESECUREBOOT 0x00004512
|
||||
|
||||
/* kdump: No operating system information was found */
|
||||
/* os_info error: No operating system information was found */
|
||||
#define EOS_INFO_MISSING 0x00004520
|
||||
|
||||
/* kdump: The checksum of the operating system information is incorrect */
|
||||
/* os_info error: The checksum of the operating system information is incorrect */
|
||||
#define EOS_INFO_CSUM_FAILED 0x00004521
|
||||
|
||||
/* kdump: The major version of the operating system information is too high */
|
||||
@@ -1,6 +1,6 @@
|
||||
include ../../common.mak
|
||||
|
||||
ALL_CPPFLAGS += -I../include -I../boot
|
||||
ALL_CPPFLAGS += -I../include
|
||||
|
||||
libs = $(rootdir)/libdasd/libdasd.a \
|
||||
$(rootdir)/libutil/libutil.a
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "lib/zt_common.h"
|
||||
|
||||
#include "disk.h"
|
||||
#include "error.h"
|
||||
#include "tunedasd.h"
|
||||
|
||||
static const struct util_prg prg = {
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
*/
|
||||
|
||||
#include "cio.h"
|
||||
#include "error.h"
|
||||
#include "libc.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/s390.h"
|
||||
|
||||
static unsigned long initial_lpm = 0x00;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "cio.h"
|
||||
#include "eckd2dump.h"
|
||||
#include "error.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/s390.h"
|
||||
#include "stage2dump.h"
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
*/
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
#include "boot/error.h"
|
||||
|
||||
#include "eckd2dump.h"
|
||||
#include "error.h"
|
||||
#include "stage2dump.h"
|
||||
|
||||
#define MVDUMP_TOOL_SIZE 0x3000 /* Size of dump record */
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
#include "boot/boot_defs.h"
|
||||
#include "boot/error.h"
|
||||
|
||||
#include "eckd2dump.h"
|
||||
#include "error.h"
|
||||
#include "stage2dump.h"
|
||||
|
||||
/*
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#ifndef FBA_H
|
||||
#define FBA_H
|
||||
|
||||
#include "error.h"
|
||||
#include "boot/error.h"
|
||||
#include "libc.h"
|
||||
#include "stage2.h"
|
||||
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
#include "boot/boot_defs.h"
|
||||
#include "boot/error.h"
|
||||
|
||||
#include "error.h"
|
||||
#include "fba.h"
|
||||
#include "stage2dump.h"
|
||||
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
* it under the terms of the MIT license. See LICENSE for details.
|
||||
*/
|
||||
|
||||
#include "error.h"
|
||||
#include "kdump.h"
|
||||
#include "libc.h"
|
||||
#include "menu.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/s390.h"
|
||||
#include "boot/os_info.h"
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#ifndef KDUMP_H
|
||||
#define KDUMP_H
|
||||
|
||||
#include "libc.h"
|
||||
#include "boot/os_info.h"
|
||||
|
||||
#define OS_INFO_VERSION_MAJOR_SUPPORTED 1
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
* it under the terms of the MIT license. See LICENSE for details.
|
||||
*/
|
||||
|
||||
#include "error.h"
|
||||
#include "kdump.h"
|
||||
#include "libc.h"
|
||||
#include "menu.h"
|
||||
#include "stage2.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/os_info.h"
|
||||
|
||||
/*
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
* it under the terms of the MIT license. See LICENSE for details.
|
||||
*/
|
||||
|
||||
#include "error.h"
|
||||
#include "kdump.h"
|
||||
#include "libc.h"
|
||||
#include "sclp_stage3.h"
|
||||
#include "stage3.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/os_info.h"
|
||||
|
||||
/*
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "boot/error.h"
|
||||
#include "boot/s390.h"
|
||||
|
||||
#include "error.h"
|
||||
#include "sclp.h"
|
||||
#include "ebcdic.h"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
*/
|
||||
|
||||
#include "libc.h"
|
||||
#include "error.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/s390.h"
|
||||
#include "sclp.h"
|
||||
#include "ebcdic.h"
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
|
||||
#include "error.h"
|
||||
#include "libc.h"
|
||||
#include "menu.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/s390.h"
|
||||
#include "boot/loaders_layout.h"
|
||||
#include "stage2.h"
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
#include "boot/boot_defs.h"
|
||||
|
||||
#include "libc.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/s390.h"
|
||||
#include "cio.h"
|
||||
#include "error.h"
|
||||
|
||||
struct stage2_descr {
|
||||
uint8_t reserved[16];
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "lib/zt_common.h"
|
||||
#include "boot/error.h"
|
||||
|
||||
#include "libc.h"
|
||||
#include "error.h"
|
||||
#include "sclp.h"
|
||||
#include "stage2dump.h"
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include "libc.h"
|
||||
#include "sclp.h"
|
||||
#include "menu.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/sigp.h"
|
||||
#include "boot/s390.h"
|
||||
#include "boot/sigp.h"
|
||||
@@ -19,7 +20,6 @@
|
||||
#include "boot/loaders_layout.h"
|
||||
|
||||
#include "stage3.h"
|
||||
#include "error.h"
|
||||
#include "ebcdic.h"
|
||||
#include "ebcdic_conv.h"
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
|
||||
#include "libc.h"
|
||||
#include "lib/zt_common.h"
|
||||
#include "boot/error.h"
|
||||
#include "boot/loaders_layout.h"
|
||||
#include "boot/s390.h"
|
||||
|
||||
#include "cio.h"
|
||||
#include "error.h"
|
||||
#include "stage2dump.h"
|
||||
|
||||
#define BLK_SIZE 0x8000 /* We write 32 KB at a time */
|
||||
|
||||
Reference in New Issue
Block a user