pc87312.c (2c9b15cab12c21e32dffb67c5e18f3dc407ca224) pc87312.c (1437c94b2689c2010362f84d14f14feaa1d8dba3)
1/*
2 * QEMU National Semiconductor PC87312 (Super I/O)
3 *
4 * Copyright (c) 2010-2012 Herve Poussineau
5 * Copyright (c) 2011-2012 Andreas Färber
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 338 unchanged lines hidden (view full) ---

347 trace_pc87312_info_ide(get_ide_iobase(s));
348 }
349}
350
351static void pc87312_initfn(Object *obj)
352{
353 PC87312State *s = PC87312(obj);
354
1/*
2 * QEMU National Semiconductor PC87312 (Super I/O)
3 *
4 * Copyright (c) 2010-2012 Herve Poussineau
5 * Copyright (c) 2011-2012 Andreas Färber
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal

--- 338 unchanged lines hidden (view full) ---

347 trace_pc87312_info_ide(get_ide_iobase(s));
348 }
349}
350
351static void pc87312_initfn(Object *obj)
352{
353 PC87312State *s = PC87312(obj);
354
355 memory_region_init_io(&s->io, NULL, &pc87312_io_ops, s, "pc87312", 2);
355 memory_region_init_io(&s->io, obj, &pc87312_io_ops, s, "pc87312", 2);
356}
357
358static const VMStateDescription vmstate_pc87312 = {
359 .name = "pc87312",
360 .version_id = 1,
361 .minimum_version_id = 1,
362 .post_load = pc87312_post_load,
363 .fields = (VMStateField[]) {

--- 37 unchanged lines hidden ---
356}
357
358static const VMStateDescription vmstate_pc87312 = {
359 .name = "pc87312",
360 .version_id = 1,
361 .minimum_version_id = 1,
362 .post_load = pc87312_post_load,
363 .fields = (VMStateField[]) {

--- 37 unchanged lines hidden ---