summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authordzzxzz <[email protected]>2010-04-20 01:00:45 +0000
committerdzzxzz <[email protected]>2010-04-20 01:00:45 +0000
commit005d4141d992c845c9fbec791f131000c46d725f (patch)
tree5ddf3781a07b4cca88e39ca10c28c03a79cdaee7 /bsp
parentbb3e4d4f6a34efd872eeffdf543bb202b4bbb02b (diff)
rewrite 3 functions in context.asm for M16C port
rt_hw_context_switch() rt_hw_interrupt_disable() rt_hw_interrupt_enable() git-svn-id: https://rt-thread.googlecode.com/svn/trunk@654 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp')
-rw-r--r--bsp/m16c62p/vectors.s343
1 files changed, 2 insertions, 1 deletions
diff --git a/bsp/m16c62p/vectors.s34 b/bsp/m16c62p/vectors.s34
index f80ed655c4..1594485c0d 100644
--- a/bsp/m16c62p/vectors.s34
+++ b/bsp/m16c62p/vectors.s34
@@ -23,6 +23,7 @@
EXTERN rt_hw_timer_handler
EXTERN rt_hw_uart0_receive_handler
+ EXTERN os_context_switch
PUBLIC RelocatableVectTbl
@@ -30,7 +31,7 @@
RelocatableVectTbl:
ORG 0
- DC32 0 ; Vector 0: BRK
+ DC32 os_context_switch ; Vector 0: BRK
DC32 0 ; Vector 1: Reserved
DC32 0 ; Vector 2: Reserved
DC32 0 ; Vector 3: Reserved