mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
vga: port vga_common_save/load to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
2a3138ab15
commit
11b6b34508
2 changed files with 57 additions and 82 deletions
|
@ -21,6 +21,9 @@
|
|||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <hw/hw.h>
|
||||
|
||||
#define MSR_COLOR_EMULATION 0x01
|
||||
#define MSR_PAGE_SELECT 0x20
|
||||
|
||||
|
@ -193,6 +196,7 @@ void vga_common_reset(VGACommonState *s);
|
|||
|
||||
void vga_dirty_log_start(VGACommonState *s);
|
||||
|
||||
extern const VMStateDescription vmstate_vga_common;
|
||||
void vga_common_save(QEMUFile *f, void *opaque);
|
||||
int vga_common_load(QEMUFile *f, void *opaque, int version_id);
|
||||
uint32_t vga_ioport_read(void *opaque, uint32_t addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue