/hafnium-2.8-rc0/test/vmapi/primary_with_secondaries/services/ |
A D | ffa_check.c | 75 ffa_msg_send_direct_resp(ffa_receiver(args), ffa_sender(args), in TEST_SERVICE() 76 args.arg3, args.arg4, args.arg5, args.arg6, in TEST_SERVICE() 77 args.arg7); in TEST_SERVICE() 90 ret = ffa_msg_send(ffa_receiver(args), ffa_sender(args), 0, 0); in TEST_SERVICE() 102 ffa_msg_send_direct_resp(ffa_receiver(args), ffa_sender(args), in TEST_SERVICE() 103 args.arg3, args.arg4, args.arg5, args.arg6, in TEST_SERVICE() 104 args.arg7); in TEST_SERVICE() 127 args.arg3, args.arg4, args.arg5, args.arg6, in TEST_SERVICE() 128 args.arg7); in TEST_SERVICE() 148 args.arg3, args.arg4, args.arg5, args.arg6, in TEST_SERVICE() [all …]
|
/hafnium-2.8-rc0/src/arch/aarch64/hypervisor/ |
A D | handler.c | 445 ret = smc_forward(args->func, args->arg1, args->arg2, args->arg3, in smc_forwarder() 446 args->arg4, args->arg5, args->arg6, args->arg7); in smc_forwarder() 487 ffa_uuid_init(args->arg1, args->arg2, args->arg3, args->arg4, in ffa_handler() 534 *args = api_ffa_run(ffa_vm_id(*args), ffa_vcpu_index(*args), in ffa_handler() 540 *args = api_ffa_mem_send(func, args->arg1, args->arg2, in ffa_handler() 545 *args = api_ffa_mem_retrieve_req(args->arg1, args->arg2, in ffa_handler() 554 ffa_assemble_handle(args->arg1, args->arg2), args->arg3, in ffa_handler() 606 ffa_sender(*args), ffa_receiver(*args), args->arg2, in ffa_handler() 618 *args = api_ffa_mem_perm_set(va_init(args->arg1), args->arg2, in ffa_handler() 627 ffa_sender(*args), ffa_receiver(*args), args->arg2, in ffa_handler() [all …]
|
/hafnium-2.8-rc0/build/image/ |
A D | dtc.py | 19 def cmd_compile(args): argument 26 if args.output_file: 28 if args.input_file: 33 def cmd_overlay(args): argument 36 "-i", args.base_dtb, 37 "-o", args.output_dtb, 38 ] + args.overlay_dtb 54 args = parser.parse_args() 56 if args.command == "compile": 57 return cmd_compile(args) [all …]
|
A D | generate_partitions_json.py | 60 args = parser.parse_args() 63 if args.vm is None and args.sp is None: 67 if args.sp is not None: 68 partitions["SPs"] = list_of_partitions(args.sp) 69 if args.vm is not None: 70 partitions["VMs"] = list_of_partitions(args.vm) 72 json.dump(partitions, open(args.out, "w+"))
|
A D | check_elf.py | 25 def check_eret_speculation_barrier(args): argument 32 .check_output([ OBJDUMP, "-d", args.input_elf ])\ 68 def check_max_image_size(args): argument 74 if args.max_image_size <= 0: 78 .check_output([ NM, args.input_elf ])\ 103 elif image_size > args.max_image_size: 106 "({}B > {}B)".format(image_size, args.max_image_size)) 117 args = parser.parse_args() 119 check_eret_speculation_barrier(args) 120 check_max_image_size(args) [all …]
|
A D | generate_initrd.py | 29 args = parser.parse_args() 32 if not os.path.isdir(args.staging): 33 os.makedirs(args.staging) 37 for name, path in args.file: 38 shutil.copyfile(path, os.path.join(args.staging, name)) 43 with open(args.output, "w") as initrd: 46 os.chdir(args.staging)
|
A D | convert_to_binary.py | 25 args = parser.parse_args() 27 OBJCOPY, "-O", "binary", args.input, args.output
|
A D | generate_linux_initrd.py | 21 args = parser.parse_args() 23 with open(args.output, "w") as initrd: 26 os.chdir(args.staging)
|
/hafnium-2.8-rc0/test/vmapi/ffa_secure_partitions/ |
A D | power_mgt.c | 38 struct pwr_mgt_cpu_entry_args *args = in cpu_entry_echo() local 53 sl_unlock(&args->lock); in cpu_entry_echo() 59 struct pwr_mgt_cpu_entry_args *args = in cpu_entry_echo_second_sp() local 63 ffa_vcpu_index_t vcpu_id = args->vcpu_count == 1 ? 0 : args->vcpu_id; in cpu_entry_echo_second_sp() 95 args->vcpu_id); in cpu_entry_check_cpu_idx() 100 sl_unlock(&args->lock); in cpu_entry_check_cpu_idx() 116 res = ffa_run(args->receiver_id, args->vcpu_id); in cpu_entry_check_cpu_idx_second_sp() 131 args.receiver_id = receiver.vm_id; in base_cpu_start_test() 140 sl_lock(&args.lock); in base_cpu_start_test() 156 (uintptr_t)&args), in base_cpu_start_test() [all …]
|
/hafnium-2.8-rc0/vmlib/aarch64/ |
A D | hvc_call.c | 31 struct ffa_value ffa_call(struct ffa_value args) in ffa_call() argument 33 register uint64_t r0 __asm__("x0") = args.func; in ffa_call() 34 register uint64_t r1 __asm__("x1") = args.arg1; in ffa_call() 35 register uint64_t r2 __asm__("x2") = args.arg2; in ffa_call() 36 register uint64_t r3 __asm__("x3") = args.arg3; in ffa_call() 37 register uint64_t r4 __asm__("x4") = args.arg4; in ffa_call() 38 register uint64_t r5 __asm__("x5") = args.arg5; in ffa_call() 39 register uint64_t r6 __asm__("x6") = args.arg6; in ffa_call() 40 register uint64_t r7 __asm__("x7") = args.arg7; in ffa_call()
|
A D | svc_call.c | 31 struct ffa_value ffa_call(struct ffa_value args) in ffa_call() argument 33 register uint64_t r0 __asm__("x0") = args.func; in ffa_call() 34 register uint64_t r1 __asm__("x1") = args.arg1; in ffa_call() 35 register uint64_t r2 __asm__("x2") = args.arg2; in ffa_call() 36 register uint64_t r3 __asm__("x3") = args.arg3; in ffa_call() 37 register uint64_t r4 __asm__("x4") = args.arg4; in ffa_call() 38 register uint64_t r5 __asm__("x5") = args.arg5; in ffa_call() 39 register uint64_t r6 __asm__("x6") = args.arg6; in ffa_call() 40 register uint64_t r7 __asm__("x7") = args.arg7; in ffa_call()
|
/hafnium-2.8-rc0/test/hftest/ |
A D | hftest.py | 165 self.args = args 273 if args.cpu: 496 if args.partitions is None or args.partitions["SPs"] is None: 900 if args.hypervisor and args.spmc: 904 elif args.spmc: 910 if args.hypervisor and args.initrd: 911 initrd_dir = os.path.join(args.out_initrd, "obj", args.initrd) 921 args.out_partitions, "obj", args.partitions_json) 938 if args.spmc: 955 args.serial_baudrate, not args.serial_no_init_wait) [all …]
|
A D | service_common.c | 48 static hftest_test_fn find_service(struct memiter *args) in find_service() argument 53 if (!memiter_parse_str(args, &service_name)) { in find_service() 69 struct memiter args; in hftest_service_main() local 94 memiter_init(&args, message->payload, message->header.size); in hftest_service_main() 97 service = find_service(&args); in hftest_service_main()
|
/hafnium-2.8-rc0/build/ |
A D | make.py | 23 args, make_args = parser.parse_known_args() 25 os.chdir(args.directory) 26 os.environ["PWD"] = args.directory 31 if args.copy_out_file is not None: 32 shutil.copyfile(args.copy_out_file[0], args.copy_out_file[1])
|
A D | license.py | 31 args = parser.parse_args() 32 header = "/*\n" if args.style == "c" else "" 34 header += bsd.format(comment=" *" if args.style == "c" else "#", year=year) 35 header += "\n */" if args.style == "c" else "" 38 with open(args.file, "rb") as f: 42 print("Failed reading: " + args.file + 47 with open(args.file, "w") as f:
|
/hafnium-2.8-rc0/src/ |
A D | panic.c | 23 va_list args; in panic() local 27 va_start(args, fmt); in panic() 28 vdlog(fmt, args); in panic() 29 va_end(args); in panic()
|
A D | dlog.c | 244 void vdlog(const char *fmt, va_list args) in vdlog() argument 273 int v = va_arg(args, int); in vdlog() 287 char *str = va_arg(args, char *); in vdlog() 295 int v = va_arg(args, int); in vdlog() 313 print_num(va_arg(args, size_t), 16, in vdlog() 329 print_num(va_arg(args, size_t), 8, w, flags); in vdlog() 335 buf[0] = va_arg(args, int); in vdlog() 359 va_list args; in dlog() local 361 va_start(args, fmt); in dlog() 362 vdlog(fmt, args); in dlog() [all …]
|
/hafnium-2.8-rc0/src/arch/aarch64/ |
A D | smc.c | 76 struct ffa_value smc_ffa_call(struct ffa_value args) in smc_ffa_call() argument 78 return smc_internal(args.func, args.arg1, args.arg2, args.arg3, in smc_ffa_call() 79 args.arg4, args.arg5, args.arg6, args.arg7); in smc_ffa_call()
|
/hafnium-2.8-rc0/build/linux/ |
A D | gen_depfile.py | 20 args = parser.parse_args() 24 for root, _, files in os.walk(args.root_dir): 29 with open(args.dep_file, "w") as f: 30 f.write(args.stamp_file) 38 with open(args.stamp_file, "w"):
|
A D | copy_dirs.py | 24 args = parser.parse_args() 28 for root, _, files in os.walk(args.source_folder): 31 rel_path = os.path.relpath(abs_src_path, args.source_folder) 32 abs_dst_path = os.path.join(args.destination_folder, rel_path) 39 with open(args.stamp_file, "w"):
|
/hafnium-2.8-rc0/inc/vmapi/hf/ |
A D | ffa.h | 347 return args.func; in ffa_func_id() 362 return args.arg1 & 0xffff; in ffa_receiver() 367 return args.arg3; in ffa_msg_send_size() 372 return args.arg2; in ffa_msg_send2_flags() 377 return args.arg2; in ffa_partition_info_get_count() 387 return ffa_assemble_handle(args.arg2, args.arg3); in ffa_mem_success_handle() 392 return ffa_assemble_handle(args.arg1, args.arg2); in ffa_frag_handle() 409 return args.arg1 & 0xffff; in ffa_vcpu_index() 425 return (uint32_t)args.arg2; in ffa_feature_intid() 430 return (uint32_t)args.arg2; in ffa_fwk_msg() [all …]
|
/hafnium-2.8-rc0/build/bash/ |
A D | symlink_repo.py | 22 args = parser.parse_args() 24 manifest = os.path.join(args.root_dir, ".repo", "manifest.xml") 43 args.root_dir, proj_path, linkfile_src) 44 dest_path = os.path.join(args.root_dir, linkfile_dest)
|
/hafnium-2.8-rc0/src/arch/aarch64/plat/smc/ |
A D | absent.c | 11 void plat_smc_post_forward(struct ffa_value args, struct ffa_value *ret) in plat_smc_post_forward() argument 13 (void)args; in plat_smc_post_forward()
|
/hafnium-2.8-rc0/src/arch/fake/hypervisor/ |
A D | other_world.c | 15 struct ffa_value arch_other_world_call(struct ffa_value args) in arch_other_world_call() argument 17 dlog_error("Attempted to call TEE function %#x\n", args.func); in arch_other_world_call()
|
/hafnium-2.8-rc0/build/toolchain/ |
A D | gen_offset_size_header.py | 34 args = parser.parse_args() 40 stdout = subprocess.check_output([ STRINGS, args.bin_file ]) 43 with open(args.out_file, "w") as f:
|