aboutsummaryrefslogtreecommitdiff
path: root/src/kstd.cpp
blob: 77155afcce3fd90588f8e9090d64483f000c0b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "kapi/system.hpp"

#include <kstd/bits/os.hpp>

namespace kstd::os
{

  auto abort() -> bool
  {
    panic("Abort called.");
    return true;
  }

  auto panic(std::string_view message, std::source_location location) -> void
  {
    teachos::system::panic(message, location);
  }

}  // namespace kstd::os