polka/src/Kernel.hh

29 lines
411 B
C++
Raw Normal View History

/* Kernel.hh
* vim: set tw=80:
* Eryn Wells <eryn@erynwells.me>
*/
/**
* Kernel object. This is the highest level object in the system.
*/
#ifndef __KERNEL_HH__
#define __KERNEL_HH__
#include "Attributes.hh"
namespace kernel {
struct Kernel
{
static Kernel* systemKernel();
void panic(const char* msg, ...);
void halt() NORETURN;
};
} /* namespace kernel */
#endif /* __KERNEL_HH__ */