/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* bos72Q src/bos/kernel/sys/POWER/iocc.h 1.17.3.1                        */
/*                                                                        */
/* Licensed Materials - Property of IBM                                   */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 1988,2019              */
/* All Rights Reserved                                                    */
/*                                                                        */
/* US Government Users Restricted Rights - Use, duplication or            */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
/* @(#)73       1.17.3.1  src/bos/kernel/sys/POWER/iocc.h, sysios, bos72Q, q2019_13A4 2/6/19 00:41:45 */

/*
 * COMPONENT_NAME: (SYSIOS) IO Channel Converter Harware Definitions
 *
 * FUNCTIONS:
 *
 * ORIGINS: 27, 83
 *
 * (C) COPYRIGHT International Business Machines Corp. 1988, 1994
 * All Rights Reserved
 * Licensed Materials - Property of IBM
 *
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 */
/*
 *   LEVEL 1,  5 Years Bull Confidential Information
 */

/*****************************  IMPORTANT NOTICE  ***************************
*                                                                           *
* DO NOT MODIFY THIS FILE, BECAUSE IT WILL GLOBALLY AFFECT ALL PROGRAMS IN  *
* THE SYSTEM THAT INCLUDE THIS FILE.                                        *
*                                                                           *
****************************************************************************/

#ifndef _H_IOCC
#define _H_IOCC

#ifndef _H_TYPES
#include <sys/types.h>
#endif /* _H_TYPES */

#ifdef __cplusplus
extern "C" {
#endif

/***************************************************************************/

#define	KEY_POS_MASK	0x00000003	/* mask off all but key position bits */
#define KEY_POS_NORMAL	0x03		/* key is in the normal position */
#define KEY_POS_SECURE	0x01		/* key is in the secure position */
#define KEY_POS_SERVICE	0x02		/* key is in the service position */

uchar get_key_pos(void);    /* get key position */

/***************************************************************************/

#ifdef __cplusplus
}
#endif

#endif /* _H_IOCC */