1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 #ifndef _DECOMPRESSOR_H 2 #ifndef _DECOMPRESSOR_H 3 #define _DECOMPRESSOR_H 3 #define _DECOMPRESSOR_H 4 4 5 /* The linker tells us where the image is. */ 5 /* The linker tells us where the image is. */ 6 extern unsigned char __image_begin[], __image_ 6 extern unsigned char __image_begin[], __image_end[]; 7 7 8 /* debug interfaces */ 8 /* debug interfaces */ 9 #ifdef CONFIG_DEBUG_ZBOOT 9 #ifdef CONFIG_DEBUG_ZBOOT 10 extern void putc(char c); 10 extern void putc(char c); 11 extern void puts(const char *s); 11 extern void puts(const char *s); 12 extern void puthex(unsigned long long val); 12 extern void puthex(unsigned long long val); 13 #else 13 #else 14 #define putc(s) do {} while (0) 14 #define putc(s) do {} while (0) 15 #define puts(s) do {} while (0) 15 #define puts(s) do {} while (0) 16 #define puthex(val) do {} while (0) 16 #define puthex(val) do {} while (0) 17 #endif 17 #endif 18 18 19 extern char __appended_dtb[]; 19 extern char __appended_dtb[]; 20 20 21 void error(char *x); 21 void error(char *x); 22 void decompress_kernel(unsigned long boot_heap 22 void decompress_kernel(unsigned long boot_heap_start); 23 23 24 #endif 24 #endif 25 25
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.