Changeset 1314849 in rtems
- Timestamp:
- 10/08/14 20:09:50 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 60ec7a6
- Parents:
- 81074900
- git-author:
- Joel Sherrill <joel.sherrill@…> (10/08/14 20:09:50)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (10/09/14 15:11:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/cpu/h8300/rtems/score/cpu.h
r81074900 r1314849 638 638 * H8300 Specific Information: 639 639 * 640 * XXX640 * TODO: As of 8 October 2014, this method is not implemented for the SX. 641 641 */ 642 642 … … 650 650 } while (0) 651 651 #else 652 #define _CPU_ISR_Disable( _isr_cookie ) (_isr_cookie) = 0 652 #define _CPU_ISR_Disable( _isr_cookie ) \ 653 do { \ 654 (_isr_cookie) = 0; \ 655 } while (0) 653 656 #endif 654 657 … … 661 664 * H8300 Specific Information: 662 665 * 663 * XXX666 * TODO: As of 8 October 2014, this method is not implemented for the SX. 664 667 */ 665 668 … … 671 674 } while (0) 672 675 #else 673 #define _CPU_ISR_Enable( _isr_cookie ) 676 #define _CPU_ISR_Enable( _isr_cookie ) \ 677 do { \ 678 (_isr_cookie) = (_isr_cookie); \ 679 } while (0) 674 680 #endif 675 681 … … 682 688 * H8300 Specific Information: 683 689 * 684 * XXX690 * TODO: As of 8 October 2014, this method is not implemented for the SX. 685 691 */ 686 692 … … 692 698 } while (0) 693 699 #else 694 #define _CPU_ISR_Flash( _isr_cookie ) 700 #define _CPU_ISR_Flash( _isr_cookie ) \ 701 do { \ 702 _CPU_ISR_Enable( _isr_cookie ); \ 703 _CPU_ISR_Disable( _isr_cookie ); \ 704 } while (0) 695 705 #endif 696 706 … … 765 775 else (_the_context)->ccr = CPU_CCR_INTERRUPTS_ON; \ 766 776 \ 777 (void) _is_fp; /* to eliminate set but not used warning */ \ 767 778 _stack = ((uintptr_t)(_stack_base)) + (_size) - 4; \ 768 779 *((proc_ptr *)(_stack)) = (_entry_point); \
Note: See TracChangeset
for help on using the changeset viewer.