| /optee_os/scripts/ |
| H A D | gen_compile_commands.py | 51 output_help = ('path to the output command database (defaults to ' + 73 os.path.abspath(args.directory), 88 The path to a .cmd file. 92 exclude_dirs = [os.path.join(directory, d) for d in _EXCLUDE_DIRS] 102 yield os.path.join(dirpath, filename) 105 def to_cmdfile(path): argument 106 """Return the path of .cmd file used for the given build artifact 109 Path: file path 112 The path to .cmd file 114 dir, base = os.path.split(path) [all …]
|
| H A D | get_maintainer.py | 17 DIFF_GIT_RE = re.compile(r'^diff --git a/(?P<path>.*) ') 43 help='treat following argument as a file path, not ' 58 parent = os.path.dirname(os.path.realpath(__file__)) + "/../" 59 if (os.path.realpath(cwd) != os.path.realpath(parent)): 104 psname = os.path.basename(patchset).replace('.', '_') 132 # If @path is a patch file, returns the paths touched by the patch as well 142 p = match.group('path') 163 # Does @path match @pattern? 167 def match_pattern(path, pattern): argument 168 # Append a trailing slash if path is an existing directory, so that it [all …]
|
| H A D | bin_to_c.py | 21 help='Path to the input binary file') 28 help='Path for the generated C file') 48 os.path.basename(__file__) + ' */\n\n')
|
| H A D | ts_bin_to_c.py | 31 help='Path to the TA binary. File name has to be: <uuid>.* ' 37 help='Path to the SP binary. File name has to be: <uuid>.* ' 51 help='path to the SP manifest file') 145 ts_uuid = uuid.UUID(re.sub(r'\..*', '', os.path.basename(ts))) 149 os.path.basename(__file__) + ' */\n\n')
|
| H A D | symbolize.py | 47 PATH. 156 if d.endswith(elf_or_uuid) and os.path.isfile(d): 417 def pretty_print_path(self, path): argument 419 return re.sub(re.escape(self._strip_path) + '/*', '', path) 420 return path 519 rpath = os.path.realpath(elf) 520 path = self.pretty_print_path(rpath) 521 self._out.write(' (' + path + ')')
|
| /optee_os/core/lib/scmi-server/ |
| H A D | sub.mk | 10 scpfw-path = $(CFG_SCP_FIRMWARE) 12 scpfw-out-path := $(out-dir)/$(libdir) 27 scpfw-cmake-flags-y = -DSCP_FIRMWARE_SOURCE_DIR:PATH=$(scpfw-product)/fw \ 31 -DSCP_OPTEE_DIR:PATH=$(CURDIR) 45 recipe-fwk_module_list = cmake -S $(scpfw-path) -B $(scpfw-out-path)/build \ 47 depends-fwk_module_list = $(scpfw-path)/product/$(scpfw-product)/fw/Firmware.cmake $(conf-file) 48 # Include path of generated header file fwk_module_idx.h 49 incdirs_ext-y += $(scpfw-out-path)/build/framework/include 55 scpfw-impl-version := $(shell git -C $(scpfw-path) describe --tags --always --dirty=-dev 2>/dev/nul… 111 include $(scpfw-path)/product/optee/sub.mk
|
| /optee_os/core/lib/libfdt/ |
| H A D | fdt_overlay.c | 21 * property) instead of a path (target-path property). 48 * @pathp: pointer which receives the path of the target (or NULL) 52 * done (through a phandle or a path) 62 const char *path = NULL; in overlay_get_target() local 70 /* no phandle, try path */ in overlay_get_target() 72 /* And then a path based lookup */ in overlay_get_target() 73 path = fdt_getprop(fdto, fragment, "target-path", &path_len); in overlay_get_target() 74 if (path) in overlay_get_target() 75 ret = fdt_path_offset(fdt, path); in overlay_get_target() 83 * target-path property in a node that contains a in overlay_get_target() [all …]
|
| H A D | fdt_ro.c | 237 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument 239 const char *end = path + namelen; in fdt_path_offset_namelen() 240 const char *p = path; in fdt_path_offset_namelen() 246 if (*path != '/') { in fdt_path_offset_namelen() 247 const char *q = memchr(path, '/', end - p); in fdt_path_offset_namelen() 282 int fdt_path_offset(const void *fdt, const char *path) in fdt_path_offset() argument 284 return fdt_path_offset_namelen(fdt, path, strlen(path)); in fdt_path_offset() 559 if (p > 1) /* special case so that root path is "/", not "" */ in fdt_get_path()
|
| /optee_os/core/kernel/ |
| H A D | lockdep.c | 103 uintptr_t *path; member 117 free(cur->path); in lockdep_bfs_queue_delete() 125 * and stops when it reaches @node again. In each node we're tracking the path 141 qe->path = malloc(sizeof(uintptr_t)); in lockdep_graph_get_shortest_cycle() 142 if (!qe->path) in lockdep_graph_get_shortest_cycle() 144 qe->path[0] = node->lock_id; in lockdep_graph_get_shortest_cycle() 162 * Cycle found. Terminate cycle path with NULL in lockdep_graph_get_shortest_cycle() 165 tmp = realloc(qe->path, in lockdep_graph_get_shortest_cycle() 169 free(qe->path); in lockdep_graph_get_shortest_cycle() 173 qe->path = tmp; in lockdep_graph_get_shortest_cycle() [all …]
|
| H A D | console.c | 109 prop = fdt_get_property(fdt, offs, "stdout-path", NULL); in get_console_node_from_dt() 113 * no stdout-path property: no console expected in get_console_node_from_dt() 129 /* stdout-path may refer to an alias */ in get_console_node_from_dt() 132 /* Not an alias, assume we have a node path */ in get_console_node_from_dt()
|
| /optee_os/core/drivers/crypto/se050/glue/ |
| H A D | i2c_stm32.c | 41 const char *path = NULL; in dt_i2c_bus_config() local 52 path = fdt_get_alias(fdt, bus); in dt_i2c_bus_config() 53 if (!path) in dt_i2c_bus_config() 56 node = fdt_path_offset(fdt, path); in dt_i2c_bus_config()
|
| /optee_os/.github/workflows/ |
| H A D | ci.yml | 32 export PATH=/tmp/linux/scripts:$PATH 352 path: /github/home/.cache/ccache 364 export PATH=/usr/local/bin:$PATH # clang 399 path: qemuv7_image.tar.zst 429 path: . 441 path: /home/runner/work/ccache 493 path: qemuv8_image.tar.zst 506 export PATH [all...] |
| /optee_os/mk/ |
| H A D | clang.mk | 2 # CROSS_COMPILE64 and indicates the target that should be passed to clang. Path 4 # instance "/some/path/ccache /other/path/arm-linux-gnueabihf-").
|
| H A D | subdir.mk | 69 # $1 is an absolute path - start with "/" 84 $$(error Absolute path not supported for srcs_ext-y: $(1)) 98 # $2 full path and name of generated source file 99 # $3 full path and name of object file compiled from source file 100 # $4 full path to out directory
|
| /optee_os/lib/libutee/include/ |
| H A D | pta_invoke_tests.h | 28 * Secure data path: check that PTA can copy data from non-secure shared memory 37 * Secure data path: check that PTA can read data from SDP secure memory and 46 * Secure data path: check that PTA can copy data from SDP secure memory to
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | entropy.h | 218 * \param path Name of the file 224 int mbedtls_entropy_write_seed_file(mbedtls_entropy_context *ctx, const char *path); 232 * \param path Name of the file 238 int mbedtls_entropy_update_seed_file(mbedtls_entropy_context *ctx, const char *path);
|
| H A D | hmac_drbg.h | 393 * \param path The name of the file. 400 int mbedtls_hmac_drbg_write_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path); 407 * \param path The name of the file. 416 int mbedtls_hmac_drbg_update_seed_file(mbedtls_hmac_drbg_context *ctx, const char *path);
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | lms.c | 484 /* Calculate a path from a leaf node of the Merkle tree to the root of the tree, 485 * and return the full path. This function implements RFC8554 section 5.4.1, as 486 * the Merkle path is the main component of an LMS signature. 492 * leaf_node_id Which leaf node to calculate the path from. 494 * path The output path, which is H hash outputs. 498 unsigned char *path) in get_merkle_path() argument 522 memcpy(&path[height * node_bytes], in get_merkle_path()
|
| H A D | entropy.c | 406 int mbedtls_entropy_write_seed_file(mbedtls_entropy_context *ctx, const char *path) in mbedtls_entropy_write_seed_file() argument 417 if ((f = fopen(path, "wb")) == NULL) { in mbedtls_entropy_write_seed_file() 442 int mbedtls_entropy_update_seed_file(mbedtls_entropy_context *ctx, const char *path) in mbedtls_entropy_update_seed_file() argument 449 if ((f = fopen(path, "rb")) == NULL) { in mbedtls_entropy_update_seed_file() 478 return mbedtls_entropy_write_seed_file(ctx, path); in mbedtls_entropy_update_seed_file()
|
| /optee_os/lib/libutils/ext/include/ |
| H A D | confine_array_index.h | 41 // returns a sanitized index, even in speculative-path execution. 44 // check will return any necessary errors in the nonspeculative path, confine_array_index will 45 // confine indexes in the speculative path.
|
| /optee_os/core/lib/libfdt/include/ |
| H A D | libfdt.h | 33 /* FDT_ERR_BADPATH: Function was passed a badly formatted path 35 * absolute path) */ 447 * such as a full path. 480 * fdt_path_offset_namelen - find a tree node by its full path 482 * @path: full path of the node to locate 483 * @namelen: number of characters of path to consider 486 * characters of path as the path name. 489 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen); 493 * fdt_path_offset - find a tree node by its full path 495 * @path: full path of the node to locate [all …]
|
| /optee_os/lib/libmbedtls/mbedtls/ |
| H A D | README.md | 121 mkdir /path/to/build_dir && cd /path/to/build_dir 122 cmake /path/to/mbedtls_source 131 cmake -DENABLE_TESTING=Off /path/to/mbedtls_source 139 cmake -DUSE_SHARED_MBEDTLS_LIBRARY=On /path/to/mbedtls_source 154 cmake -D CMAKE_BUILD_TYPE=Debug /path/to/mbedtls_source 166 CC=your_cc cmake /path/to/mbedtls_source
|
| /optee_os/.devcontainer/ |
| H A D | devcontainer.json | 12 "path": "/bin/bash", string
|
| /optee_os/core/arch/arm/plat-hikey/ |
| H A D | platform_config.h | 79 * Secure Data Path buffers: 4 MiB | DRAM0 (secure) 99 * Secure Data Path buffers: 4 MiB | DRAM0 (secure)
|
| /optee_os/core/ |
| H A D | sub.mk | 45 dtb-$1-path = $(dir $1) 46 dtb-$1 = $$(dtb-$1-path)../manifest/$$(sp-$1-uuid).dtb
|