vbeModes.h revision a5e7ae69e440f6816420fc99599f044e79e716b6
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright © 2002 David Dawes
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * copy of this software and associated documentation files (the "Software"),
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * to deal in the Software without restriction, including without limitation
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * and/or sell copies of the Software, and to permit persons to whom the
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Software is furnished to do so, subject to the following conditions:
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * The above copyright notice and this permission notice shall be included in
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * all copies or substantial portions of the Software.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * THE AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * SOFTWARE.
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Except as contained in this notice, the name of the author(s) shall
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * not be used in advertising or otherwise to promote the sale, use or other
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * dealings in this Software without prior written authorization from
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the author(s).
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Authors: David Dawes <dawes@xfree86.org>
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This is intended to be stored in the DisplayModeRec's private area.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * It includes all the information necessary to VBE information.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct _VbeModeInfoData {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define VBE_MODE_SUPPORTED(m) (((m)->ModeAttributes & 0x01) != 0)
((m)->PhysBasePtr != 0))
(f & V_MODETYPE_BAD)) && \
VBE_MODE_GRAPHICS(m) && \
int modeTypes);
const char **modeNames,
int apertureSize,