diff options
| author | 2023-02-16 23:16:08 -0500 | |
|---|---|---|
| committer | 2023-02-17 09:16:05 -0500 | |
| commit | 1773a1039f7422df4faac08aa366b6a6bbd645e4 (patch) | |
| tree | 9560360871f1fcd6c12df2e77452cf37658309d3 /src/core/hle/kernel/init | |
| parent | Merge pull request #9802 from Kelebek1/wait_data_cache (diff) | |
| download | yuzu-1773a1039f7422df4faac08aa366b6a6bbd645e4.tar.gz yuzu-1773a1039f7422df4faac08aa366b6a6bbd645e4.tar.xz yuzu-1773a1039f7422df4faac08aa366b6a6bbd645e4.zip | |
kernel: add KObjectName
Diffstat (limited to 'src/core/hle/kernel/init')
| -rw-r--r-- | src/core/hle/kernel/init/init_slab_setup.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/init/init_slab_setup.cpp b/src/core/hle/kernel/init/init_slab_setup.cpp index 571acf4b2..abdb5639f 100644 --- a/src/core/hle/kernel/init/init_slab_setup.cpp +++ b/src/core/hle/kernel/init/init_slab_setup.cpp | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | #include "core/hle/kernel/k_event_info.h" | 16 | #include "core/hle/kernel/k_event_info.h" |
| 17 | #include "core/hle/kernel/k_memory_layout.h" | 17 | #include "core/hle/kernel/k_memory_layout.h" |
| 18 | #include "core/hle/kernel/k_memory_manager.h" | 18 | #include "core/hle/kernel/k_memory_manager.h" |
| 19 | #include "core/hle/kernel/k_object_name.h" | ||
| 19 | #include "core/hle/kernel/k_page_buffer.h" | 20 | #include "core/hle/kernel/k_page_buffer.h" |
| 20 | #include "core/hle/kernel/k_port.h" | 21 | #include "core/hle/kernel/k_port.h" |
| 21 | #include "core/hle/kernel/k_process.h" | 22 | #include "core/hle/kernel/k_process.h" |
| @@ -49,6 +50,7 @@ namespace Kernel::Init { | |||
| 49 | HANDLER(KThreadLocalPage, \ | 50 | HANDLER(KThreadLocalPage, \ |
| 50 | (SLAB_COUNT(KProcess) + (SLAB_COUNT(KProcess) + SLAB_COUNT(KThread)) / 8), \ | 51 | (SLAB_COUNT(KProcess) + (SLAB_COUNT(KProcess) + SLAB_COUNT(KThread)) / 8), \ |
| 51 | ##__VA_ARGS__) \ | 52 | ##__VA_ARGS__) \ |
| 53 | HANDLER(KObjectName, (SLAB_COUNT(KObjectName)), ##__VA_ARGS__) \ | ||
| 52 | HANDLER(KResourceLimit, (SLAB_COUNT(KResourceLimit)), ##__VA_ARGS__) \ | 54 | HANDLER(KResourceLimit, (SLAB_COUNT(KResourceLimit)), ##__VA_ARGS__) \ |
| 53 | HANDLER(KEventInfo, (SLAB_COUNT(KThread) + SLAB_COUNT(KDebug)), ##__VA_ARGS__) \ | 55 | HANDLER(KEventInfo, (SLAB_COUNT(KThread) + SLAB_COUNT(KDebug)), ##__VA_ARGS__) \ |
| 54 | HANDLER(KDebug, (SLAB_COUNT(KDebug)), ##__VA_ARGS__) \ | 56 | HANDLER(KDebug, (SLAB_COUNT(KDebug)), ##__VA_ARGS__) \ |