Added exit() function and renamed stdlib file to libc.a so GCC is happy.
This commit is contained in:
@@ -18,7 +18,7 @@ enum class Syscall : std::uint64_t
|
||||
|
||||
void setupSyscall() noexcept;
|
||||
|
||||
template<typename TParam0, typename TParam1, typename TParam2>
|
||||
template<typename TParam0 = int, typename TParam1 = int, typename TParam2 = int>
|
||||
inline void doSyscall(Syscall cmd, TParam0 param0 = 0, TParam1 param1 = 0, TParam2 param2 = 0) noexcept
|
||||
{
|
||||
register std::uint64_t r8 asm("r8") = param2;
|
||||
|
||||
Reference in New Issue
Block a user