repo_id
string
size
int64
file_path
string
content
string
amd/aocl-libm-ose
3,667
src/isa/avx2/gas/sin_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
27,377
src/isa/avx2/gas/vrs4_log2f_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
3,402
src/isa/avx2/gas/tan_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
2,004
src/isa/avx2/gas/fmaf_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
5,187
src/isa/avx2/gas/sincosf_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
7,924
src/isa/avx2/gas/vrda_exp10_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
4,683
src/isa/avx2/gas/exp2f_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
101,415
src/isa/avx2/gas/fastpow_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
7,712
src/isa/avx2/gas/vrsa_exp2f_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
2,004
src/isa/avx2/gas/fma_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
8,775
src/isa/avx2/gas/vrd2_exp_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
46,158
src/isa/avx2/gas/log_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
29,628
src/isa/avx2/gas/vrda_cbrt_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
11,702
src/isa/avx2/gas/vrda_expm1_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
50,927
src/isa/avx2/gas/vrd2_pow_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
15,368
src/isa/avx2/gas/vrda_log10_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
28,756
src/isa/avx2/gas/vrsa_logf_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
14,614
src/isa/avx2/gas/vrd2_log10_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
5,708
src/isa/avx2/gas/vrd2_tan_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
28,810
src/isa/avx2/gas/vrd2_cbrt_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
13,833
src/isa/avx2/gas/vrsa_log1pf_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
8,083
src/isa/avx2/gas/vrda_exp_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
6,141
src/isa/avx2/gas/exp10_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
7,635
src/isa/avx2/gas/vrda_sin_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
29,493
src/isa/avx2/gas/vrsa_log10f_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
14,534
src/isa/avx2/gas/vrd2_log2_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
4,517
src/isa/avx2/gas/expf_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
2,565
src/isa/avx2/gas/fabs.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
9,844
src/isa/avx2/gas/vrd2_expm1_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
amd/aocl-libm-ose
5,587
src/isa/avx2/gas/vrs4_exp2f_fma3.S
# # Copyright (C) 2008-2022 Advanced Micro Devices, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, # this list of...
Ameba-AIoT/ameba-rtos
2,289
component/soc/amebasmart/fwlib/ap_core/vectors_table.S
/* * Copyright (c) 2020 Realtek Semiconductor Corp. All rights reserved. * * Author: PSP Software Group */ /** * @file asm_vectors.s * * This file contains the initial vector table for the Cortex A35 processor * */ .org 0 .text .section .vectors,"ax" .globl _vector_table .extern _boot .extern FreeRTO...
Ameba-AIoT/ameba-rtos
2,966
component/soc/amebasmart/fwlib/ap_core/translation_table.S
/* * Copyright (c) 2020 Realtek Semiconductor Corp. All rights reserved. * * Author: PSP Software Group */ /*****************************************************************************/ /** * @file translation_table.s * * @addtogroup a7_boot_code * @{ * <h2> translation_table.S </h2> * translation_table.S contain...
Ameba-AIoT/ameba-rtos
8,334
component/soc/amebasmart/fwlib/ap_core/startup.S
/* * Copyright (c) 2020 Realtek Semiconductor Corp. All rights reserved. * * Author: PSP Software Group */ #define UART_BASE_ADDRESS 0x4200C000 #ifndef FIQ_STACK_SIZE #define FIQ_STACK_SIZE 1024 #endif #ifndef IRQ_STACK_SIZE #define IRQ_STACK_SIZE 1024 #endif #ifndef SUPERVISOR_STACK_SIZE #define SUPERVISOR_...
Ameba-AIoT/ameba-rtos
2,749
component/soc/amebasmart/fwlib/ap_core/cache-v7.S
/* * Copyright (c) 2020 Realtek Semiconductor Corp. All rights reserved. * * Author: PSP Software Group */ /* * invalidate_l1 */ .global invalidate_l1 .type invalidate_l1, %function invalidate_l1: mov r0, #0 mcr p15, 2, r0, c0, c0, 0 mrc p15, 1, r0, c0, c0, 0 movw r1, #0x7fff and r2, r1, r0, lsr #13 m...
Ameba-AIoT/ameba-rtos
6,461
component/soc/amebasmart/fwlib/ap_core/xlat_table/cache_helpers.S
/* * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include "arch.h" #include "asm_macros.S" .globl flush_dcache_range .globl clean_dcache_range .globl inv_dcache_range .globl dcsw_op_louis .globl dcsw_op_all .globl dcsw_op_level1 .globl...
Ameba-AIoT/ameba-rtos
3,209
component/soc/amebasmart/fwlib/ap_core/xlat_table/asm_macros_common.S
/* * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ASM_MACROS_COMMON_S #define ASM_MACROS_COMMON_S /* * This macro is used to create a function label and place the * code into a separate text section based on the function name ...
Ameba-AIoT/ameba-rtos
5,979
component/soc/amebasmart/fwlib/ap_core/xlat_table/asm_macros.S
/* * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef ASM_MACROS_S #define ASM_MACROS_S #include "arch.h" #include "asm_macros_common.S" #include "spinlock.h" /* * TLBI instruction with type specifier that implements the workaround f...
Ameba-AIoT/ameba-rtos
2,547
component/soc/amebasmart/fwlib/ap_core/xlat_table/enable_mmu.S
/* * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include "asm_macros.S" #include "assert_macros.S" #include "xlat_tables_v2.h" .global enable_mmu_direct_svc_mon .global enable_mmu_direct_hyp /* void enable_mmu_direct_svc_mon(unsigned int...
Ameba-AIoT/ameba-rtos
3,528
component/soc/amebasmart/atf/bl2/bl2.ld.S
/* * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <common/bl_common.ld.h> #include <lib/xlat_tables/xlat_tables_defs.h> OUTPUT_FORMAT(PLATFORM_LINKER_FORMAT) OUTPUT_ARCH(PLATFORM_LINKER_ARCH) ENTRY(bl2_entrypoint) MEMORY { R...
Ameba-AIoT/ameba-rtos
5,156
component/soc/amebasmart/atf/bl2/bl2_el3.ld.S
/* * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <common/bl_common.ld.h> #include <lib/xlat_tables/xlat_tables_defs.h> OUTPUT_FORMAT(PLATFORM_LINKER_FORMAT) OUTPUT_ARCH(PLATFORM_LINKER_ARCH) ENTRY(bl2_entrypoint) MEMORY { #if B...
Ameba-AIoT/ameba-rtos
3,434
component/soc/amebasmart/atf/bl2u/bl2u.ld.S
/* * Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <platform_def.h> #include <common/bl_common.ld.h> #include <lib/xlat_tables/xlat_tables_defs.h> OUTPUT_FORMAT(PLATFORM_LINKER_FORMAT) OUTPUT_ARCH(PLATFORM_LINKER_ARCH) ENTRY(bl2u...
Ameba-AIoT/ameba-rtos
4,865
component/soc/amebasmart/atf/bl1/bl1.ld.S
/* * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <common/bl_common.ld.h> #include <lib/xlat_tables/xlat_tables_defs.h> OUTPUT_FORMAT(PLATFORM_LINKER_FORMAT) OUTPUT_ARCH(PLATFORM_LINKER_ARCH) ENTRY(bl1_entrypoint) MEMORY { R...
Ameba-AIoT/ameba-rtos
5,916
component/soc/amebasmart/atf/bl31/bl31.ld.S
/* * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <common/bl_common.ld.h> #include <lib/xlat_tables/xlat_tables_defs.h> OUTPUT_FORMAT(PLATFORM_LINKER_FORMAT) OUTPUT_ARCH(PLATFORM_LINKER_ARCH) ENTRY(bl31_entrypoint) MEMORY { ...
Ameba-AIoT/ameba-rtos
2,289
component/soc/amebasmart/atf/bl2/aarch32/bl2_el3_entrypoint.S
/* * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <common/bl_common.h> #include <el3_common_macros.S> .globl bl2_entrypoint .globl bl2_run_next_image func bl2_entrypoint /* Save argu...
Ameba-AIoT/ameba-rtos
3,500
component/soc/amebasmart/atf/bl2/aarch32/bl2_entrypoint.S
/* * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <common/bl_common.h> .globl bl2_vector_table .globl bl2_entrypoint vector_base bl2_vector_table b bl2_entrypoint b report_exception...
Ameba-AIoT/ameba-rtos
3,298
component/soc/amebasmart/atf/bl2/aarch64/bl2_el3_exceptions.S
/* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <bl1/bl1.h> #include <common/bl_common.h> #include <context.h> /* ----------------------------------------------------------------------------...
Ameba-AIoT/ameba-rtos
2,888
component/soc/amebasmart/atf/bl2/aarch64/bl2_el3_entrypoint.S
/* * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <platform_def.h> #include <arch.h> #include <asm_macros.S> #include <common/bl_common.h> #include <el3_common_macros.S> .globl bl2_entrypoint .globl bl2_el3_run_image .globl b...
Ameba-AIoT/ameba-rtos
3,668
component/soc/amebasmart/atf/bl2/aarch64/bl2_entrypoint.S
/* * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <common/bl_common.h> .globl bl2_entrypoint func bl2_entrypoint /*--------------------------------------------- * Save arguments x...
Ameba-AIoT/ameba-rtos
3,827
component/soc/amebasmart/atf/bl2/mips/bl2_entrypoint.S
/* * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2017, Realtek. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source c...
Ameba-AIoT/ameba-rtos
6,573
component/soc/amebasmart/atf/plat/realtek/sheipa/aarch32/plat_helpers.S
/* * Copyright (c) 2020 Realtek Semiconductor Corp. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <platform_def.h> .globl plat_my_core_pos .globl plat_report_exception .globl plat_report_prefetch_abort .globl pla...
Ameba-AIoT/ameba-rtos
3,838
component/soc/amebasmart/atf/plat/realtek/sheipa/aarch64/plat_helpers.S
/* * Copyright (c) 2015-2019, Realtek Semiconductor Corp. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <platform_def.h> .globl plat_my_core_pos .globl plat_get_my_entrypoint .globl platform_mem_init .globl plat_...
Ameba-AIoT/ameba-rtos
4,542
component/soc/amebasmart/atf/plat/realtek/sheipa/uart/aarch32/sheipa_console.S
/* * Copyright (c) 2016-2019, Realtek Semiconductor Corp. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <console_macros.S> #include <sheipa_console.h> .globl console_core_init .globl console_core_putc .globl conso...
Ameba-AIoT/ameba-rtos
4,467
component/soc/amebasmart/atf/plat/realtek/sheipa/uart/aarch64/sheipa_console.S
/* * Copyright (c) 2016-2019, Realtek Semiconductor Corp. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <console_macros.S> #include <sheipa_console.h> .globl console_core_init .globl console_core_putc .globl conso...
Ameba-AIoT/ameba-rtos
2,222
component/soc/amebasmart/atf/plat/common/aarch32/crash_console_helpers.S
/* * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /* * If a platform wishes to use the functions in this file it has to be added to * the Makefile of the platform. It is not included in the common Makefile. */ #include <asm_macros.S> #inclu...
Ameba-AIoT/ameba-rtos
1,393
component/soc/amebasmart/atf/plat/common/aarch32/platform_mp_stack.S
/* * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <platform_def.h> .weak plat_get_my_stack .weak plat_set_my_stack /* ----------------------------------------------------- * uintptr...
Ameba-AIoT/ameba-rtos
2,536
component/soc/amebasmart/atf/plat/common/aarch32/platform_helpers.S
/* * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> .weak plat_report_exception .weak plat_report_prefetch_abort .weak plat_report_data_abort .weak plat_reset_handler .weak plat_disable_acp .w...
Ameba-AIoT/ameba-rtos
1,438
component/soc/amebasmart/atf/plat/common/aarch32/platform_up_stack.S
/* * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <platform_def.h> .weak plat_get_my_stack .weak plat_set_my_stack /* ----------------------------------------------------- * unsigne...
Ameba-AIoT/ameba-rtos
6,130
component/soc/amebasmart/atf/plat/common/aarch64/crash_console_helpers.S
/* * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /* * If a platform wishes to use the functions in this file it has to be added to * the Makefile of the platform. It is not included in the common Makefile. */ #include <asm_macros.S> #...
Ameba-AIoT/ameba-rtos
2,035
component/soc/amebasmart/atf/plat/common/aarch64/platform_mp_stack.S
/* * Copyright (c) 2014-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <platform_def.h> .local platform_normal_stacks .weak plat_get_my_stack .weak plat_set_my_stack /* -------...
Ameba-AIoT/ameba-rtos
3,392
component/soc/amebasmart/atf/plat/common/aarch64/platform_helpers.S
/* * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <drivers/console.h> #include <platform_def.h> .weak plat_report_exception .weak plat_reset_handler .weak plat_disable_acp .weak bl1_p...
Ameba-AIoT/ameba-rtos
1,485
component/soc/amebasmart/atf/plat/common/aarch64/platform_up_stack.S
/* * Copyright (c) 2014-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <platform_def.h> .local platform_normal_stacks .weak plat_set_my_stack .weak plat_get_my_stack /* ---------------------------------...
Ameba-AIoT/ameba-rtos
5,392
component/soc/amebasmart/atf/plat/common/mips/platform_helpers.S
/* * Copyright (c) 2013-2016, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2015-2016, Cortina Access. All rights reserved. * Copyright (c) 2017, Realtek. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
Ameba-AIoT/ameba-rtos
3,147
component/soc/amebasmart/atf/plat/common/mips/platform_up_stack.S
/* * Copyright (c) 2014, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2015-2016, Cortina Access. All rights reserved. * Copyright (c) 2017, Realtek. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fol...
Ameba-AIoT/ameba-rtos
3,512
component/soc/amebasmart/atf/bl2u/aarch32/bl2u_entrypoint.S
/* * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <common/bl_common.h> .globl bl2u_vector_table .globl bl2u_entrypoint vector_base bl2u_vector_table b bl2u_entrypoint b report_excep...
Ameba-AIoT/ameba-rtos
3,499
component/soc/amebasmart/atf/bl2u/aarch64/bl2u_entrypoint.S
/* * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <common/bl_common.h> .globl bl2u_entrypoint func bl2u_entrypoint /*--------------------------------------------- * Store the extent...
Ameba-AIoT/ameba-rtos
5,630
component/soc/amebasmart/atf/drivers/console/aarch32/skeleton_console.S
/* * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm_macros.S> #include <console_macros.S> /* * This file contains a skeleton console driver that can be used as a * basis for a real console driver. Console drivers in Truste...
Ameba-AIoT/ameba-rtos
5,629
component/soc/amebasmart/atf/drivers/console/aarch64/skeleton_console.S
/* * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm_macros.S> #include <console_macros.S> /* * This file contains a skeleton console driver that can be used as a * basis for a real console driver. Console drivers in Truste...
Ameba-AIoT/ameba-rtos
3,158
component/soc/amebasmart/atf/drivers/console/mips/console.S
/* * Copyright (c) 2016-2017, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2017, Realtek. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm_macros.S> .globl console_init .globl console_uninit .globl console_putc .globl console_getc .globl console_flush /*...
Ameba-AIoT/ameba-rtos
3,428
component/soc/amebasmart/atf/drivers/coreboot/cbmem_console/aarch64/cbmem_console.S
/* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm_macros.S> #include <console_macros.S> #include <drivers/coreboot/cbmem_console.h> /* * This driver implements access to coreboot's in-memory console * (CBMEM console). For the o...
Ameba-AIoT/ameba-rtos
4,542
component/soc/amebasmart/atf/drivers/sheipa/uart/aarch32/sheipa_console.S
/* * Copyright (c) 2016-2019, Realtek Semiconductor Corp. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <console_macros.S> #include <sheipa_console.h> .globl console_core_init .globl console_core_putc .globl conso...
Ameba-AIoT/ameba-rtos
4,467
component/soc/amebasmart/atf/drivers/sheipa/uart/aarch64/sheipa_console.S
/* * Copyright (c) 2016-2019, Realtek Semiconductor Corp. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <console_macros.S> #include <sheipa_console.h> .globl console_core_init .globl console_core_putc .globl conso...
Ameba-AIoT/ameba-rtos
7,167
component/soc/amebasmart/atf/drivers/arm/pl011/aarch32/pl011_console.S
/* * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <console_macros.S> #include <drivers/arm/pl011.h> /* * "core" functions are low-level implementations that d...
Ameba-AIoT/ameba-rtos
7,132
component/soc/amebasmart/atf/drivers/arm/pl011/aarch64/pl011_console.S
/* * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <console_macros.S> #include <drivers/arm/pl011.h> /* * "core" functions are low-level implementations that d...
Ameba-AIoT/ameba-rtos
1,583
component/soc/amebasmart/atf/drivers/arm/css/sds/aarch32/sds_helpers.S
/* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <drivers/arm/css/sds.h> #include <platform_def.h> #include "../sds_private.h" .globl sds_get_primary_cpu_id /* * int sds_get_primary_cpu...
Ameba-AIoT/ameba-rtos
1,562
component/soc/amebasmart/atf/drivers/arm/css/sds/aarch64/sds_helpers.S
/* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <drivers/arm/css/sds.h> #include <platform_def.h> #include "../sds_private.h" .globl sds_get_primary_cpu_id /* * int sds_get_primary_cpu...
Ameba-AIoT/ameba-rtos
4,158
component/soc/amebasmart/atf/bl1/aarch32/bl1_entrypoint.S
/* * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <common/bl_common.h> #include <context.h> #include <el3_common_macros.S> #include <smccc_helpers.h> #include <smccc_macros.S> .globl bl1...
Ameba-AIoT/ameba-rtos
3,810
component/soc/amebasmart/atf/bl1/aarch32/bl1_exceptions.S
/* * Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <bl1/bl1.h> #include <common/bl_common.h> #include <context.h> #include <lib/xlat_tables/xlat_tables.h> #include <smccc_helpers.h> #includ...
Ameba-AIoT/ameba-rtos
2,246
component/soc/amebasmart/atf/bl1/aarch64/bl1_entrypoint.S
/* * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <el3_common_macros.S> .globl bl1_entrypoint /* ----------------------------------------------------- * bl1_entrypoint() is the entry point into the trusted...
Ameba-AIoT/ameba-rtos
8,115
component/soc/amebasmart/atf/bl1/aarch64/bl1_exceptions.S
/* * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <bl1/bl1.h> #include <common/bl_common.h> #include <context.h> /* -----------------------------------------------------------------------...
Ameba-AIoT/ameba-rtos
2,075
component/soc/amebasmart/atf/bl1/mips/bl1_entrypoint.S
/* * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2017, Realtek. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> .globl bl1_entrypoint /* ----------------------------------------------------- * bl1_entrypoint() is the entry p...
Ameba-AIoT/ameba-rtos
4,391
component/soc/amebasmart/atf/bl1/mips/bl1.ld.S
/* * Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2017, Realtek. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <platform_def.h> OUTPUT_FORMAT(PLATFORM_LINKER_FORMAT) OUTPUT_ARCH(PLATFORM_LINKER_ARCH) ENTRY(bl1_entrypoint) MEMORY { R...
Ameba-AIoT/ameba-rtos
6,461
component/soc/amebasmart/atf/lib/aarch32/cache_helpers.S
/* * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> .globl flush_dcache_range .globl clean_dcache_range .globl inv_dcache_range .globl dcsw_op_louis .globl dcsw_op_all .globl dcsw_op_level1 .globl...
Ameba-AIoT/ameba-rtos
4,530
component/soc/amebasmart/atf/lib/aarch32/misc_helpers.S
/* * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> .globl smc .globl zeromem .globl zero_normalmem .globl memcpy4 .globl disable_mmu_icache_secure .globl disable_mm...
Ameba-AIoT/ameba-rtos
5,813
component/soc/amebasmart/atf/lib/aarch64/cache_helpers.S
/* * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> .globl flush_dcache_range .globl clean_dcache_range .globl inv_dcache_range .globl dcsw_op_louis .globl dcsw_op_all .globl dcsw_op_level1 ....
Ameba-AIoT/ameba-rtos
16,838
component/soc/amebasmart/atf/lib/aarch64/misc_helpers.S
/* * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <common/bl_common.h> #include <lib/xlat_tables/xlat_tables_defs.h> .globl smc .globl zero_normalmem .globl...
Ameba-AIoT/ameba-rtos
3,049
component/soc/amebasmart/atf/lib/mips/misc_helpers.S
/* * Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2015-2016, Cortina Access. All rights reserved. * Copyright (c) 2017, Realtek. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
Ameba-AIoT/ameba-rtos
1,116
component/soc/amebasmart/atf/lib/el3_runtime/aarch32/cpu_data.S
/* * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm_macros.S> #include <lib/el3_runtime/cpu_data.h> .globl _cpu_data .globl _cpu_data_by_index /* ----------------------------------------------------------------- * cpu_data_t *_...
Ameba-AIoT/ameba-rtos
24,382
component/soc/amebasmart/atf/lib/el3_runtime/aarch64/context.S
/* * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <context.h> #if CTX_INCLUDE_EL2_REGS .global el2_sysregs_context_save .global el2_sysregs_context_restore #e...
Ameba-AIoT/ameba-rtos
1,338
component/soc/amebasmart/atf/lib/el3_runtime/aarch64/cpu_data.S
/* * Copyright (c) 2014-2020, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm_macros.S> #include <lib/el3_runtime/cpu_data.h> .globl init_cpu_data_ptr .globl _cpu_data_by_index /* ----------------------------------------------------------------- * vo...
Ameba-AIoT/ameba-rtos
3,478
component/soc/amebasmart/atf/lib/extensions/pauth/pauth_helpers.S
/* * Copyright (c) 2019, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <lib/el3_runtime/cpu_data.h> .global pauth_init_enable_el1 .global pauth_disable_el1 .global pauth_init_enable_el3 .global pauth_disable_el3 .globl pauth_...
Ameba-AIoT/ameba-rtos
6,197
component/soc/amebasmart/atf/lib/extensions/amu/aarch32/amu_helpers.S
/* * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <assert_macros.S> #include <asm_macros.S> .globl amu_group0_cnt_read_internal .globl amu_group0_cnt_write_internal .globl amu_group1_cnt_read_internal .globl amu_...
Ameba-AIoT/ameba-rtos
5,747
component/soc/amebasmart/atf/lib/extensions/amu/aarch64/amu_helpers.S
/* * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <assert_macros.S> #include <asm_macros.S> .globl amu_group0_cnt_read_internal .globl amu_group0_cnt_write_internal .globl amu_group1_cnt_read_internal .globl...
Ameba-AIoT/ameba-rtos
1,167
component/soc/amebasmart/atf/lib/libc/aarch64/setjmp.S
/* * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm_macros.S> #include <assert_macros.S> #include <setjmp.h> .globl setjmp .globl longjmp /* * int setjmp(jmp_buf env); */ func setjmp mov x7, sp stp x19, x20, [x0, #JMP_...
Ameba-AIoT/ameba-rtos
1,251
component/soc/amebasmart/atf/lib/compiler-rt/builtins/arm/aeabi_ldivmod.S
//===-- aeabi_ldivmod.S - EABI ldivmod implementation ---------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
Ameba-AIoT/ameba-rtos
1,226
component/soc/amebasmart/atf/lib/compiler-rt/builtins/arm/aeabi_uldivmod.S
//===-- aeabi_uldivmod.S - EABI uldivmod implementation -------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
Ameba-AIoT/ameba-rtos
1,463
component/soc/amebasmart/atf/lib/locks/exclusive/aarch64/spinlock.S
/* * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm_macros.S> .globl spin_lock .globl spin_unlock #if USE_SPINLOCK_CAS #if !ARM_ARCH_AT_LEAST(8, 1) #error USE_SPINLOCK_CAS option requires at least an ARMv8.1 platform #endif...
Ameba-AIoT/ameba-rtos
1,516
component/soc/amebasmart/atf/lib/cpus/aarch32/cortex_a7.S
/* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <cortex_a7.h> #include <cpu_macros.S> .macro assert_cache_enabled #if ENABLE_ASSERTIONS ldcopr r0, SCTLR tst r...
Ameba-AIoT/ameba-rtos
1,540
component/soc/amebasmart/atf/lib/cpus/aarch32/cortex_a12.S
/* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <assert_macros.S> #include <cortex_a12.h> #include <cpu_macros.S> .macro assert_cache_enabled #if ENABLE_ASSERTIONS ldcopr r0, SCTLR tst ...
Ameba-AIoT/ameba-rtos
3,395
component/soc/amebasmart/atf/lib/cpus/aarch32/dsu_helpers.S
/* * Copyright (c) 2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <asm_macros.S> #include <dsu_def.h> #include <lib/cpus/errata_report.h> /* ----------------------------------------------------------------------- * DSU erratum 798953 check functio...
Ameba-AIoT/ameba-rtos
7,998
component/soc/amebasmart/atf/lib/cpus/aarch32/cortex_a55.S
/* * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <arch.h> #include <asm_macros.S> #include <common/bl_common.h> #include <cortex_a55.h> #include <cpu_macros.S> #include <plat_macros.S> /* Hardware handled coherency */ #if HW_ASS...