mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
sysroot and cross-compiler based build WIP
This commit is contained in:
@@ -18,3 +18,9 @@ __kernel_assert(const char *file, unsigned line, const char *message)
|
||||
__asm__ ( "int $0e7h" );
|
||||
while (1) __asm__ ("hlt");
|
||||
}
|
||||
|
||||
extern "C" [[noreturn]] void
|
||||
__assert_fail(const char *message, const char *file, unsigned int line, const char *function)
|
||||
{
|
||||
__kernel_assert(file, line, message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user