1 /* visorchipset_umode.h 2 * 3 * Copyright (C) 2010 - 2013 UNISYS CORPORATION 4 * All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or (at 9 * your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, but 12 * WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or 14 * NON INFRINGEMENT. See the GNU General Public License for more 15 * details. 16 */ 17 18 /** @file ********************************************************************* 19 * 20 * This describes structures needed for the interface between the 21 * visorchipset driver and a user-mode component that opens the device. 22 * 23 ****************************************************************************** 24 */ 25 26 #ifndef __VISORCHIPSET_UMODE_H 27 #define __VISORCHIPSET_UMODE_H 28 29 /** The user-mode program can access the control channel buffer directly 30 * via this memory map. 31 */ 32 #define VISORCHIPSET_MMAP_CONTROLCHANOFFSET (0x00000000) 33 #define VISORCHIPSET_MMAP_CONTROLCHANSIZE (0x00400000) /* 4MB */ 34 35 #endif /* __VISORCHIPSET_UMODE_H */ 36