/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* bos720 src/bos/kernext/rcm/inc/sys/rcmioctl.h 1.6                      */
/*                                                                        */
/* Licensed Materials - Property of IBM                                   */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 1989,1999              */
/* 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                                                     */
/* @(#)86	1.6  src/bos/kernext/rcm/inc/sys/rcmioctl.h, rcm, bos720 5/3/99 17:39:07 */

/*
 *   COMPONENT_NAME: rcm
 *
 * FUNCTIONS: none
 *
 *   ORIGINS: 27
 *
 * (C) COPYRIGHT International Business Machines Corp. 1989, 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.
 */

#ifndef _H_RCM_IOCTL
#define _H_RCM_IOCTL

#include <sys/rcm_win.h>

/* -----------------------------------------------------------------
        RCM ioctl command defines
   -------------------------------------------------------------- */

#define RCM_IOC			('R'<<8)
#define GSC_HANDLE		(RCM_IOC | 1)	/* get gsc handle               */
#define RCM_QUERY		(RCM_IOC | 2)	/* query the RCM                */
#define RCM_SET_DIAG_OWNER	(RCM_IOC | 3)	/* acquire a display            */
#define GSC_HANDLE_RELEASE	(RCM_IOC | 4)	/* release gsc handle           */

#define GSC_GRAPHICS_INIT_STARTS	(RCM_IOC | 5)	/* X/diag starts initialization */

#define GSC_GRAPHICS_INIT_ENDS	(RCM_IOC | 6)	/* X/diag ends initialization   */

#define GSC_GRAPHICS_DATA_SAVED	(RCM_IOC | 7)	/* X has saved GRAPHICS data for*/
                                                /* device suspend/hibernaton    */

#define GSC_GRAPHICS_SAVE_FAILED	(RCM_IOC | 8)	
#define GSC_GRAPHICS_QUERY_PM_STATUS	(RCM_IOC | 9)	

/* ----------------------------------------------------------------
                Structure for getting Handle for aixgsc calls
   ---------------------------------------------------------------*/
typedef struct _gsc_handle
{
	char	devname[16];
	gHandle	handle;
} gsc_handle;

#endif /* _H_RCM_IOCTL */

