2020-01-31 07:46:18 +01:00
|
|
|
/*
|
2021-10-04 21:59:10 +02:00
|
|
|
* Copyright (c) Atmosphère-NX
|
2020-01-31 07:46:18 +01:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
2020-02-15 04:58:57 +01:00
|
|
|
#ifdef ATMOSPHERE_ARCH_ARM64
|
2020-01-31 07:46:18 +01:00
|
|
|
#include <mesosphere/arch/arm64/kern_k_thread_context.hpp>
|
|
|
|
|
|
|
|
namespace ams::kern {
|
2020-02-15 03:22:55 +01:00
|
|
|
using ams::kern::arch::arm64::KThreadContext;
|
2020-07-28 12:56:47 +02:00
|
|
|
|
|
|
|
using ams::kern::arch::arm64::GetUserContext;
|
2020-01-31 07:46:18 +01:00
|
|
|
}
|
|
|
|
#else
|
2020-02-15 04:58:57 +01:00
|
|
|
#error "Unknown architecture for KThreadContext"
|
2020-01-31 07:46:18 +01:00
|
|
|
#endif
|