From a71616a38bd6bd447e08d840bc2931f60681ee41 Mon Sep 17 00:00:00 2001 From: nakasima Date: Fri, 12 Dec 2008 08:59:36 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=BC=E3=83=89=E6=95=B4=E7=90=86?= =?UTF-8?q?=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@105 b871894f-2f95-9b40-918c-086798483c85 --- trunk/bootrom/build/buildtools/commondefs.config | 4 ++++ trunk/bootrom/build/libraries/os/ARM11/os_timer.c | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/trunk/bootrom/build/buildtools/commondefs.config b/trunk/bootrom/build/buildtools/commondefs.config index e5c7f1c..9d8895c 100644 --- a/trunk/bootrom/build/buildtools/commondefs.config +++ b/trunk/bootrom/build/buildtools/commondefs.config @@ -21,6 +21,7 @@ BROM_COMMONDEFS_CONFIG_ = TRUE #BROM_ENABLE_BOOTROM_WRITE = TRUE #BROM_DEV_EARLY_RELEASE = TRUE #BROM_DEF_LINK_SCATLD = TRUE +#BROM_ENABLE_THREAD = TRUE ifdef BROM_ENABLE_BOOTROM_WRITE MACRO_FLAGS += -DBROM_ENABLE_BOOTROM_WRITE @@ -31,6 +32,9 @@ endif ifdef BROM_DEF_LINK_SCATLD MACRO_FLAGS += -DBROM_DEF_LINK_SCATLD endif +ifdef BROM_ENABLE_THREAD +MACRO_FLAGS += -DBROM_ENABLE_THREAD +endif #---------------------------------------------------------------------------- endif # BROM_COMMONDEFS_CONFIG_ diff --git a/trunk/bootrom/build/libraries/os/ARM11/os_timer.c b/trunk/bootrom/build/libraries/os/ARM11/os_timer.c index 09f99bf..8739197 100644 --- a/trunk/bootrom/build/libraries/os/ARM11/os_timer.c +++ b/trunk/bootrom/build/libraries/os/ARM11/os_timer.c @@ -49,11 +49,8 @@ void osInitTimer( void ) osTimerClock = OS_TIMER_CLOCK_DEFAULT; - osDisableTimerAndWatchdog(); osStopTimer(); osStopWatchDog(); - - osEnableTimerAndWatchdog(); } }