diff options
author | Aravind Batni | 2019-07-29 16:42:37 -0500 |
---|---|---|
committer | Aravind Batni | 2019-08-06 10:10:42 -0500 |
commit | b5947e77b0d2ad50970fc726d4b7b47ee1855341 (patch) | |
tree | 153ed4bc2617d49b1934221c23457c541a7d9298 | |
parent | 889e0efef3722349443dc1c796a89b96786a52e7 (diff) | |
download | osal-b5947e77b0d2ad50970fc726d4b7b47ee1855341.tar.gz osal-b5947e77b0d2ad50970fc726d4b7b47ee1855341.tar.xz osal-b5947e77b0d2ad50970fc726d4b7b47ee1855341.zip |
PRSDK-5253: moving the Intc_SystemEnable part of first time loop
Signed-off-by: Aravind Batni <aravindbr@ti.com>
-rwxr-xr-x | arch/core/r5/Arch_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/core/r5/Arch_util.c b/arch/core/r5/Arch_util.c index dafc098..4980539 100755 --- a/arch/core/r5/Arch_util.c +++ b/arch/core/r5/Arch_util.c | |||
@@ -197,6 +197,7 @@ HwiP_Handle OsalArch_HwiPCreate(int32_t interruptNum, HwiP_Fxn hwiFxn, | |||
197 | gVimRegs = (CSL_vimRegs *)(uintptr_t)CSL_MAIN_DOMAIN_VIM_BASE_ADDR; | 197 | gVimRegs = (CSL_vimRegs *)(uintptr_t)CSL_MAIN_DOMAIN_VIM_BASE_ADDR; |
198 | } | 198 | } |
199 | gFirstTime = FALSE; | 199 | gFirstTime = FALSE; |
200 | Intc_SystemEnable(); | ||
200 | } | 201 | } |
201 | 202 | ||
202 | /* Disable the interrupt first */ | 203 | /* Disable the interrupt first */ |
@@ -239,8 +240,6 @@ HwiP_Handle OsalArch_HwiPCreate(int32_t interruptNum, HwiP_Fxn hwiFxn, | |||
239 | /* Disabling the interrupt in INTC. */ | 240 | /* Disabling the interrupt in INTC. */ |
240 | Intc_IntDisable(interruptNum); | 241 | Intc_IntDisable(interruptNum); |
241 | } | 242 | } |
242 | Intc_SystemEnable(); | ||
243 | |||
244 | } | 243 | } |
245 | return ((HwiP_Handle) (retHandle) ); | 244 | return ((HwiP_Handle) (retHandle) ); |
246 | 245 | ||