URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1308 |
Rev 1350 |
Line 101... |
Line 101... |
/* ---------------------------- */
|
/* ---------------------------- */
|
/* ----- Structs ----- */
|
/* ----- Structs ----- */
|
/* ---------------------------- */
|
/* ---------------------------- */
|
typedef struct{
|
typedef struct{
|
/* Base address in memory */
|
/* Base address in memory */
|
unsigned long baseaddr;
|
oraddr_t baseaddr;
|
|
|
/* Which IRQ to generate */
|
/* Which IRQ to generate */
|
int irq;
|
int irq;
|
|
|
/* Which ATA host is this? */
|
/* Which ATA host is this? */
|
Line 130... |
Line 130... |
|
|
/* ---------------------------- */
|
/* ---------------------------- */
|
/* ----- Prototypes ----- */
|
/* ----- Prototypes ----- */
|
/* ---------------------------- */
|
/* ---------------------------- */
|
void ata_reset(void);
|
void ata_reset(void);
|
unsigned long ata_read32( unsigned long addr );
|
uint32_t ata_read32( oraddr_t addr );
|
void ata_write32( unsigned long addr, unsigned long value );
|
void ata_write32( oraddr_t addr, uint32_t value );
|
void ata_status(void);
|
void ata_status(void);
|
|
|
|
|
/* ---------------------------- */
|
/* ---------------------------- */
|
/* ----- Macros ----- */
|
/* ----- Macros ----- */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.