diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-15 01:06:20 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-15 01:06:20 +0000 |
commit | 63ca7402171de8a3f412ac1709d2423e25af7690 (patch) | |
tree | 8ef1890ed12e8c1a850c5ee4f6aac068b54863a0 /ArmPkg/Library/ArmLib | |
parent | d9629029f246b01893c693e2b7dd00975475584f (diff) | |
download | edk2-platforms-63ca7402171de8a3f412ac1709d2423e25af7690.tar.xz |
Update remaining ARM .S files with INTERWORK_FUNC macro. This is the 2nd half of check-in 11167.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11169 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/ArmLib')
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm11/Arm11Support.S | 19 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Arm9/Arm9Support.S | 19 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/ArmV7/ArmLibSupport.S | 17 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S | 21 | ||||
-rw-r--r-- | ArmPkg/Library/ArmLib/Common/ArmLibSupport.S | 15 |
5 files changed, 91 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmLib/Arm11/Arm11Support.S b/ArmPkg/Library/ArmLib/Arm11/Arm11Support.S index 885043414c..8c2ce60f5a 100644 --- a/ArmPkg/Library/ArmLib/Arm11/Arm11Support.S +++ b/ArmPkg/Library/ArmLib/Arm11/Arm11Support.S @@ -15,24 +15,43 @@ .text .align 2 .globl ASM_PFX(ArmCleanInvalidateDataCache) +INTERWORK_FUNC(ArmCleanInvalidateDataCache) .globl ASM_PFX(ArmCleanDataCache) +INTERWORK_FUNC(ArmCleanDataCache) .globl ASM_PFX(ArmInvalidateDataCache) +INTERWORK_FUNC(ArmInvalidateDataCache) .globl ASM_PFX(ArmInvalidateInstructionCache) +INTERWORK_FUNC(ArmInvalidateInstructionCache) .globl ASM_PFX(ArmInvalidateDataCacheEntryByMVA) +INTERWORK_FUNC(ArmInvalidateDataCacheEntryByMVA) .globl ASM_PFX(ArmCleanDataCacheEntryByMVA) +INTERWORK_FUNC(ArmCleanDataCacheEntryByMVA) .globl ASM_PFX(ArmCleanInvalidateDataCacheEntryByMVA) +INTERWORK_FUNC(ArmCleanInvalidateDataCacheEntryByMVA) .globl ASM_PFX(ArmEnableMmu) +INTERWORK_FUNC(ArmEnableMmu) .globl ASM_PFX(ArmDisableMmu) +INTERWORK_FUNC(ArmDisableMmu) .globl ASM_PFX(ArmMmuEnabled) +INTERWORK_FUNC(ArmMmuEnabled) .globl ASM_PFX(ArmEnableDataCache) +INTERWORK_FUNC(ArmEnableDataCache) .globl ASM_PFX(ArmDisableDataCache) +INTERWORK_FUNC(ArmDisableDataCache) .globl ASM_PFX(ArmEnableInstructionCache) +INTERWORK_FUNC(ArmEnableInstructionCache) .globl ASM_PFX(ArmDisableInstructionCache) +INTERWORK_FUNC(ArmDisableInstructionCache) .globl ASM_PFX(ArmEnableBranchPrediction) +INTERWORK_FUNC(ArmEnableBranchPrediction) .globl ASM_PFX(ArmDisableBranchPrediction) +INTERWORK_FUNC(ArmDisableBranchPrediction) .globl ASM_PFX(ArmDataMemoryBarrier) +INTERWORK_FUNC(ArmDataMemoryBarrier) .globl ASM_PFX(ArmDataSyncronizationBarrier) +INTERWORK_FUNC(ArmDataSyncronizationBarrier) .globl ASM_PFX(ArmInstructionSynchronizationBarrier) +INTERWORK_FUNC(ArmInstructionSynchronizationBarrier) .set DC_ON, (0x1<<2) diff --git a/ArmPkg/Library/ArmLib/Arm9/Arm9Support.S b/ArmPkg/Library/ArmLib/Arm9/Arm9Support.S index 281603b117..f570f75059 100644 --- a/ArmPkg/Library/ArmLib/Arm9/Arm9Support.S +++ b/ArmPkg/Library/ArmLib/Arm9/Arm9Support.S @@ -15,24 +15,43 @@ .text .align 2 .globl ASM_PFX(ArmCleanInvalidateDataCache) +INTERWORK_FUNC(ArmCleanInvalidateDataCache) .globl ASM_PFX(ArmCleanDataCache) +INTERWORK_FUNC(ArmCleanDataCache) .globl ASM_PFX(ArmInvalidateDataCache) +INTERWORK_FUNC(ArmInvalidateDataCache) .globl ASM_PFX(ArmInvalidateInstructionCache) +INTERWORK_FUNC(ArmInvalidateInstructionCache) .globl ASM_PFX(ArmInvalidateDataCacheEntryByMVA) +INTERWORK_FUNC(ArmInvalidateDataCacheEntryByMVA) .globl ASM_PFX(ArmCleanDataCacheEntryByMVA) +INTERWORK_FUNC(ArmCleanDataCacheEntryByMVA) .globl ASM_PFX(ArmCleanInvalidateDataCacheEntryByMVA) +INTERWORK_FUNC(ArmCleanInvalidateDataCacheEntryByMVA) .globl ASM_PFX(ArmEnableMmu) +INTERWORK_FUNC(ArmEnableMmu) .globl ASM_PFX(ArmDisableMmu) +INTERWORK_FUNC(ArmDisableMmu) .globl ASM_PFX(ArmMmuEnabled) +INTERWORK_FUNC(ArmMmuEnabled) .globl ASM_PFX(ArmEnableDataCache) +INTERWORK_FUNC(ArmEnableDataCache) .globl ASM_PFX(ArmDisableDataCache) +INTERWORK_FUNC(ArmDisableDataCache) .globl ASM_PFX(ArmEnableInstructionCache) +INTERWORK_FUNC(ArmEnableInstructionCache) .globl ASM_PFX(ArmDisableInstructionCache) +INTERWORK_FUNC(ArmDisableInstructionCache) .globl ASM_PFX(ArmEnableBranchPrediction) +INTERWORK_FUNC(ArmEnableBranchPrediction) .globl ASM_PFX(ArmDisableBranchPrediction) +INTERWORK_FUNC(ArmDisableBranchPrediction) .globl ASM_PFX(ArmDataMemoryBarrier) +INTERWORK_FUNC(ArmDataMemoryBarrier) .globl ASM_PFX(ArmDataSyncronizationBarrier) +INTERWORK_FUNC(ArmDataSyncronizationBarrier) .globl ASM_PFX(ArmInstructionSynchronizationBarrier) +INTERWORK_FUNC(ArmInstructionSynchronizationBarrier) .set DC_ON, (1<<2) diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmLibSupport.S b/ArmPkg/Library/ArmLib/ArmV7/ArmLibSupport.S index 83ecdba8e1..8ca37f0be0 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmLibSupport.S +++ b/ArmPkg/Library/ArmLib/ArmV7/ArmLibSupport.S @@ -13,22 +13,39 @@ #------------------------------------------------------------------------------ .globl ASM_PFX(Cp15IdCode) +INTERWORK_FUNC(Cp15IdCode) .globl ASM_PFX(Cp15CacheInfo) +INTERWORK_FUNC(Cp15CacheInfo) .globl ASM_PFX(ArmEnableInterrupts) +INTERWORK_FUNC(ArmEnableInterrupts) .globl ASM_PFX(ArmDisableInterrupts) +INTERWORK_FUNC(ArmDisableInterrupts) .globl ASM_PFX(ArmGetInterruptState) +INTERWORK_FUNC(ArmGetInterruptState) .globl ASM_PFX(ArmEnableFiq) +INTERWORK_FUNC(ArmEnableFiq) .globl ASM_PFX(ArmDisableFiq) +INTERWORK_FUNC(ArmDisableFiq) .globl ASM_PFX(ArmGetFiqState) +INTERWORK_FUNC(ArmGetFiqState) .globl ASM_PFX(ArmInvalidateTlb) +INTERWORK_FUNC(ArmInvalidateTlb) .globl ASM_PFX(ArmSetTranslationTableBaseAddress) +INTERWORK_FUNC(ArmSetTranslationTableBaseAddress) .globl ASM_PFX(ArmGetTranslationTableBaseAddress) +INTERWORK_FUNC(ArmGetTranslationTableBaseAddress) .globl ASM_PFX(ArmSetDomainAccessControl) +INTERWORK_FUNC(ArmSetDomainAccessControl) .globl ASM_PFX(ArmUpdateTranslationTableEntry) +INTERWORK_FUNC(ArmUpdateTranslationTableEntry) .globl ASM_PFX(CPSRMaskInsert) +INTERWORK_FUNC(CPSRMaskInsert) .globl ASM_PFX(CPSRRead) +INTERWORK_FUNC(CPSRRead) .globl ASM_PFX(ReadCCSIDR) +INTERWORK_FUNC(ReadCCSIDR) .globl ASM_PFX(ReadCLIDR) +INTERWORK_FUNC(ReadCLIDR) .text .align 2 diff --git a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S b/ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S index d071c1ac01..991de89a96 100644 --- a/ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S +++ b/ArmPkg/Library/ArmLib/ArmV7/ArmV7Support.S @@ -13,26 +13,47 @@ #------------------------------------------------------------------------------ .globl ASM_PFX(ArmInvalidateInstructionCache) +INTERWORK_FUNC(ArmInvalidateInstructionCache) .globl ASM_PFX(ArmInvalidateDataCacheEntryByMVA) +INTERWORK_FUNC(ArmInvalidateDataCacheEntryByMVA) .globl ASM_PFX(ArmCleanDataCacheEntryByMVA) +INTERWORK_FUNC(ArmCleanDataCacheEntryByMVA) .globl ASM_PFX(ArmCleanInvalidateDataCacheEntryByMVA) +INTERWORK_FUNC(ArmCleanInvalidateDataCacheEntryByMVA) .globl ASM_PFX(ArmInvalidateDataCacheEntryBySetWay) +INTERWORK_FUNC(ArmInvalidateDataCacheEntryBySetWay) .globl ASM_PFX(ArmCleanDataCacheEntryBySetWay) +INTERWORK_FUNC(ArmCleanDataCacheEntryBySetWay) .globl ASM_PFX(ArmCleanInvalidateDataCacheEntryBySetWay) +INTERWORK_FUNC(ArmCleanInvalidateDataCacheEntryBySetWay) .globl ASM_PFX(ArmDrainWriteBuffer) +INTERWORK_FUNC(ArmDrainWriteBuffer) .globl ASM_PFX(ArmEnableMmu) +INTERWORK_FUNC(ArmEnableMmu) .globl ASM_PFX(ArmDisableMmu) +INTERWORK_FUNC(ArmDisableMmu) .globl ASM_PFX(ArmMmuEnabled) +INTERWORK_FUNC(ArmMmuEnabled) .globl ASM_PFX(ArmEnableDataCache) +INTERWORK_FUNC(ArmEnableDataCache) .globl ASM_PFX(ArmDisableDataCache) +INTERWORK_FUNC(ArmDisableDataCache) .globl ASM_PFX(ArmEnableInstructionCache) +INTERWORK_FUNC(ArmEnableInstructionCache) .globl ASM_PFX(ArmDisableInstructionCache) +INTERWORK_FUNC(ArmDisableInstructionCache) .globl ASM_PFX(ArmEnableBranchPrediction) +INTERWORK_FUNC(ArmEnableBranchPrediction) .globl ASM_PFX(ArmDisableBranchPrediction) +INTERWORK_FUNC(ArmDisableBranchPrediction) .globl ASM_PFX(ArmV7AllDataCachesOperation) +INTERWORK_FUNC(ArmV7AllDataCachesOperation) .globl ASM_PFX(ArmDataMemoryBarrier) +INTERWORK_FUNC(ArmDataMemoryBarrier) .globl ASM_PFX(ArmDataSyncronizationBarrier) +INTERWORK_FUNC(ArmDataSyncronizationBarrier) .globl ASM_PFX(ArmInstructionSynchronizationBarrier) +INTERWORK_FUNC(ArmInstructionSynchronizationBarrier) .text .align 2 diff --git a/ArmPkg/Library/ArmLib/Common/ArmLibSupport.S b/ArmPkg/Library/ArmLib/Common/ArmLibSupport.S index e5e9b54fc2..a432acbb80 100644 --- a/ArmPkg/Library/ArmLib/Common/ArmLibSupport.S +++ b/ArmPkg/Library/ArmLib/Common/ArmLibSupport.S @@ -15,19 +15,34 @@ .text .align 2 .globl ASM_PFX(Cp15IdCode) +INTERWORK_FUNC(Cp15IdCode) .globl ASM_PFX(Cp15CacheInfo) +INTERWORK_FUNC(Cp15CacheInfo) .globl ASM_PFX(ArmEnableInterrupts) +INTERWORK_FUNC(ArmEnableInterrupts) .globl ASM_PFX(ArmDisableInterrupts) +INTERWORK_FUNC(ArmDisableInterrupts) .globl ASM_PFX(ArmGetInterruptState) +INTERWORK_FUNC(ArmGetInterruptState) .globl ASM_PFX(ArmEnableFiq) +INTERWORK_FUNC(ArmEnableFiq) .globl ASM_PFX(ArmDisableFiq) +INTERWORK_FUNC(ArmDisableFiq) .globl ASM_PFX(ArmGetFiqState) +INTERWORK_FUNC(ArmGetFiqState) .globl ASM_PFX(ArmInvalidateTlb) +INTERWORK_FUNC(ArmInvalidateTlb) .globl ASM_PFX(ArmSetTranslationTableBaseAddress) +INTERWORK_FUNC(ArmSetTranslationTableBaseAddress) .globl ASM_PFX(ArmGetTranslationTableBaseAddress) +INTERWORK_FUNC(ArmGetTranslationTableBaseAddress) .globl ASM_PFX(ArmSetDomainAccessControl) +INTERWORK_FUNC(ArmSetDomainAccessControl) .globl ASM_PFX(CPSRMaskInsert) +INTERWORK_FUNC(CPSRMaskInsert) .globl ASM_PFX(CPSRRead) +INTERWORK_FUNC(CPSRRead) + #------------------------------------------------------------------------------ |