Home
last modified time | relevance | path

Searched +full:arm +full:- +full:software (Results 1 – 25 of 59) sorted by relevance

123

/optee_os/lib/libutils/isoc/arch/arm/
H A Dsetjmp_a64.S1 /* SPDX-License-Identifier: BSD-3-Clause */
3 Copyright (c) 2011, 2012 ARM Ltd
15 products derived from this software without specific prior written
18 THIS SOFTWARE IS PROVIDED BY ARM LTD ``AS IS'' AND ANY EXPRESS OR IMPLIED
21 IN NO EVENT SHALL ARM LTD BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
58 stp x29, x30, [sp, #-16]!
68 .size setjmp, .-setjmp
78 stp x0, x1, [sp, #-16]!
79 stp x29, x30, [sp, #-16]!
[all …]
H A Dsetjmp_a32.S1 /* SPDX-License-Identifier: BSD-3-Clause */
3 * Copyright (c) 1994-2009 Red Hat, Inc.
18 * software without specific prior written permission.
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
48 #define SIZE(x) .size SYM(x), . - SYM(x)
54 .section .note.GNU-stack,"",%progbits
56 /* Arm/Thumb interworking support:
60 in both interworked and non-interworked environments as well as with
65 (We know that we are in ARM mode and returning to an ARM mode caller).
[all …]
/optee_os/core/arch/arm/kernel/
H A Dspin_lock_a64.S1 /* SPDX-License-Identifier: (BSD-2-Clause AND BSD-3-Clause) */
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
42 * Neither the name of ARM nor the names of its contributors may be used
43 * to endorse or promote products derived from this software without specific
46 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
55 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
H A Dspin_lock_a32.S1 /* SPDX-License-Identifier: BSD-3-Clause */
4 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
18 * Neither the name of ARM nor the names of its contributors may be used
19 * to endorse or promote products derived from this software without specific
22 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
52 /* int __cpu_spin_trylock(unsigned int *lock) - return 0 on success */
H A Dkern.ld.S1 /* SPDX-License-Identifier: (BSD-2-Clause AND MIT) */
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30 * Copyright (c) 2008-2010 Travis Geiselbrecht
33 * a copy of this software and associated documentation files
34 * (the "Software"), to deal in the Software without restriction,
36 * publish, distribute, sublicense, and/or sell copies of the Software,
37 * and to permit persons to whom the Software is furnished to do so,
41 * included in all copies or substantial portions of the Software.
43 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
[all …]
H A Dunwind_arm32.c1 // SPDX-License-Identifier: BSD-2-Clause
4 * Copyright 2013-2014 Andrew Turner.
5 * Copyright 2013-2014 Ian Lepore.
6 * Copyright 2013-2014 Rui Paulo.
20 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
29 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
33 #include <arm.h>
70 /* r7: Thumb-style frame pointer */ in unw_get_kernel_stack()
72 /* r11: ARM-style frame pointer */ in unw_get_kernel_stack()
114 /* r7: Thumb-style frame pointer */ in print_kernel_stack()
[all …]
H A Dsemihosting_a64.S1 /* SPDX-License-Identifier: BSD-2-Clause */
12 * https://github.com/ARM-software/abi-aa/blob/main/semihosting/semihosting.rst
H A Dunwind_arm64.c1 // SPDX-License-Identifier: BSD-2-Clause
2 /*-
7 * This software was developed by Semihalf under
19 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 #include <arm.h>
43 const uint64_t va_mask = GENMASK_64(CFG_LPAE_ADDR_SPACE_BITS - 1, 0); in pauth_strip_pac()
99 print_stack_arm64(&state, stack_start, stack_end - stack_start); in print_kernel_stack()
/optee_os/core/arch/arm/plat-zynqmp/
H A Dmain.c1 // SPDX-License-Identifier: BSD-2-Clause
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38 #include <arm.h>
69 #error DDR size over 2 GiB is not supported in 32 bit ARM mode
73 register_ddr(DRAM1_BASE, CFG_DDR_SIZE - 0x80000000);
/optee_os/core/drivers/crypto/caam/utils/
H A Dutils_delay.c1 // SPDX-License-Identifier: BSD-2-Clause
8 #include <arm.h>
15 /* Implementation of a Software loop assuming CPU clock of 500MHz */ in caam_udelay()
16 while (counter--) { in caam_udelay()
/optee_os/core/arch/arm/include/kernel/
H A Ddelay_arch.h1 /* SPDX-License-Identifier: BSD-2-Clause */
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 #include <arm.h>
/optee_os/core/arch/arm/plat-sunxi/
H A Dplat_init.S1 /* SPDX-License-Identifier: BSD-2-Clause */
17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 #include <arm.h>
/optee_os/core/arch/arm/plat-rzn1/
H A Dpsci.c1 // SPDX-License-Identifier: BSD-2-Clause
7 #include <arm.h>
77 /* Enable software reset */ in psci_system_reset()
82 /* Trigger software reset */ in psci_system_reset()
/optee_os/core/arch/arm/plat-hikey/
H A Dhikey_peripherals.h1 /* SPDX-License-Identifier: BSD-3-Clause */
16 * Neither the name of ARM nor the names of its contributors may be used
17 * to endorse or promote products derived from this software without specific
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
H A Dplatform_config.h1 /* SPDX-License-Identifier: BSD-2-Clause */
54 * TZDRAM is secured (firewalled) by the DDR controller, see ARM-TF, but note
57 * 2. It is still somewhat prone to software attacks because the memory
58 * protection may be reverted by the non-secure kernel with a piece of
59 * code similar to the one that sets the protection in ARM-TF (we're
62 * TZSRAM is emulated in the TZDRAM area, because the on-chip SRAM of the
63 * HiKey SoC is too small to run OP-TEE (72K total with 64K available, see
64 * "SRAM Memory Region Layout" in ARM-TF plat/hikey/include/hisi_sram_map.h),
70 * 0x4000_0000 -
74 * 0x3F00_0000 [TZDRAM_BASE, BL32_LOAD_ADDR] -
[all …]
/optee_os/core/drivers/
H A Dtzc400.c1 // SPDX-License-Identifier: (BSD-2-Clause AND BSD-3-Clause)
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
41 * Neither the name of ARM nor the names of its contributors may be used
42 * to endorse or promote products derived from this software without specific
45 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
54 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
222 * We expect to see a tzc400. Check component ID. The TZC-400 TRM shows in tzc_init()
270 assert(((cfg->filters >> tzc.num_filters) == 0) && in tzc_configure_region()
[all …]
/optee_os/core/arch/arm/plat-rpi3/
H A Dplatform_config.h1 /* SPDX-License-Identifier: BSD-2-Clause */
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
59 * 0x0840_0000 [ARM Trusted Firmware ] -
60 * 0x0840_0000 [TZDRAM_BASE, BL32_LOAD_ADDR] -
64 * 0x0000_0000 [DRAM0_BASE] -
/optee_os/lib/libutils/ext/include/
H A Dspeculation_barrier.h1 /* SPDX-License-Identifier: BSL-1.0 */
2 /* Copyright (c) 2017 Arm Limited. All rights reserved.
4 Boost Software License - Version 1.0 - August 17th, 2003
7 obtaining a copy of the software and accompanying documentation covered by
8 this license (the "Software") to use, reproduce, display, distribute,
9 execute, and transmit the Software, and to prepare derivative works of the
10 Software, and to permit third-parties to whom the Software is furnished to do
13 The copyright notices in the Software and this entire statement, including
15 be included in all copies of the Software, in whole or in part, and all
16 derivative works of the Software, unless such copies or derivative works are
[all …]
H A Dconfine_array_index.h1 /* SPDX-License-Identifier: BSD-3-Clause */
4 // Use of this source code is governed by a BSD-style license that can be
21 this software without specific prior written permission.
22 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39 // confine_array_index() bounds-checks and sanitizes an array index safely in the presence of
41 // returns a sanitized index, even in speculative-path execution.
53 // 3: return -1;
63 // 3: return -1;
73 // See "Cache Speculation Side-channels" whitepaper, section "Software Mitigation". in confine_array_index()
[all …]
/optee_os/lib/libmbedtls/mbedtls/
H A DREADME.md6 Mbed TLS includes a reference implementation of the [PSA Cryptography API](#psa-cryptography-api). …
9 -------------
11 … more programmatic way using the Python 3 script `scripts/config.py` (use `--help` for usage instr…
15 We provide some non-standard configurations focused on specific use cases in the `configs/` directo…
18 -------------
20 The main Mbed TLS documentation is available via [ReadTheDocs](https://mbed-tls.readthedocs.io/).
22 … for the PSA Cryptography API is available [on GitHub](https://arm-software.github.io/psa-api/cryp…
24 To generate a local copy of the library documentation in HTML format, tailored to your compile-time…
33 ---------
37 - GNU Make
[all …]
/optee_os/core/include/drivers/
H A Dtzc400.h1 /* SPDX-License-Identifier: (BSD-2-Clause AND BSD-3-Clause) */
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * Copyright (c) 2014, ARM Limited and Contributors. All rights reserved.
41 * Neither the name of ARM nor the names of its contributors may be used
42 * to endorse or promote products derived from this software without specific
45 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
54 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
151 /* If set non-secure access, else secure access */
199 * TZC_ACTION_NONE - No interrupt, no Exception
[all …]
/optee_os/core/arch/arm/plat-ls/
H A Dplat_init.S1 /* SPDX-License-Identifier: BSD-2-Clause */
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * and with ARM registers R0, R1, R2, R3 being scratchable.
48 * Use scratables registers R0-R3.
71 * - core NOT booted in full SMP (FW bit0=0)
74 * - NSec cannot change ACTRL.SMP (NS_SMP bit18=0)
75 * - NSec can use SIMD/VFP (CP10/CP11) (bit15:14=2b00, bit11:10=2b11)
/optee_os/core/arch/arm/plat-marvell/
H A Dmain.c1 // SPDX-License-Identifier: BSD-2-Clause
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 #include <arm.h>
108 MEM_AREA_IO_SEC, sizeof(hwkey->data)); in tee_otp_get_hw_unique_key()
114 memcpy(&hwkey->data[0], huk, sizeof(hwkey->data)); in tee_otp_get_hw_unique_key()
/optee_os/core/arch/arm/plat-imx/
H A Dmain.c1 // SPDX-License-Identifier: BSD-2-Clause
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 #include <arm.h>
/optee_os/core/arch/arm/plat-zynq7k/
H A Dplat_init.S1 /* SPDX-License-Identifier: BSD-2-Clause */
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 * and with ARM registers R0, R1, R2, R3 being scratchable.
54 * Use registers R0-R3.
75 * - Round-Robin replac. for icache, btac, i/duTLB (bit14: RoundRobin)
78 * - core always in full SMP (FW bit0=1, SMP bit6=1)
79 * - L2 write full line of zero disabled (bit3=0)
83 * - NSec cannot change ACTRL.SMP (NS_SMP bit18=0)
84 * - Nsec can lockdown TLB (TL bit17=1)
[all …]

123