/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2008 Travis Geiselbrecht * Copyright (c) 2026 Bradley Morgan * * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef __PLATFORM_DEBUG_H #define __PLATFORM_DEBUG_H #include #include #include #if defined(__cplusplus) extern "C" { #endif int _dprintf(const char *fmt, ...) __PRINTFLIKE(1, 2); int _dvprintf(const char *fmt, va_list ap); void platform_halt(void); #if defined(__cplusplus) } #endif #endif