VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/DevVGASavedState.h@ 43680

Last change on this file since 43680 was 37770, checked in by vboxsync, 13 years ago

vga: workaround invalid vbe_regs[VBE_DISPI_INDEX_VIRT_HEIGHT]: re-calculate its value on saved state restore

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1/* $Id: DevVGASavedState.h 37770 2011-07-04 17:43:06Z vboxsync $ */
2/** @file
3 * DevVGA - Saved state versions.
4 *
5 * @remarks HGSMI needs this but doesn't want to deal with DevVGA.h, thus this
6 * dedicated header.
7 */
8
9/*
10 * Copyright (C) 2006-2009 Oracle Corporation
11 *
12 * This file is part of VirtualBox Open Source Edition (OSE), as
13 * available from http://www.virtualbox.org. This file is free software;
14 * you can redistribute it and/or modify it under the terms of the GNU
15 * General Public License (GPL) as published by the Free Software
16 * Foundation, in version 2 as it comes in the "COPYING" file of the
17 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
18 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
19 */
20
21
22#ifndef Graphics_DevVGASavedState_h
23#define Graphics_DevVGASavedState_h
24
25#define VGA_SAVEDSTATE_VERSION 8
26#define VGA_SAVEDSTATE_VERSION_INV_VHEIGHT 8 /* <- states upto and including this version may contain invalid vbe_regs[VBE_DISPI_INDEX_VIRT_HEIGHT] value */
27#define VGA_SAVEDSTATE_VERSION_WDDM 7
28#define VGA_SAVEDSTATE_VERSION_PRE_WDDM 6
29#define VGA_SAVEDSTATE_VERSION_HOST_HEAP 5
30#define VGA_SAVEDSTATE_VERSION_WITH_CONFIG 4
31#define VGA_SAVEDSTATE_VERSION_HGSMI 3
32#define VGA_SAVEDSTATE_VERSION_PRE_HGSMI 2
33#define VGA_SAVEDSTATE_VERSION_ANCIENT 1
34
35#endif
36
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette