mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-14 10:05:43 +01:00
26 lines
324 B
C++
26 lines
324 B
C++
#ifdef CLOVER_BUILD
|
|
#include "../../Platform/BootLog.h"
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <Library/BaseLib.h> // for CpuDeadLoop
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|
|
|
|
#else
|
|
|
|
#include <Platform.h>
|
|
|
|
#endif
|
|
|
|
void abort(void)
|
|
{
|
|
DebugLog(2, "A fatal error happened. System halted\n");
|
|
CpuDeadLoop();
|
|
}
|