summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-24 21:43:32 -0400
committerGravatar Lioncash2018-08-24 21:50:39 -0400
commit43e0d865faa932b980580a79a87d5ea464e9545c (patch)
treeb4f06db70fe68a3edffc29e9373b9d98b8e35306 /src/core/hle/kernel/thread.cpp
parentPort #4013 from Citra: "Init logging sooner so we dont miss some logs on star... (diff)
downloadyuzu-43e0d865faa932b980580a79a87d5ea464e9545c.tar.gz
yuzu-43e0d865faa932b980580a79a87d5ea464e9545c.tar.xz
yuzu-43e0d865faa932b980580a79a87d5ea464e9545c.zip
core: Namespace all code in the arm subdirectory under the Core namespace
Gets all of these types and interfaces out of the global namespace.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index cf4f94822..4ffd8d5cc 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -283,9 +283,9 @@ static std::tuple<std::size_t, std::size_t, bool> GetFreeThreadLocalSlot(
283 * @param entry_point Address of entry point for execution 283 * @param entry_point Address of entry point for execution
284 * @param arg User argument for thread 284 * @param arg User argument for thread
285 */ 285 */
286static void ResetThreadContext(ARM_Interface::ThreadContext& context, VAddr stack_top, 286static void ResetThreadContext(Core::ARM_Interface::ThreadContext& context, VAddr stack_top,
287 VAddr entry_point, u64 arg) { 287 VAddr entry_point, u64 arg) {
288 memset(&context, 0, sizeof(ARM_Interface::ThreadContext)); 288 memset(&context, 0, sizeof(Core::ARM_Interface::ThreadContext));
289 289
290 context.cpu_registers[0] = arg; 290 context.cpu_registers[0] = arg;
291 context.pc = entry_point; 291 context.pc = entry_point;