mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Kernel: Unbreak building with extra debug macros, part 2
This commit is contained in:
parent
eac3bbdcee
commit
081bb29626
Notes:
sideshowbarker
2024-07-19 03:02:27 +09:00
Author: https://github.com/BenWiederhake
Commit: 081bb29626
Pull-request: https://github.com/SerenityOS/serenity/pull/3314
9 changed files with 28 additions and 18 deletions
|
@ -79,9 +79,10 @@
|
|||
#include <LibELF/Validation.h>
|
||||
#include <LibKeyboard/CharacterMapData.h>
|
||||
|
||||
//#define PROCESS_DEBUG
|
||||
//#define DEBUG_POLL_SELECT
|
||||
//#define DEBUG_IO
|
||||
//#define DEBUG_POLL_SELECT
|
||||
//#define MM_DEBUG
|
||||
//#define PROCESS_DEBUG
|
||||
//#define SIGNAL_DEBUG
|
||||
|
||||
namespace Kernel {
|
||||
|
@ -367,12 +368,12 @@ Process::Process(Thread*& first_thread, const String& name, uid_t uid, gid_t gid
|
|||
, m_ppid(ppid)
|
||||
{
|
||||
#ifdef PROCESS_DEBUG
|
||||
dbg() << "Created new process " << m_name << "(" << m_pid << ")";
|
||||
dbg() << "Created new process " << m_name << "(" << m_pid.value() << ")";
|
||||
#endif
|
||||
|
||||
m_page_directory = PageDirectory::create_for_userspace(*this, fork_parent ? &fork_parent->page_directory().range_allocator() : nullptr);
|
||||
#ifdef MM_DEBUG
|
||||
dbg() << "Process " << pid() << " ctor: PD=" << m_page_directory.ptr() << " created";
|
||||
dbg() << "Process " << pid().value() << " ctor: PD=" << m_page_directory.ptr() << " created";
|
||||
#endif
|
||||
|
||||
if (fork_parent) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue