2019-07-22 10:23:47 -04:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Lexmark International, Inc.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-05-06 11:11:04 +02:00
|
|
|
#include <zephyr/kernel.h>
|
|
|
|
#include <zephyr/device.h>
|
|
|
|
#include <zephyr/arch/arm/aarch32/cortex_a_r/cmsis.h>
|
2019-07-22 10:23:47 -04:00
|
|
|
|
2021-06-21 12:22:24 +02:00
|
|
|
void z_arm_platform_init(void)
|
2019-10-16 16:46:48 +09:00
|
|
|
{
|
|
|
|
/*
|
|
|
|
* Use normal exception vectors address range (0x0-0x1C).
|
|
|
|
*/
|
2020-02-12 14:48:21 +09:00
|
|
|
unsigned int sctlr = __get_SCTLR();
|
|
|
|
|
|
|
|
sctlr &= ~SCTLR_V_Msk;
|
|
|
|
__set_SCTLR(sctlr);
|
2019-10-16 16:46:48 +09:00
|
|
|
}
|