From 6b63ce88c846696960c7ab519a92fe6a831b8c4c Mon Sep 17 00:00:00 2001 From: nakasima Date: Wed, 24 Dec 2008 12:19:23 +0000 Subject: [PATCH] =?UTF-8?q?osInitInterrupt=E6=94=B9=E8=89=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_firmware@140 b871894f-2f95-9b40-918c-086798483c85 --- trunk/bootrom/build/libraries/os/common/os_interrupt.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/trunk/bootrom/build/libraries/os/common/os_interrupt.c b/trunk/bootrom/build/libraries/os/common/os_interrupt.c index 7bd5184..fca774c 100644 --- a/trunk/bootrom/build/libraries/os/common/os_interrupt.c +++ b/trunk/bootrom/build/libraries/os/common/os_interrupt.c @@ -51,9 +51,13 @@ void osInitInterrupt( void ) ((u32*)HW_INTR_VENEER_BUF)[1] = ((u32*)i_osIrqVeneer)[1]; #ifdef SDK_ARM11 + reg_OS_CPUI_CNT = 0; + reg_OS_IDR_CNT = 0; + { u32 num = OS_INTR_ID_NUM; u32 conf = 0; + u32 ack; int i; for ( i=0; i