File tree Expand file tree Collapse file tree 5 files changed +7
-14
lines changed Expand file tree Collapse file tree 5 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ void rt_hw_board_init(void)
2727 rt_hw_interrupt_init ();
2828
2929 // initial system timer
30- hw_system_timer_init ();
30+ rt_hw_system_timer_init ();
3131
3232 /* initialize memory system */
3333 rt_kprintf ("heap: 0x%08x - 0x%08x\n" , RT_HW_HEAP_BEGIN , RT_HW_HEAP_END );
3434 rt_system_heap_init (RT_HW_HEAP_BEGIN , RT_HW_HEAP_END );
3535
36- hw_system_timer_start ();
36+ rt_hw_system_timer_start ();
3737}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ void rt_hw_systick_isr(void)
3232/**
3333 * The function initial system timer interrupt.
3434 */
35- void hw_system_timer_init (void )
35+ void rt_hw_system_timer_init (void )
3636{
3737 // initial system timer interrupt, map local timer interrupt to INT14
3838 gpCGEM_regs -> INTMUX3 = (CSL_GEM_TINTLN <<CSL_CGEM_INTMUX3_INTSEL14_SHIFT );
@@ -47,7 +47,7 @@ void hw_system_timer_init(void)
4747 * Use local timer (==DNUM of a core) to generate a clock on TIMO0,interrupts are generated as well
4848 *
4949 */
50- void hw_system_timer_start (void )
50+ void rt_hw_system_timer_start (void )
5151{
5252 Timer64_Config tmrCfg ;
5353
Original file line number Diff line number Diff line change 1111#ifndef __SYS_TIMER_H__
1212#define __SYS_TIMER_H__
1313
14- void hw_system_timer_init (void );
14+ void rt_hw_system_timer_init (void );
1515
16- void hw_system_timer_start (void );
16+ void rt_hw_system_timer_start (void );
1717
1818#endif /* __SYS_TIMER_H__ */
1919
Original file line number Diff line number Diff line change 1919#define REG_PAIR (odd , even ) unsigned long even; unsigned long odd
2020#endif
2121
22- /*
23- * this struct defines the way the registers are stored on the
24- * stack during a system call. fields defined with REG_PAIR
25- * are saved and restored using double-word memory operations
26- * which means the word ordering of the pair depends on endianess.
27- */
28-
2922struct rt_hw_register
3023{
3124 REG_PAIR (b17 , b16 );
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ rt_hw_enable_exception:
4545 DINT
4646 MVC .S2 TSR , B0
4747 MVC .S2 B3 , NRP
48- MVK .L2 0xc , B1
48+ MVK .L2 0xC , B1
4949 OR .D2 B0 , B1 , B0
5050 MVC .S2 B0 , TSR ; Set GEE and XEN in TSR
5151 B .S2 NRP
You can’t perform that action at this time.
0 commit comments