| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:42:04 GMT | ||||||||||||||||
| |||||||||||||||||
| Manpage of MPS_INTR_DISABLEDescription: Manual PageKeywords: ss7 ss7/ip ss7 over ip ss7 mtp ss7 sccp ss7 tcap sigtran mtp sccp tcap openss7 acb56 linux telephony pstn linux telephony linux nebs linux compactpciMPS_INTR_DISABLESection: OpenSS7 STREAMS Compatibility DDI/DKI (9)Updated: 2008-10-31 Index Return to Main Contents NAMEmps_intr_disable - disable interruptsSYNOPSIS#define _MPS_SOURCE
ARGUMENTS
INTERFACEDESCRIPTIONmps_intr_disable() disables interrupts. USAGEmps_intr_disable() can be called to disable interrupts on the local processor and save the current processor priority level to the locate specified by the plp argument. Interrupts disbabled with mps_intr_disable() can be re-enabled with mps_intr_enable(9). Each call to mps_intr_disable() should be matched with a corresponding call to mps_intr_enable(9). RETURNWhen mps_intr_disable() returns void, and places the previous priority level in the area pointed to by plp. ERRORSmps_intr_disable() always succeeds. However, if passed a NULL pointer, the kernel will panic. CONTEXTmps_intr_disable() can be called from any context, including an interrupt service routine. Calls can be nested. MP-STREAMSmps_intr_disable() is inherently MP-safe. NOTICESmps_intr_disable() is an MPS®-specific function: _MPS_SOURCE, _AIX_SOURCE or _MAC_SOURCE must be defined before including DDI/DKI include files to expose this symbol. OpenSS7 STREAMS Compatibility must also have been compiled with CONFIG_STREAMS_COMPAT_MPS, CONFIG_STREAMS_COMPAT_MPS_MODULE, CONFIG_STREAMS_COMPAT_AIX, CONFIG_STREAMS_COMPAT_AIX_MODULE, CONFIG_STREAMS_COMPAT_MAC or CONFIG_STREAMS_COMPAT_MAC_MODULE defined. IMPLEMENTATIONmps_intr_disable() is, of course, implemented by calling local_irq_save() and storing the flags in plp. SEE ALSOmps_intr_enable(9), mpscompat(9), aixcompat(9), maccompat(9), STREAMS(9). BUGSmps_intr_disable() has no known bugs. COMPATIBILITYmps_intr_disable() is compatible with MPS®, AIX®, MacOT®, and Solaris®, with the following portability considerations:
See mpscompat(9), aixcompat(9), maccompat(9), and STREAMS(9) for additional compatibility considerations. CONFORMANCEMPS® DDI documentation, MacOT® DDI documentation[2, 3], AIX® documentation[4]. HISTORYmps_intr_disable() first appeared in MPS®. mps_intr_disable() is a Mentat, Inc. function that goes all the way back to the pre-OSF/1 Mentat implementations. mps_intr_disable() appears in MacOT®[3] and AIX®[4]. An undocumented version of mps_intr_disable() appears in Solaris®. REFERENCES
TRADEMARKS
Other trademarks are the property of their respective owners. IDENTIFICATION
Copyright©1997-2008OpenSS7 Corp.
All Rights Reserved.
Index
This document was created by man2html, using the manual pages. Time: 03:45:22 GMT, May 22, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:42:04 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |