summaryrefslogtreecommitdiff
path: root/Kernel/Process.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-11-15 17:13:10 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-11-15 17:13:10 +0100
commit2529925fe9e41a4cceb436e5bc830c07810d6716 (patch)
treef5c7b99fb2786ca6e7933774bbcd7832c7eebe73 /Kernel/Process.cpp
parenteced5f11e398ab1cdf3213925bf0c0f98414d60d (diff)
downloadserenity-2529925fe9e41a4cceb436e5bc830c07810d6716.zip
Some more renaming:
FileSystem -> FS SyntheticFileSystem -> SynthFS ProcFileSystem -> ProcFS Ext2FileSystem -> Ext2FS Ext2Inode -> Ext2FSInode
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r--Kernel/Process.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp
index 6ec78994f3..3df32e6abb 100644
--- a/Kernel/Process.cpp
+++ b/Kernel/Process.cpp
@@ -274,7 +274,7 @@ Process* Process::fork(RegisterDump& regs)
dbgprintf("fork: child will begin executing at %w:%x with stack %w:%x\n", child->m_tss.cs, child->m_tss.eip, child->m_tss.ss, child->m_tss.esp);
#endif
- ProcFileSystem::the().addProcess(*child);
+ ProcFS::the().addProcess(*child);
{
InterruptDisabler disabler;
@@ -498,7 +498,7 @@ Process* Process::create_user_process(const String& path, uid_t uid, gid_t gid,
if (error != 0)
return nullptr;
- ProcFileSystem::the().addProcess(*process);
+ ProcFS::the().addProcess(*process);
{
InterruptDisabler disabler;
@@ -561,7 +561,7 @@ Process* Process::create_kernel_process(void (*e)(), String&& name)
g_processes->prepend(process);
system.nprocess++;
}
- ProcFileSystem::the().addProcess(*process);
+ ProcFS::the().addProcess(*process);
#ifdef TASK_DEBUG
kprintf("Kernel process %u (%s) spawned @ %p\n", process->pid(), process->name().characters(), process->m_tss.eip);
#endif
@@ -691,7 +691,7 @@ Process::Process(String&& name, uid_t uid, gid_t gid, pid_t ppid, RingLevel ring
Process::~Process()
{
InterruptDisabler disabler;
- ProcFileSystem::the().removeProcess(*this);
+ ProcFS::the().removeProcess(*this);
system.nprocess--;
gdt_free_entry(selector());