core.c (e376a788ae130454ad5e797f60cb70d0308babb6) | core.c (a2cb15b0ddfa05f81a42d7b65dd0c7c50e420c33) |
---|---|
1/* 2 * QEMU IDE disk and CD/DVD-ROM Emulator 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * Copyright (c) 2006 Openedhand Ltd. 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 --- 10 unchanged lines hidden (view full) --- 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 * THE SOFTWARE. 24 */ 25#include <hw/hw.h> 26#include <hw/pc.h> | 1/* 2 * QEMU IDE disk and CD/DVD-ROM Emulator 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * Copyright (c) 2006 Openedhand Ltd. 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 --- 10 unchanged lines hidden (view full) --- 19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 23 * THE SOFTWARE. 24 */ 25#include <hw/hw.h> 26#include <hw/pc.h> |
27#include <hw/pci.h> | 27#include <hw/pci/pci.h> |
28#include <hw/isa.h> 29#include "qemu-error.h" 30#include "qemu-timer.h" 31#include "sysemu.h" 32#include "dma.h" 33#include "hw/block-common.h" 34#include "blockdev.h" 35 --- 1828 unchanged lines hidden (view full) --- 1864 s->sense_key = 0; 1865 s->asc = 0; 1866 s->cdrom_changed = 0; 1867 s->packet_transfer_size = 0; 1868 s->elementary_transfer_size = 0; 1869 s->io_buffer_index = 0; 1870 s->cd_sector_size = 0; 1871 s->atapi_dma = 0; | 28#include <hw/isa.h> 29#include "qemu-error.h" 30#include "qemu-timer.h" 31#include "sysemu.h" 32#include "dma.h" 33#include "hw/block-common.h" 34#include "blockdev.h" 35 --- 1828 unchanged lines hidden (view full) --- 1864 s->sense_key = 0; 1865 s->asc = 0; 1866 s->cdrom_changed = 0; 1867 s->packet_transfer_size = 0; 1868 s->elementary_transfer_size = 0; 1869 s->io_buffer_index = 0; 1870 s->cd_sector_size = 0; 1871 s->atapi_dma = 0; |
1872 s->tray_locked = 0; 1873 s->tray_open = 0; | |
1874 /* ATA DMA state */ 1875 s->io_buffer_size = 0; 1876 s->req_nb_sectors = 0; 1877 1878 ide_set_signature(s); 1879 /* init the transfer handler so that 0xffff is returned on data 1880 accesses */ 1881 s->end_transfer_func = ide_dummy_transfer_stop; --- 484 unchanged lines hidden --- | 1872 /* ATA DMA state */ 1873 s->io_buffer_size = 0; 1874 s->req_nb_sectors = 0; 1875 1876 ide_set_signature(s); 1877 /* init the transfer handler so that 0xffff is returned on data 1878 accesses */ 1879 s->end_transfer_func = ide_dummy_transfer_stop; --- 484 unchanged lines hidden --- |