| /rk3399_ARM-atf/tools/sptool/ |
| H A D | hob.py | 116 def __init__(self, time_low, time_mid, time_hi_and_version, clock_seq_and_node): argument 117 self.time_low = time_low 118 self.time_mid = time_mid 119 self.time_hi_and_version = time_hi_and_version 120 self.clock_seq_and_node = clock_seq_and_node 121 self.format_str = "IHH8B" 123 def pack(self): argument 125 self.format_str, 126 self.time_low, 127 self.time_mid, [all …]
|
| H A D | sptool.py | 42 def __init__(self, pm_path : str, img_path : str, pm_offset: int, argument 47 self.pm_path = pm_path 48 self.img_path = img_path 49 self._SpPkgHeader = namedtuple("SpPkgHeader", 61 if img_offset - pm_offset < self.pm_size: 64 self.pm_offset = pm_offset 65 self.img_offset = img_offset 67 def __str__(self): argument 76 def magic(self): argument 80 def version(self): argument [all …]
|
| H A D | spactions.py | 29 …def __init__(self, action, exec_order=DEFAULT_ACTION_ORDER, global_action=True, log_calls = False): argument 30 self.exec_order = exec_order 31 self.__name__ = action.__name__ 37 self.action = logged_action(action) if log_calls is True else action 38 self.global_action = global_action 40 def __lt__(self, other): argument 44 return self.exec_order < other.exec_order 46 def __call__(self, sp_layout, sp, args :dict): argument 50 return self.action(sp_layout, sp, args) 52 def __repr__(self) -> str: argument
|
| /rk3399_ARM-atf/lib/romlib/ |
| H A D | romlib_generator.py | 24 def __init__(self): argument 25 self.items = [] 26 self.dependencies = {} 27 self.include_chain = [] 29 def add_dependency(self, parent, dependency): argument 31 if parent in self.dependencies: 32 self.dependencies[parent].append(dependency) 34 self.dependencies[parent] = [dependency] 36 def get_dependencies(self, parent): argument 39 if parent in self.dependencies: [all …]
|
| /rk3399_ARM-atf/tools/memory/src/memory/ |
| H A D | summary.py | 71 def __init__(self, fill: bool = True): argument 72 self._modules: Modules = {} 73 self._fill = fill 75 def module_add(self, object_name: str, size: int, section: str): argument 87 or (not self._fill and object_name == "[fill]") 91 if object_name in self._modules: 92 self._modules[object_name].setdefault(section, 0) 93 self._modules[object_name][section] += size 97 for module_path, contents in self._modules.items(): 105 self._modules[object_name] = new_module [all …]
|
| H A D | elfparser.py | 44 def __init__(self, elf_file: BinaryIO) -> None: argument 45 self._segments: Dict[int, TfaMemObject] = {} 46 self._memory_layout: Dict[str, Dict[str, int]] = {} 53 self._symbols: Dict[str, int] = { 57 self.set_segment_section_map(elf.iter_segments(), elf.iter_sections()) 58 self._memory_layout = self.get_memory_layout_from_symbols() 59 self._start: int = elf["e_entry"] 60 self._size: int 61 self._free: int 62 self._size, self._free = self._get_mem_usage() [all …]
|
| H A D | image.py | 26 def limit(self) -> Optional[int]: argument 29 if self.start is None: 32 if self.length is None: 35 return self.start + self.length 38 def size(self) -> Optional[int]: argument 41 if self.end is None: 44 if self.start is None: 47 return self.end - self.start 50 def free(self) -> Optional[int]: argument 53 if self.limit is None: [all …]
|
| H A D | mapparser.py | 22 def __init__(self, map_file: TextIO) -> None: argument 23 self._symbols: Dict[str, int] = self.read_symbols(map_file) 24 assert self._symbols, "Symbol table is empty!" 26 self._footprint: Dict[str, Region] = defaultdict(Region) 29 for symbol in filter(lambda s: match(expr, s), self._symbols): 33 self._footprint[region].start = self._symbols[symbol] 35 self._footprint[region].end = self._symbols[symbol] 37 self._footprint[region].length = self._symbols[symbol] 40 def symbols(self) -> Dict[str, int]: argument 41 return self._symbols [all …]
|
| H A D | printer.py | 24 def __init__(self, columns: int, as_decimal: bool = False) -> None: argument 25 self.term_size: int = columns 26 self._tree: Optional[List[str]] = None 27 self._symbol_map: Optional[List[str]] = None 28 self.as_decimal: bool = as_decimal 31 self, argument 37 fmt = f">{width}x" if not self.as_decimal else f">{width}" 41 self, argument 47 formatted_args = self.format_args(*args, width=width, fmt=fmt) 76 self, argument [all …]
|
| /rk3399_ARM-atf/tools/cot_dt2c/cot_dt2c/ |
| H A D | dt_validator.py | 24 def __init__(self, input): argument 25 self.input = input 26 self.test_dir = "./tmp" 27 self.logging_file = self.test_dir + "/result.log" 29 def dtValidate(self): argument 30 subprocess.run(["rm", "-rf", self.test_dir]) 32 if not path.exists(self.test_dir): 33 mkdir(self.test_dir) 35 if path.isfile(self.input): 36 self.dtValidateFile(self.input, printInfo=True) [all …]
|
| H A D | cot_parser.py | 15 def __init__(self, inputfile: str, outputfile=None): argument 17 self.tree = Devicetree.parseFile(inputfile) 22 self.output = outputfile 23 self.input = inputfile 24 self.has_root = False 27 certs = self.get_all_certificates() 29 if self.if_root(c): 33 def print_cert_info(self, node:Node): argument 35 sign_key = self.get_sign_key(node) 36 nv = self.get_nv_ctr(node) [all …]
|
| /rk3399_ARM-atf/plat/allwinner/common/ |
| H A D | sunxi_cpu_ops.c | 138 u_register_t self = read_mpidr(); in sunxi_cpu_power_off_others() local 147 if (mpidr != self) in sunxi_cpu_power_off_others()
|
| /rk3399_ARM-atf/docs/security_advisories/ |
| H A D | security-advisory-tfv-2.rst | 5 | Title | Enabled secure self-hosted invasive debug interface can | 25 The ``MDCR_EL3.SDD`` bit controls AArch64 secure self-hosted invasive debug 42 secure self-hosted invasive debug enablement. TF assigns these bits to ``00``
|
| /rk3399_ARM-atf/docs/design/ |
| H A D | trusted-board-boot.rst | 56 All certificates are self-signed. There is no need for a Certificate Authority 122 It is self-signed with the private part of the ROT key. It contains a hash of 128 It is self-signed with the private part of the ROT key. It contains the 134 It is self-signed with the trusted world key. It contains the public part of 139 It is self-signed with the SCP_BL2 key. It contains a hash of the SCP_BL2 144 It is self-signed with the trusted world key. It contains the public part of 149 It is self-signed with the BL31 key. It contains hashes of the BL31 image and 154 It is self-signed with the trusted world key. It contains the public part of 159 It is self-signed with the BL32 key. It contains hashes of the BL32 image(s) 164 It is self-signed with the non-trusted world key. It contains the public [all …]
|
| /rk3399_ARM-atf/docs/process/ |
| H A D | security.rst | 49 | |TFV-2| | Enabled secure self-hosted invasive debug interface can allow |
|
| H A D | contributing.rst | 127 Note that self-reviewing a patch is prohibited, even if the patch author is
|
| /rk3399_ARM-atf/docs/ |
| H A D | index.rst | 8 Home<self>
|
| H A D | change-log.md | 9908 - Separate code to power off self and other CPUs 11073 H3ULCB, DBSC4 setting before self-refresh mode 11754 - Support combining several libraries into a self-called "romlib" image, that 12403 self-hosted debug. Additionally, secure privileged external debug on Juno is
|
| /rk3399_ARM-atf/docs/threat_model/ |
| H A D | supply_chain_threat_model.rst | 247 | | | - Not allowing a committer to both self-review and merge | 252 | Mitigations | We have not disallowed self-review/merge of patches | 289 | | | - Not allowing a committer to both self-review and merge | 295 | implemented?| maintainers, but self-review/merge of patches is not |
|
| /rk3399_ARM-atf/docs/plat/ |
| H A D | rcar-gen3.rst | 78 mode (some kind of self-refresh mode). This means that BL2 is always
|