1// Automatically generated. Do not modify.
2//
3// © 2021 Qualcomm Innovation Center, Inc. All rights reserved.
4//
5// SPDX-License-Identifier: BSD-3-Clause
6#extends hypercall_api
7#implements respond
8
9#def prefix: $internal_prefix
10
11\#if !defined(__ASSEMBLER__)
12#for hypcall_num in sorted($hypcall_dict.keys())
13    #set $hypcall = $hypcall_dict[$hypcall_num]
14
15    ${result_struct_definition($hypcall)}
16    ${type_signature($hypcall)};
17#end for
18
19#for hypcall in sorted($vendor_hypcall_list, key=lambda x: x.name)
20
21    ${result_struct_definition($hypcall)}
22    ${type_signature($hypcall)};
23#end for
24
25\#else
26#if len($hypcall_dict)
27\#define HYPERCALL_BASE ${hex($hypcall_dict[0].abi.hypcall_base)}U
28\#define HYPERCALL_NUM ${$max($hypcall_dict.keys()) + 1}U
29#end if
30\#endif
31