Added the syscalls/helpers.h file to templatize common kobject syscall operations. Also moved most syscall implementations to using process::current() and thread::current() instead of asking the scheduler.
16 lines
242 B
C++
16 lines
242 B
C++
#pragma once
|
|
/// \file event.h
|
|
/// Definition of event kobject types
|
|
|
|
#include "objects/kobject.h"
|
|
|
|
class event :
|
|
public kobject
|
|
{
|
|
public:
|
|
event() :
|
|
kobject(type::event) {}
|
|
|
|
static constexpr kobject::type type = kobject::type::event;
|
|
};
|