]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Include/Library/ArmLib.h
ArmPkg/ArmLib: add ArmHasGicSystemRegisters () helper function
[mirror_edk2.git] / ArmPkg / Include / Library / ArmLib.h
index 5a27b7c2fc274abaeb2ae2a0f74d627fdc342fa6..8a364f2ca96fef41eaef1faa7ad55b49d2dc757f 100644 (file)
@@ -2,6 +2,7 @@
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
   Copyright (c) 2011 - 2016, ARM Ltd. All rights reserved.<BR>\r
+  Copyright (c) 2020, NUVIA Inc. All rights reserved.<BR>\r
 \r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
@@ -715,4 +716,21 @@ ArmGetPhysicalAddressBits (
   VOID\r
   );\r
 \r
+\r
+///\r
+///  ID Register Helper functions\r
+///\r
+\r
+/**\r
+  Check whether the CPU supports the GIC system register interface (any version)\r
+\r
+  @return   Whether GIC System Register Interface is supported\r
+\r
+**/\r
+BOOLEAN\r
+EFIAPI\r
+ArmHasGicSystemRegisters (\r
+  VOID\r
+  );\r
+\r
 #endif // __ARM_LIB__\r