Make a KernelObject base class for all Capabilities.

This commit is contained in:
Drew Galbraith 2023-06-06 20:13:07 -07:00
parent d358c1d672
commit 4e278a4664
9 changed files with 50 additions and 21 deletions

View file

@ -2,13 +2,13 @@
#include <stdint.h>
#include "lib/ref_counted.h"
#include "lib/ref_ptr.h"
#include "object/kernel_object.h"
// Forward decl due to cyclic dependency.
class Process;
class Thread : public RefCounted<Thread> {
class Thread : public KernelObject {
public:
enum State {
UNSPECIFIED,