summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/ArmLib/Common
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-19 18:51:10 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-19 18:51:10 +0000
commit98bc0c8c056271095ae2a3a9ab7f2c3ccd64117e (patch)
tree7aec4b8d6c212f1aad09a4282502330ccd580dc6 /ArmPkg/Library/ArmLib/Common
parent752d258a42349bf5895efced6c1be1dd5cdfae66 (diff)
downloadedk2-platforms-98bc0c8c056271095ae2a3a9ab7f2c3ccd64117e.tar.xz
Sync gcc with armasm. update some memory barriers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10025 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/ArmLib/Common')
-rw-r--r--ArmPkg/Library/ArmLib/Common/ArmLibPrivate.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmLib/Common/ArmLibPrivate.h b/ArmPkg/Library/ArmLib/Common/ArmLibPrivate.h
index d1d2523947..b24d322785 100644
--- a/ArmPkg/Library/ArmLib/Common/ArmLibPrivate.h
+++ b/ArmPkg/Library/ArmLib/Common/ArmLibPrivate.h
@@ -56,6 +56,8 @@
#define CACHE_ARCHITECTURE_UNIFIED (0UL)
#define CACHE_ARCHITECTURE_SEPARATE (1UL)
+typedef VOID (*ARM_V7_CACHE_OPERATION)(UINT32);
+
VOID
CPSRMaskInsert (
IN UINT32 Mask,
@@ -67,4 +69,22 @@ CPSRRead (
VOID
);
+
+UINT32
+ReadCCSIDR (
+ IN UINT32 CSSELR
+ );
+
+
+UINT32
+ReadCLIDR (
+ VOID
+ );
+
+VOID
+ArmV7AllDataCachesOperation (
+ IN ARM_V7_CACHE_OPERATION DataCacheOperation
+ );
+
+
#endif // __ARM_LIB_PRIVATE_H__