summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-05-12 01:23:45 +0200
committerSubv <subv2112@gmail.com>2015-05-12 01:23:45 +0200
commit25c010dc7dda010175da42e1184e87cd1a45cbe4 (patch)
tree0bb75d868f4e46987627a9cfdc798e05013488ab /src/core/hle/kernel/kernel.cpp
parentCore/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThread (diff)
downloadyuzu-25c010dc7dda010175da42e1184e87cd1a45cbe4.tar
yuzu-25c010dc7dda010175da42e1184e87cd1a45cbe4.tar.gz
yuzu-25c010dc7dda010175da42e1184e87cd1a45cbe4.tar.bz2
yuzu-25c010dc7dda010175da42e1184e87cd1a45cbe4.tar.lz
yuzu-25c010dc7dda010175da42e1184e87cd1a45cbe4.tar.xz
yuzu-25c010dc7dda010175da42e1184e87cd1a45cbe4.tar.zst
yuzu-25c010dc7dda010175da42e1184e87cd1a45cbe4.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
-rw-r--r--src/core/hle/kernel/kernel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index 87a0dbe37..b5c98b249 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -137,8 +137,10 @@ void Init() {
Kernel::ThreadingInit();
Kernel::TimersInit();
- Process::next_process_id = 0;
Object::next_object_id = 0;
+ // TODO(Subv): Start the process ids from 10 for now, as lower PIDs are
+ // reserved for low-level services
+ Process::next_process_id = 10;
}
/// Shutdown the kernel