1 /* visorchipset_umode.h
3 * Copyright (C) 2010 - 2013 UNISYS CORPORATION
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.
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
18 /** @file *********************************************************************
20 * This describes structures needed for the interface between the
21 * visorchipset driver and a user-mode component that opens the device.
23 ******************************************************************************
26 #ifndef __VISORCHIPSET_UMODE_H
27 #define __VISORCHIPSET_UMODE_H
29 /** The user-mode program can access the control channel buffer directly
30 * via this memory map.
32 #define VISORCHIPSET_MMAP_CONTROLCHANOFFSET (0x00000000)
33 #define VISORCHIPSET_MMAP_CONTROLCHANSIZE (0x00400000) /* 4MB */
35 #endif /* __VISORCHIPSET_UMODE_H */