OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [rel-0-3-0-rc1/] [or1ksim/] [peripheral/] [atadevice.h] - Diff between revs 1694 and 1695

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1694 Rev 1695
Line 160... Line 160...
                int pdiagi, pdiago;
                int pdiagi, pdiago;
                int daspi, daspo;
                int daspi, daspo;
        } sigs;
        } sigs;
 
 
        /******** simulator settings **********************************/
        /******** simulator settings **********************************/
        /* simulate ata-device                                        */
        struct {
        char *file;   /* Filename (if type == FILE)                   */
        char *file;   /* Filename (if type == FILE)                   */
        FILE *stream; /* stream where the simulated device connects to*/
        FILE *stream; /* stream where the simulated device connects to*/
        int  type;    /* Simulate device using                        */
        int  type;    /* Simulate device using                        */
                      /* NO_CONNECT: no device connected (dummy)      */
                      /* NO_CONNECT: no device connected (dummy)      */
                      /* FILE      : a file                           */
                      /* FILE      : a file                           */
                      /* LOCAL     : a local stream, e.g./dev/hda1    */
                      /* LOCAL     : a local stream, e.g./dev/hda1    */
        unsigned long size;    /* size in MB of the simulated device  */
          unsigned long size;    /* size in bytes of the simulated device    */
        int  packet;  /* device implements PACKET command set         */
        int  packet;  /* device implements PACKET command set         */
 
        } conf;
} ata_device;
} ata_device;
 
 
typedef struct{
typedef struct{
  ata_device device[2];
  ata_device device[2];
} ata_devices;
} ata_devices;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.