2019-01-20 01:31:35 +00:00
|
|
|
/*
|
2019-04-08 03:00:49 +01:00
|
|
|
* Copyright (c) 2018-2019 Atmosphère-NX
|
2019-01-20 01:31:35 +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/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef EXOSPHERE_SMC_AMS_H
|
|
|
|
#define EXOSPHERE_SMC_AMS_H
|
|
|
|
|
|
|
|
#include "smc_api.h"
|
|
|
|
|
|
|
|
uint32_t ams_iram_copy(smc_args_t *args);
|
2019-05-28 10:56:15 +01:00
|
|
|
uint32_t ams_write_address(smc_args_t *args);
|
2019-01-20 01:31:35 +00:00
|
|
|
|
2019-01-24 16:12:10 +00:00
|
|
|
void ams_map_irampage(uintptr_t iram_address);
|
|
|
|
void ams_unmap_irampage(void);
|
|
|
|
|
2019-01-20 01:31:35 +00:00
|
|
|
#endif
|