Changeset a5bbd3ac in rtems
- Timestamp:
- 10/07/14 22:41:52 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 4efdc8e9
- Parents:
- bf19dbc3
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/07/14 22:41:52)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/09/14 15:11:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/cpu/moxie/rtems/score/cpu.h
rbf19dbc3 ra5bbd3ac 571 571 * MOXIE Specific Information: 572 572 * 573 * XXX 574 */ 575 #define _CPU_ISR_Disable( _isr_cookie ) (_isr_cookie) = 0 573 * TODO: As of 7 October 2014, this method is not implemented. 574 */ 575 #define _CPU_ISR_Disable( _isr_cookie ) \ 576 do { \ 577 (_isr_cookie) = 0; \ 578 } while (0) 576 579 577 580 /* … … 582 585 * MOXIE Specific Information: 583 586 * 584 * XXX 585 */ 586 #define _CPU_ISR_Enable( _isr_cookie ) 587 * TODO: As of 7 October 2014, this method is not implemented. 588 */ 589 #define _CPU_ISR_Enable( _isr_cookie ) \ 590 do { \ 591 (_isr_cookie) = (_isr_cookie); \ 592 } while (0) 587 593 588 594 /* … … 594 600 * MOXIE Specific Information: 595 601 * 596 * XXX 597 */ 598 #define _CPU_ISR_Flash( _isr_cookie ) 602 * TODO: As of 7 October 2014, this method is not implemented. 603 */ 604 #define _CPU_ISR_Flash( _isr_cookie ) \ 605 do { \ 606 _CPU_ISR_Enable( _isr_cookie ); \ 607 _CPU_ISR_Disable( _isr_cookie ); \ 608 } while (0) 599 609 600 610 /* … … 610 620 * MOXIE Specific Information: 611 621 * 612 * XXX622 * TODO: As of 7 October 2014, this method is not implemented. 613 623 */ 614 624 #define _CPU_ISR_Set_level( _new_level ) \ … … 646 656 * MOXIE Specific Information: 647 657 * 648 * XXX 658 * TODO: As of 7 October 2014, this method does not ensure that the context 659 * is set up with interrupts disabled/enabled as requested. 649 660 */ 650 661 #define CPU_CCR_INTERRUPTS_ON 0x80 … … 657 668 uintptr_t _stack; \ 658 669 \ 670 (void) _is_fp; /* avoid warning for being unused */ \ 671 (void) _isr; /* avoid warning for being unused */ \ 659 672 _stack = ((uintptr_t)(_stack_base)) + (_size) - 8; \ 660 673 *((proc_ptr *)(_stack)) = (_entry_point); \ … … 949 962 void _CPU_Context_restore( 950 963 Context_Control *new_context 951 ) ;964 ) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE; 952 965 953 966 /*
Note: See TracChangeset
for help on using the changeset viewer.