2020-11-03 02:13:36 +00:00
|
|
|
/*
|
2021-10-04 19:59:10 +00:00
|
|
|
* Copyright (c) Atmosphère-NX
|
2020-11-03 02:13:36 +00: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
|
|
|
|
#include <stratosphere.hpp>
|
|
|
|
#include "powctl_i_power_control_driver.hpp"
|
|
|
|
|
|
|
|
#if defined(ATMOSPHERE_BOARD_NINTENDO_NX)
|
|
|
|
|
2020-12-29 20:28:07 +00:00
|
|
|
#include "board/nintendo/nx/powctl_board_impl.hpp"
|
2020-11-03 02:13:36 +00:00
|
|
|
|
|
|
|
namespace ams::powctl::impl::board {
|
2020-12-29 20:30:43 +00:00
|
|
|
using namespace ams::powctl::impl::board::nintendo::nx;
|
2020-11-03 02:13:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
2022-03-06 20:08:20 +00:00
|
|
|
// TODO #error "Unknown board for ams::powctl::impl"
|
|
|
|
|
|
|
|
namespace ams::powctl::impl::board {
|
|
|
|
|
|
|
|
inline void Initialize(bool) {
|
|
|
|
AMS_ABORT("TODO");
|
|
|
|
}
|
|
|
|
|
|
|
|
inline void Finalize() {
|
|
|
|
AMS_ABORT("TODO");
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2020-11-03 02:13:36 +00:00
|
|
|
|
|
|
|
#endif
|