- Timestamp:
- 06/19/15 12:57:44 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- df8341a
- Parents:
- f9090ac
- git-author:
- Sebastian Huber <sebastian.huber@…> (06/19/15 12:57:44)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (06/22/15 06:40:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user/intr.t
rf9090ac rcdf30f05 22 22 @item @code{@value{DIRPREFIX}interrupt_enable} - Enable Interrupts 23 23 @item @code{@value{DIRPREFIX}interrupt_flash} - Flash Interrupt 24 @item @code{@value{DIRPREFIX}interrupt_local_disable} - Disable Interrupts on Current Processor 25 @item @code{@value{DIRPREFIX}interrupt_local_enable} - Enable Interrupts on Current Processor 24 26 @item @code{@value{DIRPREFIX}interrupt_lock_initialize} - Initialize an ISR Lock 25 27 @item @code{@value{DIRPREFIX}interrupt_lock_acquire} - Acquire an ISR Lock … … 398 400 @end ifset 399 401 402 This directive is only available on uni-processor configurations. The 403 directive @code{@value{DIRPREFIX}interrupt_local_disable} is available on all 404 configurations. 405 400 406 @c 401 407 @c … … 442 448 This directive will not cause the calling task to be preempted. 443 449 450 This directive is only available on uni-processor configurations. The 451 directive @code{@value{DIRPREFIX}interrupt_local_enable} is available on all 452 configurations. 444 453 445 454 @c … … 487 496 This directive will not cause the calling task to be preempted. 488 497 498 This directive is only available on uni-processor configurations. The 499 directives @code{@value{DIRPREFIX}interrupt_local_disable} and 500 @code{@value{DIRPREFIX}interrupt_local_enable} is available on all 501 configurations. 502 503 @c 504 @c 505 @c 506 @page 507 @subsection INTERRUPT_LOCAL_DISABLE - Disable Interrupts on Current Processor 508 509 @cindex disable interrupts 510 511 @subheading CALLING SEQUENCE: 512 513 @ifset is-C 514 @findex rtems_interrupt_local_disable 515 @example 516 void rtems_interrupt_local_disable( 517 rtems_interrupt_level level 518 ); 519 520 /* this is implemented as a macro and sets level as a side-effect */ 521 @end example 522 @end ifset 523 524 @subheading DIRECTIVE STATUS CODES: 525 526 NONE 527 528 @subheading DESCRIPTION: 529 530 This directive disables all maskable interrupts and returns 531 the previous @code{level}. A later invocation of the 532 @code{@value{DIRPREFIX}interrupt_local_enable} directive should be used to 533 restore the interrupt level. 534 535 @subheading NOTES: 536 537 This directive will not cause the calling task to be preempted. 538 539 @ifset is-C 540 @b{This directive is implemented as a macro which modifies the @code{level} 541 parameter.} 542 @end ifset 543 544 On SMP configurations this will not ensure system wide mutual exclusion. Use 545 interrupt locks instead. 546 547 @c 548 @c 549 @c 550 @page 551 @subsection INTERRUPT_LOCAL_ENABLE - Enable Interrupts on Current Processor 552 553 @cindex enable interrupts 554 555 @subheading CALLING SEQUENCE: 556 557 @ifset is-C 558 @findex rtems_interrupt_local_enable 559 @example 560 void rtems_interrupt_local_enable( 561 rtems_interrupt_level level 562 ); 563 @end example 564 @end ifset 565 566 @subheading DIRECTIVE STATUS CODES: 567 568 NONE 569 570 @subheading DESCRIPTION: 571 572 This directive enables maskable interrupts to the @code{level} 573 which was returned by a previous call to 574 @code{@value{DIRPREFIX}interrupt_local_disable}. 575 Immediately prior to invoking this directive, maskable interrupts should 576 be disabled by a call to @code{@value{DIRPREFIX}interrupt_local_disable} 577 and will be enabled when this directive returns to the caller. 578 579 @subheading NOTES: 580 581 This directive will not cause the calling task to be preempted. 582 489 583 @c 490 584 @c
Note: See TracChangeset
for help on using the changeset viewer.