2020-01-31 06:46:18 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018-2020 Atmosphère-NX
|
|
|
|
*
|
|
|
|
* 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 03:58:57 +00:00
|
|
|
#ifdef ATMOSPHERE_ARCH_ARM64
|
2020-01-31 06:46:18 +00:00
|
|
|
#include <mesosphere/arch/arm64/kern_k_thread_context.hpp>
|
|
|
|
|
|
|
|
namespace ams::kern {
|
2020-02-15 02:22:55 +00:00
|
|
|
using ams::kern::arch::arm64::KThreadContext;
|
2020-07-28 10:56:47 +00:00
|
|
|
|
|
|
|
using ams::kern::arch::arm64::GetUserContext;
|
2020-01-31 06:46:18 +00:00
|
|
|
}
|
|
|
|
#else
|
2020-02-15 03:58:57 +00:00
|
|
|
#error "Unknown architecture for KThreadContext"
|
2020-01-31 06:46:18 +00:00
|
|
|
#endif
|