Forums - ARM System Register (S3_3_C2_C4_0) Compilation Error

1 post / 0 new
ARM System Register (S3_3_C2_C4_0) Compilation Error
recover5
Join Date: 2 May 24
Posts: 2
Posted: Tue, 2024-06-25 01:19

Dear

I am working on a UEFI FMP Driver for QualComm Arm
It's my first time building Arm Architecture as a target, and an error occurred at the bottom while using the random number generation library.

Build log as below

https://github.com/user-attachments/files/15965993/ArmRngError.log
 

If I look at the error content, you get an error that says "S3_3_C2_C4_0" should be constant.

I think the S3_3_C2_C4_0 system register should be recognized.

What is meaning that "S3_3_C2_C4_0"? And How to fix this error?

 

My development environment is as follows.

EDK PlatForm: EDK2023_02
Compiler : MSVC v142 Arm64
Clang & SDLLVM Version: 14.0.1
Development Environment: Windows 10

Target System: QualComm Arm CPU NoteBook

window CLI using EDK2(EDK2023_02 Version)

 

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.