| /rk3399_ARM-atf/tools/cot_dt2c/cot_dt2c/ |
| H A D | cot_parser.py | 454 def include_to_c(self, f): argument 455 f.write("#include <stddef.h>\n") 456 f.write("#include <mbedtls/version.h>\n") 457 f.write("#include <common/tbbr/cot_def.h>\n") 458 f.write("#include <drivers/auth/auth_mod.h>\n") 459 f.write("#include <platform_def.h>\n\n") 465 def all_cert_to_c(self, f): argument 468 self.cert_to_c(c, f) 470 f.write("\n") 472 def cert_to_c(self, node: Node, f): argument [all …]
|
| H A D | dt_validator.py | 54 f = open(filename, "w+") 56 f.write("/dts-v1/;\n\n") 57 f.write(str(tree)) 58 f.close() 66 with open(input, 'r') as f: 67 contents = f.read() 81 f = open(self.logging_file, "a") 82 … f.write("=====================================================================================\n") 83 f.write("{} result:\n".format(input)) 84 f.write("{} INVALID:\t{}\n".format(input, str(e))) [all …]
|
| /rk3399_ARM-atf/tools/sptool/ |
| H A D | sp_mk_generator.py | 72 raise Exception(f"Path to file sp_gen.mk needs to be in 'args'.") 84 with open(args["sp_gen_mk"], "a") as f: 85 f.write(f"{content}\n") 110 return os.path.join(args["out_dir"], f"{sp}.pkg") 113 with open(args["sp_gen_mk"], "r") as f: 114 sppkg_rule = [l for l in f if line in l] 153 uuid_std = uuid.UUID(f'{z[0]:08x}{z[1]:08x}{z[2]:08x}{z[3]:08x}') 171 raise Exception(f"Too many SPs in SP layout file. Max: {MAX_SP}") 177 write_to_sp_mk_gen(f"$(eval $(call add_define_val,NUM_SP,{len(sp_layout.keys())}))", args) 184 write_to_sp_mk_gen(f"FDT_SOURCES += {manifest_path}", args) [all …]
|
| H A D | spactions.py | 34 print(f"Calling {action.__name__} -> {sp}") 56 return f"func: {self.__name__}; global:{self.global_action}; exec_order: {self.exec_order}" 91 args["called"].append(f"{action.__name__} -> {sp}") 96 print(f"Calling {action}") 143 print(f"inside function my_action1{sp_layout}\n\n args:{args})") 147 print(f"inside function my_action2; SP: {sp_name} {sp_layout} args:{args}")
|
| H A D | sptool.py | 45 raise Exception(f"Parameters should be path. \ 59 … raise ValueError(f"Offsets provided need to be page aligned: pm-{pm_offset}, img-{img_offset}") 62 raise ValueError(f"pm_offset and img_offset do not fit the specified file:{pm_path})") 69 f'''--SP package Info--
|
| /rk3399_ARM-atf/plat/nxp/common/sip_svc/aarch64/ |
| H A D | sipsvc.S | 48 b.ne 2f 53 b.ne 2f 87 b 1f 128 b.eq 1f 142 b.eq 1f 144 b.ne 1f 147 b 1f
|
| /rk3399_ARM-atf/lib/compiler-rt/builtins/ |
| H A D | ctzdi2.c | 32 const si_int f = -(x.s.low == 0); in __ctzdi2() local 33 return ctzsi((x.s.high & f) | (x.s.low & ~f)) + in __ctzdi2() 34 (f & ((si_int)(sizeof(si_int) * CHAR_BIT))); in __ctzdi2()
|
| /rk3399_ARM-atf/tools/memory/src/memory/ |
| H A D | printer.py | 37 fmt = f">{width}x" if not self.as_decimal else f">{width}" 38 return [f"{arg:{fmt}}" if fmt else str(arg) for arg in args] 67 sec_row = f"+{section_name:-^{width - 1}}+" 89 title=f"Memory Usage (bytes) [{mem.upper()}]", 123 num_fmt = f"0=#0{address_fixed_width}x" if not self.as_decimal else ">10" 126 " " * start + "".join(self.format_args(*modules, fmt=f"^{col_width}")) 141 leading = f"{addr:{num_fmt}}" + " " if addr != last_addr else " " * start 172 self._tree = [f"{'name':<{anchor}}" + " ".join(f"{arg:>10}" for arg in headers)] 177 leading = f"{pre}{node.name}".ljust(anchor)
|
| /rk3399_ARM-atf/plat/nxp/common/aarch64/ |
| H A D | ls_helpers.S | 107 b.ge 1f 109 b.ge 1f 146 b.ge 1f 148 b.ge 1f 168 b.ne 1f 169 b 2f 194 b.eq 1f 195 b 2f
|
| H A D | bl31_data.S | 45 cbnz x0, 1f 50 b 2f 105 cbnz x0, 1f 110 b 2f 170 cbnz x0, 1f 175 b 2f 233 cbnz x0, 1f 238 b 2f 429 cbz x4, 3f 445 cbz x0, 1f [all …]
|
| /rk3399_ARM-atf/plat/intel/soc/common/lib/sha/ |
| H A D | sha.c | 138 uint64_t a, b, c, d, e, f, g, h, t1, t2; in sha512_transform() local 145 e = state[4]; f = state[5]; g = state[6]; h = state[7]; in sha512_transform() 163 t1 = h + e1(e) + Ch(e, f, g) + sha512_K[i] + W[(i & 15)]; in sha512_transform() 165 t1 = g + e1(d) + Ch(d, e, f) + sha512_K[i+1] + W[(i & 15) + 1]; in sha512_transform() 167 t1 = f + e1(c) + Ch(c, d, e) + sha512_K[i+2] + W[(i & 15) + 2]; in sha512_transform() 168 t2 = e0(g) + Maj(g, h, a); b += t1; f = t1 + t2; in sha512_transform() 170 t2 = e0(f) + Maj(f, g, h); a += t1; e = t1 + t2; in sha512_transform() 172 t2 = e0(e) + Maj(e, f, g); h += t1; d = t1 + t2; in sha512_transform() 174 t2 = e0(d) + Maj(d, e, f); g += t1; c = t1 + t2; in sha512_transform() 176 t2 = e0(c) + Maj(c, d, e); f += t1; b = t1 + t2; in sha512_transform() [all …]
|
| /rk3399_ARM-atf/bl31/aarch64/ |
| H A D | ea_delegate.S | 35 b.eq 1f 38 b.eq 1f 148 b.eq 1f 171 b.ne 1f 176 b.ne 1f 206 tbnz x1, #SERROR_IDS_BIT, 1f 211 b.ne 1f 219 b.ne 1f 244 cbz x5, 1f
|
| /rk3399_ARM-atf/drivers/tpm/ |
| H A D | tpm2.mk | 42 LIBTPM2_CFLAGS ?= $(foreach f,$(TF_CFLAGS), \ 43 $(if $(findstring -I,$(f)), \ 44 -I$(realpath $(patsubst -I%,%,$(f))), \ 45 $(f)))
|
| /rk3399_ARM-atf/docs/design_documents/ |
| H A D | rse.rst | 394 INFO: : 1b 9f a0 52 c5 a8 b1 d7 76 f2 c1 c1 ef ca 1a df 425 INFO: : c9 9e 74 91 7d 28 02 56 3f 5c 40 94 37 58 50 68 485 INFO: 7d 1f 3b 8a a3 30 3d 70 4c d9 06 c3 c7 ef 29 43 486 INFO: 0f ee b5 e7 56 e0 71 74 1b c4 39 39 fd 85 f6 7b 491 INFO: 23 74 61 67 3a 61 72 6d 2e 63 6f 6d 2c 32 30 32 492 INFO: 33 3a 63 63 61 5f 70 6c 61 74 66 6f 72 6d 23 31 494 INFO: 63 18 28 34 89 bd b3 6f 09 db ef eb 18 64 df 43 495 INFO: 3f a6 e5 4e a2 d7 11 19 09 5c 58 20 7f 45 4c 46 498 INFO: 21 01 07 06 05 04 03 02 01 00 0f 0e 0d 0c 0b 0a 499 INFO: 09 08 17 16 15 14 13 12 11 10 1f 1e 1d 1c 1b 1a [all …]
|
| /rk3399_ARM-atf/lib/aarch32/ |
| H A D | misc_helpers.S | 100 bhs 2f 112 beq 2f 236 beq 3f /* Diff(S) = 0. No relocation needed */ 253 blo 2f 257 bhi 2f 289 beq 2f 302 blo 2f 306 bhi 2f
|
| /rk3399_ARM-atf/bl32/sp_min/ |
| H A D | wa_cve_2017_5715_icache_inv.S | 41 bne 1f 44 bne 3f 56 bne 2f
|
| H A D | wa_cve_2017_5715_bpiall.S | 40 bne 1f 43 bne 3f 54 bne 2f
|
| /rk3399_ARM-atf/drivers/renesas/common/scif/ |
| H A D | scif.S | 177 beq 3f 181 beq 5f 185 bne 4f 193 bne 4f 197 b 2f 205 bne 4f 209 b 2f 213 b 2f 257 bne 2f
|
| /rk3399_ARM-atf/drivers/arm/css/sds/aarch64/ |
| H A D | sds_helpers.S | 28 b.ne 2f 32 cbz w1, 2f 49 b.eq 2f
|
| /rk3399_ARM-atf/drivers/arm/css/sds/aarch32/ |
| H A D | sds_helpers.S | 29 bne 2f 34 beq 2f 51 beq 2f
|
| /rk3399_ARM-atf/lib/aarch64/ |
| H A D | misc_helpers.S | 280 b.hs 2f 299 b.hs 2f 322 b.hs 2f 332 b.eq 2f 493 b.eq 3f /* Diff(S) = 0. No relocation needed */ 510 b.lo 2f 514 b.hi 2f 547 cbz x3, 2f 560 b.lo 2f 564 b.hi 2f
|
| /rk3399_ARM-atf/plat/nxp/soc-lx2160a/aarch64/ |
| H A D | lx2160a.S | 134 b.eq 1f 421 b.ne 4f 454 b.ne 2f 724 b.ne 1f 814 b.ne 1f 939 b.ne 2f 1039 cbz w5, 3f 1072 b.eq 5f 1083 b.eq 7f 1094 b.eq 9f [all …]
|
| /rk3399_ARM-atf/lib/cpus/aarch32/ |
| H A D | cortex_a57.S | 76 beq 1f 124 beq 1f 154 beq 1f 205 beq 1f 236 beq 1f 267 beq 1f 298 beq 1f 335 beq 1f 366 beq 1f 394 beq 1f
|
| /rk3399_ARM-atf/plat/nxp/soc-ls1043a/aarch64/ |
| H A D | ls1043a.S | 105 b.eq 1f 300 cbz x6, 1f 336 cbz x6, 2f 425 b.eq 14f 439 b.eq 15f 452 b.eq 16f 465 b.eq 17f 479 b.eq 18f 688 cbz w2, 4f 972 cbz x6, 1f [all …]
|
| /rk3399_ARM-atf/plat/nvidia/tegra/common/aarch64/ |
| H A D | tegra_helpers.S | 69 b.ne 1f 212 b.eq 1f 253 cbnz x18, 1f 291 b.gt 1f 295 b.gt 1f 324 b.ne 2f 329 b.eq 2f
|