Home
last modified time | relevance | path

Searched full:os (Results 1 – 25 of 104) sorted by relevance

12345

/trusted-firmware-m-3.7.0/platform/ext/cmsis/CMSIS/RTOS2/Include/
Dos_tick.h3 * @brief CMSIS OS Tick header file
41 /// Setup OS Tick timer to generate periodic RTOS Kernel Ticks
47 /// Enable OS Tick timer interrupt
50 /// Disable OS Tick timer interrupt
53 /// Acknowledge execution of OS Tick timer interrupt
56 /// Get OS Tick timer IRQ number
57 /// \return OS Tick IRQ number
60 /// Get OS Tick timer clock frequency
61 /// \return OS Tick timer clock frequency in Hz
64 /// Get OS Tick timer interval reload value
[all …]
/trusted-firmware-m-3.7.0/tools/
Dtfm_parse_manifest_list.py10 import os
28 TFM_ROOT_DIR = os.path.join(sys.path[0], '..')
61 if not os.path.isfile(template):
290 if not os.path.isfile(item):
299 expanded_path = os.path.expandvars(dict['manifest']).replace('\\', '/')
304 … path_relative_to_manifest_list = os.path.join(os.path.dirname(item), # path of manifest list
306 if os.path.isfile(path_relative_to_manifest_list):
412 manifest_out_basename = os.path.splitext(os.path.basename(manifest_path))[0]
415 output_path = os.path.expandvars(manifest_item['output_path'])
419 manifest_head_file = os.path.join(OUT_DIR, output_path, 'psa_manifest',
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/armchina/mps3/common/provisioning/
Dcreate_provisioning_data.py10 import os
19 cwd = os.getcwd()
24 parser_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
30 os.environ['LC_ALL'] = 'C.UTF-8'
31 os.environ['LANG'] = 'C.UTF-8'
90 huk = hex_to_c_array(os.urandom(32))
93 iak = hex_to_c_array(os.urandom(32))
96 boot_seed = hex_to_c_array(os.urandom(32))
99 implementation_id = hex_to_c_array(os.urandom(32))
102 entropy_seed = hex_to_c_array(os.urandom(64))
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps4/corstone315/provisioning/bundle_dm/
Ddm_create_provisioning_data.py10 import os
21 cwd = os.getcwd()
24 parser_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
30 os.environ['LC_ALL'] = 'C.UTF-8'
31 os.environ['LANG'] = 'C.UTF-8'
82 bl1_rotpk_0 = hex_to_c_array(os.urandom(56))
104 implementation_id = hex_to_c_array(os.urandom(32))
113 secure_debug_pk = hex_to_c_array(os.urandom(32))
116 boot_seed = hex_to_c_array(os.urandom(32))
122 entropy_seed = hex_to_c_array(os.urandom(64))
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps3/common/provisioning/
Dcreate_provisioning_data.py10 import os
19 cwd = os.getcwd()
24 parser_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
30 os.environ['LC_ALL'] = 'C.UTF-8'
31 os.environ['LANG'] = 'C.UTF-8'
90 huk = hex_to_c_array(os.urandom(32))
93 iak = hex_to_c_array(os.urandom(32))
96 boot_seed = hex_to_c_array(os.urandom(32))
99 implementation_id = hex_to_c_array(os.urandom(32))
102 entropy_seed = hex_to_c_array(os.urandom(64))
/trusted-firmware-m-3.7.0/platform/ext/cmsis/CMSIS/RTOS2/Source/
Dos_systick.c3 * @brief CMSIS OS Tick SysTick implementation
37 static uint8_t PendST __attribute__((section(".bss.os")));
39 // Setup OS Tick.
80 /// Enable OS Tick.
91 /// Disable OS Tick.
102 // Acknowledge OS Tick IRQ.
107 // Get OS Tick IRQ number.
112 // Get OS Tick clock.
117 // Get OS Tick interval.
122 // Get OS Tick count value.
[all …]
Dos_tick_ptim.c3 * @brief CMSIS OS Tick implementation for Private Timer
39 // Setup OS Tick.
100 /// Enable OS Tick.
117 /// Disable OS Tick.
134 // Acknowledge OS Tick IRQ.
139 // Get OS Tick IRQ number.
144 // Get OS Tick clock.
149 // Get OS Tick interval.
154 // Get OS Tick count value.
160 // Get OS Tick overflow status.
Dos_tick_gtim.c3 * @brief CMSIS OS Tick implementation for Generic Timer
48 // Setup OS Tick.
122 /// Enable OS Tick.
139 /// Disable OS Tick.
156 // Acknowledge OS Tick IRQ.
162 // Get OS Tick IRQ number.
167 // Get OS Tick clock.
172 // Get OS Tick interval.
177 // Get OS Tick count value.
182 // Get OS Tick overflow status.
/trusted-firmware-m-3.7.0/docs/integration_guide/
Dos_migration_guide_armv8m.rst2 Generic OS migration from Armv7-M to Armv8-M architecture
5 migrating a generic OS kernel running on Armv7-M to the Armv8-M architecture.
10 - If the same OS codebase is used for both Secure and Non Secure builds, it is
12 compile time switch, e.g. ``#if (DOMAIN_NS == 1U)``. The OS build system in
14 - If the OS implements stack limit checking, the ``PSPLIM`` register
17 - If the OS manipulates directly the Link Register, the default Link Register
20 - If the OS manages the non-secure client identification, please check the
Dindex.rst13 OS migration to Armv8-M <os_migration_guide_armv8m.rst>
42 How to integrate another OS
45 OS migration to Armv8-M platforms argument
47 To work with TF-M on Armv8-M platforms, the OS needs to support the Armv8-M
49 world. More information about OS migration to the Armv8-M architecture can be
50 found in the :doc:`OS requirements <os_migration_guide_armv8m>`. Depending upon
67 On Armv8-M TrustZone based platforms, NS OS uses ``tfm_ns_interface_dispatch()``
99 regression tests rely on some OS functionality e.g. threads, mutexes etc. These
102 ``<build_dir>/install/export/tfm/test/inc``. OS needs to provide the
/trusted-firmware-m-3.7.0/tools/kconfig/
Dtfm_kconfig.py9 import os
86 os.environ[key] = value
99 output_dir = os.path.dirname(dot_config)
100 cmake_file = os.path.join(output_dir, 'project_config.cmake')
101 header_file = os.path.join(output_dir, 'project_config.h')
248 dot_config = os.path.abspath(os.path.join(args.output_path, '.config'))
260 if not os.path.exists(args.output_path):
261 os.mkdir(args.output_path)
263 if os.path.exists(dot_config):
267 mtime_prv = os.stat(dot_config).st_mtime
[all …]
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/
DMakefile.freertos9 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS/Source/include
10 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS-Plus-CLI
11 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS-Plus-TCP/include
18 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS-Plus-TCP/portable/Compiler/$(COMPILER_TYPE_DIR)
22 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS/Source/portable/$(COMPILER_TYPE_DIR)/ARM_CM33
25 INCDIRS_EXTRA += $(KERNEL_DIR)/OS/FreeRTOS/Source/portable/$(COMPILER_TYPE_DIR)/ARM_CM3
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/bl1/scripts/
Dcreate_bl1_1_dma_bin.py9 import os
24 self._root = os.path.split(stream.name)[0]
29 filepath = os.path.join(self._root, self.construct_scalar(node))
30 command_name = os.path.basename(self.construct_scalar(node)).replace('.yaml', '')
196 with open(os.path.join(args.output_dir, location + "_dma_ics.bin"), mode="wb") as bin_file:
197 with open(os.path.join(args.output_dir, location + "_dma_ics.hex"), mode="wt") as hex_file:
199 location, os.path.join(args.output_dir, location + "_dma_ics.bin"),
202 location, os.path.join(args.output_dir, location + "_dma_ics.hex"),
/trusted-firmware-m-3.7.0/bl2/ext/mcuboot/scripts/wrapper/
Dwrapper.py11 import os
18 cwd = os.getcwd()
23 parser_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '../'))
34 os.environ['LC_ALL'] = 'C.UTF-8'
35 os.environ['LANG'] = 'C.UTF-8'
/trusted-firmware-m-3.7.0/bl1/bl1_1/scripts/
Dcreate_bl1_2_img.py10 import os
12 sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../../bl2/ext/mcuboot…
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/
Dprepare_mbedtls.sh38 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/include/"
43 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/ARMCC/ARM_CM3/ "
49 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/GCC/ARM_CM3/ "
54 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/GCC/ARM_CM33/ "
61 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/ARMCLANG/ARM_CM3/ "
68 MBEDTLS_CFLAGS+=" -I$KERNEL_DIR/OS/FreeRTOS/Source/portable/ARMCLANG/ARM_CM33/ "
74 MBEDTLS_CFLAGS+=" -DMBEDTLS_CONFIG_FILE='<config-cc312-mps2-no-os.h>' "
/trusted-firmware-m-3.7.0/bl2/ext/mcuboot/scripts/
Dmacro_parser.py12 import os
54 if os.path.isabs(file):
57 scriptsDir = os.path.dirname(os.path.abspath(__file__))
58 configFile = os.path.join(scriptsDir, file)
Dassemble.py26 import os
39 os.unlink(output)
62 ofd.seek(0, os.SEEK_END)
68 statinfo = os.stat(source)
/trusted-firmware-m-3.7.0/platform/ext/cmsis/CMSIS/Core/Test/
Dlit.cfg.py3 import os
641 config.test_source_root = os.path.dirname(__file__)
657 …keys = sorted((k for k in os.environ.keys() if k.startswith(f'{self._toolchain}_TOOLCHAIN_')), rev…
661 return os.environ.get(keys[0])
671 'speed': '-Os',
679 return os.path.join(self.get_root(), 'armclang')
684 …self.OPTIMIZE[self.optimize], '-I', os.path.abspath('../Include'), '-c', '-D', f'CORE_HEADER=\\"{D…
695 'speed': '-Os',
703 return os.path.join(self.get_root(), 'arm-none-eabi-gcc')
711 self.OPTIMIZE[self.optimize], '-I', os.path.abspath('../Include'),
[all …]
/trusted-firmware-m-3.7.0/docs/cmake/
DFindSphinx.cmake18 #or to be located in a host OS specific standard location.
24 # then OS specific standard locations will be
68 #Find the Sphinx executable. Search OS specific default locations.
75 message(STATUS "Failed to find sphinx-build at OS specific default locations.")
/trusted-firmware-m-3.7.0/platform/ext/cmsis/
DARM.CMSIS.pdsc23 - OS Tick moved from Device to CMSIS class
225 - OS Tick API 1.0.1
265 - OS Tick API 1.0.0
437 <!-- CMSIS OS Tick API -->
438 <api Cclass="CMSIS" Cgroup="OS Tick" Capiversion="1.0.1" exclusive="1">
633 <!-- OS Tick -->
634 <condition id="OS Tick SysTick">
635 <description>Components required for OS Tick SysTick Timer</description>
639 <condition id="OS Tick PTIM">
640 <description>Components required for OS Tick Private Timer</description>
[all …]
/trusted-firmware-m-3.7.0/interface/include/multi_core/
Dtfm_ns_mailbox.h96 * when NSPE OS enforces non-secure task isolation.
203 * \note This function should be implemented according to NS OS and
213 * \brief Performs use scenario and NS OS specific waiting mechanism to wait for
216 * \note This function is implemented by NS OS specific waiting mechanism
222 * \brief Performs use scenario and NS OS specific mechanism in a mailbox IRQ
226 * \note The underlying NS OS specific function called inside this function
229 * \note This function is implemented by NS OS specific waiting
/trusted-firmware-m-3.7.0/
DKconfig.misc24 bool "Support NSPE OS providing NSPE client_id"
27 An NSPE client_id is provided by the NSPE OS via the SPM or directly
28 by the SPM. When `TFM_NS_MANAGE_NSID` is `ON`, TF-M supports NSPE OS
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/shared/include/pal/
Dcc_pal_dma.h15 need to be replaced according to the platform and OS.
50 …* \note If the data buffer was already mapped by the secure OS prior to calling the CryptoCel…
76 …* \note If the data buffer was already unmapped by the secure OS prior to calling the CryptoC…
77 … not have to perform any unmapping operation, and the actual unmapping can be done by the secure OS
/trusted-firmware-m-3.7.0/bl1/bl1_2/scripts/
Dcreate_bl2_img.py16 import os
18 sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../../bl2/ext/mcuboot…

12345