github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/fuchsia/smc.txt (about)

     1  # Copyright 2022 syzkaller project authors. All rights reserved.
     2  # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     3  
     4  include <zircon/syscalls.h>
     5  
     6  meta arches["arm64"]
     7  
     8  zx_smc_call(handle zx_handle, parameters ptr[in, zx_smc_parameters], out_smc_result ptr[out, zx_smc_result])
     9  
    10  zx_smc_parameters {
    11  	func		int32
    12  	padding1	int32
    13  	arg1		int64
    14  	arg2		int64
    15  	arg3		int64
    16  	arg4		int64
    17  	arg5		int64
    18  	arg6		int64
    19  	client_id	int16
    20  	secure_os_id	int16
    21  	padding2	int32
    22  }
    23  
    24  zx_smc_result {
    25  	arg0	int64
    26  	arg1	int64
    27  	arg2	int64
    28  	arg3	int64
    29  	arg6	int64
    30  }