/* * Copyright 2016 Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT License. */ #include #include #include #include #include "efi_platform.h" extern "C" void dprintf(const char *format, ...) { } extern "C" void panic(const char *format, ...) { va_list args; platform_switch_to_text_mode(); puts("*** PANIC ***"); va_start(args, format); vprintf(format, args); va_end(args); while (true) kBootServices->Stall(1000000); } char* platform_debug_get_log_buffer(size_t *_size) { return NULL; }