429309e0c6
ArmPkg: Apply uncrustify changes
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the ArmPkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Andrew Fish <afish@apple.com >
2021-12-07 17:24:28 +00:00
cc15a619a6
ArmPkg: Fix Ecc error 8003
...
This patch fixes the following Ecc reported error:
The #ifndef at the start of an include file should have
one postfix underscore, and no prefix underscore character
Some include guards have been modified to match the name of the
header file. Some comments have also been added on the closing
'#endif'.
Cc: Bret Barkelew <bret.barkelew@microsoft.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org >
Cc: Sami Mujawar <sami.mujawar@arm.com >
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com >
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com >
2021-04-28 12:03:51 +00:00
d61b2e28e6
ArmPkg: Fix Ecc error 3002 in OpteeLib
...
This patch fixes the following Ecc reported error:
Non-Boolean comparisons should use a compare operator
(==, !=, >, < >=, <=)
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com >
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@arm.com >
2021-01-06 16:22:54 +00:00
4059386c70
ArmPkg: Replace BSD License with BSD+Patent License
...
https://bugzilla.tianocore.org/show_bug.cgi?id=1373
Replace BSD 2-Clause License with BSD+Patent License. This change is
based on the following emails:
https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html
RFCs with detailed process for the license change:
V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org >
2019-04-09 09:10:21 -07:00
088a533480
ArmPkg/OpteeLib: Add dummy RPC handler
...
Add dummy RPC handler for RPCs that are not implemented as control
should be returned back to OP-TEE in case any RPC is invoked.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sumit Garg <sumit.garg@linaro.org >
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2018-12-06 17:55:45 +01:00
e40f8efb8b
ArmPkg/OpteeLib: Fix compilation issues for ARM (32-bit)
...
Correct usage of EFI_PHYSICAL_ADDRESS (always 64-bit) vs. pointers
(depending on architecture).
Reported-by: Leif Lindholm <leif.lindholm@linaro.org >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sumit Garg <sumit.garg@linaro.org >
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2018-11-05 12:04:35 +01:00
a0f01e8a22
ArmPkg/OpteeLib: Add APIs to communicate with OP-TEE
...
Add following APIs to communicate with OP-TEE pseudo/early TAs:
1. OpteeInit
2. OpteeOpenSession
3. OpteeCloseSession
4. OpteeInvokeFunc
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Cc: Leif Lindholm <leif.lindholm@linaro.org >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sumit Garg <sumit.garg@linaro.org >
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org >
2018-10-30 14:21:45 +00:00
d65b78f101
ArmPkg: Add initial OpteeLib implementation
...
This is initial version of OP-TEE library that provides api's to
communicate with OP-TEE OS (Trusted OS based on ARM TrustZone) via
secure monitor calls. Currently it provides basic api to detect OP-TEE
presence via UID matching.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sumit Garg <sumit.garg@linaro.org >
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
2018-08-01 11:03:45 +02:00