VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/ArmPkg/Include/Library/ArmSvcLib.h@ 107675

最後變更 在這個檔案從107675是 99464,由 vboxsync 提交於 2 年 前

Devices/EFI/Firmware: Restore ArmPkg, ArmVirtPkg, ArmPlatformPkg in order to be able to build Aarch64 and Aarch32 firmware images for the virt platform, bugref:10400

  • 屬性 svn:eol-style 設為 native
檔案大小: 974 位元組
 
1/** @file
2*
3* Copyright (c) 2016 - 2017, ARM Limited. All rights reserved.
4*
5* SPDX-License-Identifier: BSD-2-Clause-Patent
6*
7**/
8
9#ifndef ARM_SVC_LIB_H_
10#define ARM_SVC_LIB_H_
11
12/**
13 * The size of the SVC arguments are different between AArch64 and AArch32.
14 * The native size is used for the arguments.
15 */
16typedef struct {
17 UINTN Arg0;
18 UINTN Arg1;
19 UINTN Arg2;
20 UINTN Arg3;
21 UINTN Arg4;
22 UINTN Arg5;
23 UINTN Arg6;
24 UINTN Arg7;
25} ARM_SVC_ARGS;
26
27/**
28 Trigger an SVC call
29
30 SVC calls can take up to 8 arguments and return up to 8 return values.
31 Therefore, the 8 first fields in the ARM_SVC_ARGS structure are used
32 for both input and output values.
33
34 @param[in, out] Args Arguments to be passed as part of the SVC call
35 The return values of the SVC call are also placed
36 in the same structure
37
38 @retval None
39
40**/
41VOID
42ArmCallSvc (
43 IN OUT ARM_SVC_ARGS *Args
44 );
45
46#endif // ARM_SVC_LIB_H_
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette