1*4882a593Smuzhiyun 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun 4*4882a593Smuzhiyun Copyright 1989, 1998 The Open Group 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun Permission to use, copy, modify, distribute, and sell this software and its 7*4882a593Smuzhiyun documentation for any purpose is hereby granted without fee, provided that 8*4882a593Smuzhiyun the above copyright notice appear in all copies and that both that 9*4882a593Smuzhiyun copyright notice and this permission notice appear in supporting 10*4882a593Smuzhiyun documentation. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun The above copyright notice and this permission notice shall be included in 13*4882a593Smuzhiyun all copies or substantial portions of the Software. 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16*4882a593Smuzhiyun IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17*4882a593Smuzhiyun FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18*4882a593Smuzhiyun OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 19*4882a593Smuzhiyun AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20*4882a593Smuzhiyun CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21*4882a593Smuzhiyun 22*4882a593Smuzhiyun Except as contained in this notice, the name of The Open Group shall not be 23*4882a593Smuzhiyun used in advertising or otherwise to promote the sale, use or other dealings 24*4882a593Smuzhiyun in this Software without prior written authorization from The Open Group. 25*4882a593Smuzhiyun */ 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun #ifndef VALIDATE_H 28*4882a593Smuzhiyun #define VALIDATE_H 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun #include "miscstruct.h" 31*4882a593Smuzhiyun #include "regionstr.h" 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun typedef enum { VTOther, VTStack, VTMove, VTUnmap, VTMap, VTBroken } VTKind; 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun /* union _Validate is now device dependent; see mivalidate.h for an example */ 36*4882a593Smuzhiyun typedef union _Validate *ValidatePtr; 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun #define UnmapValData ((ValidatePtr)1) 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun #endif /* VALIDATE_H */ 41