Filesystem stuff

This commit is contained in:
wheremyfoodat 2022-10-09 15:59:09 +03:00
parent 5992a58351
commit 272cdefca1
13 changed files with 222 additions and 32 deletions

View file

@ -4,7 +4,7 @@
#include "cpu.hpp"
Kernel::Kernel(CPU& cpu, Memory& mem, GPU& gpu)
: cpu(cpu), regs(cpu.regs()), mem(mem), handleCounter(0), serviceManager(regs, mem, gpu, currentProcess) {
: cpu(cpu), regs(cpu.regs()), mem(mem), handleCounter(0), serviceManager(regs, mem, gpu, currentProcess, *this) {
objects.reserve(512); // Make room for a few objects to avoid further memory allocs later
portHandles.reserve(32);