xref: /rk3399_ARM-atf/docs/components/ven-el3-service.rst (revision de6b79d8b5e15262b328051095e15ad4c67518eb)
1*de6b79d8SGovindraj RajaVendor Specific EL3 Monitor Service Calls
2*de6b79d8SGovindraj Raja=========================================
3*de6b79d8SGovindraj Raja
4*de6b79d8SGovindraj RajaThis document enumerates and describes the Vendor Specific EL3 Monitor Service
5*de6b79d8SGovindraj RajaCalls.
6*de6b79d8SGovindraj Raja
7*de6b79d8SGovindraj RajaThese are Service Calls defined by the vendor of the EL3 Monitor.
8*de6b79d8SGovindraj RajaThey are accessed via ``SMC`` ("SMC calls") instruction executed from Exception
9*de6b79d8SGovindraj RajaLevels below EL3. SMC calls for Vendor Specific EL3 Monitor Services:
10*de6b79d8SGovindraj Raja
11*de6b79d8SGovindraj Raja-  Follow `SMC Calling Convention`_;
12*de6b79d8SGovindraj Raja-  Use SMC function IDs that fall in the vendor-specific EL3 range, which are
13*de6b79d8SGovindraj Raja
14*de6b79d8SGovindraj Raja+---------------------------+--------------------------------------------------+
15*de6b79d8SGovindraj Raja| SMC Function Identifier   | Service Type                                     |
16*de6b79d8SGovindraj Raja+===========================+==================================================+
17*de6b79d8SGovindraj Raja| 0x87000000 - 0x8700FFFF   | SMC32: Vendor Specific EL3 Monitor Service Calls |
18*de6b79d8SGovindraj Raja+---------------------------+--------------------------------------------------+
19*de6b79d8SGovindraj Raja| 0xC7000000 - 0xC700FFFF   | SMC64: Vendor Specific EL3 Monitor Service Calls |
20*de6b79d8SGovindraj Raja+---------------------------+--------------------------------------------------+
21*de6b79d8SGovindraj Raja
22*de6b79d8SGovindraj RajaSource definitions for vendor-specific EL3 Monitor Service Calls are located in
23*de6b79d8SGovindraj Rajathe ``ven_el3_svc.h`` header file.
24*de6b79d8SGovindraj Raja
25*de6b79d8SGovindraj Raja--------------
26*de6b79d8SGovindraj Raja
27*de6b79d8SGovindraj Raja*Copyright (c) 2024, Arm Limited and Contributors. All rights reserved.*
28*de6b79d8SGovindraj Raja
29*de6b79d8SGovindraj Raja.. _SMC Calling Convention: https://developer.arm.com/docs/den0028/latest
30