i82374.c (526947e496e4447d74b8d42415e2847481c5043d) i82374.c (63e6b5645021bb2b545a39f2896a42da5c300d9c)
1/*
2 * QEMU Intel 82374 emulation (Enhanced DMA controller)
3 *
4 * Copyright (c) 2010 Hervé Poussineau
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

53 uint8_t commands[8];
54 PortioList port_list;
55};
56
57static const VMStateDescription vmstate_i82374 = {
58 .name = "i82374",
59 .version_id = 0,
60 .minimum_version_id = 0,
1/*
2 * QEMU Intel 82374 emulation (Enhanced DMA controller)
3 *
4 * Copyright (c) 2010 Hervé Poussineau
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

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

53 uint8_t commands[8];
54 PortioList port_list;
55};
56
57static const VMStateDescription vmstate_i82374 = {
58 .name = "i82374",
59 .version_id = 0,
60 .minimum_version_id = 0,
61 .fields = (VMStateField[]) {
61 .fields = (const VMStateField[]) {
62 VMSTATE_UINT8_ARRAY(commands, I82374State, 8),
63 VMSTATE_END_OF_LIST()
64 },
65};
66
67static uint32_t i82374_read_isr(void *opaque, uint32_t nport)
68{
69 uint32_t val = 0;

--- 99 unchanged lines hidden ---
62 VMSTATE_UINT8_ARRAY(commands, I82374State, 8),
63 VMSTATE_END_OF_LIST()
64 },
65};
66
67static uint32_t i82374_read_isr(void *opaque, uint32_t nport)
68{
69 uint32_t val = 0;

--- 99 unchanged lines hidden ---