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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [peripheral/] [atadevice.c] - Diff between revs 19 and 60

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

Rev 19 Rev 60
Line 28... Line 28...
/* Autoconf and/or portability configuration */
/* Autoconf and/or portability configuration */
#include "config.h"
#include "config.h"
#include "port.h"
#include "port.h"
 
 
/* System includes */
/* System includes */
 
#ifdef __APPLE__
 
#include <libkern/OSByteOrder.h>
 
#define bswap_16(x) OSSwapInt16(x)
 
#define bswap_32(x) OSSwapInt32(x)
 
#define bswap_64(x) OSSwapInt64(x)
 
#else
#include <byteswap.h>
#include <byteswap.h>
 
#endif
 
 
/* Package includes */
/* Package includes */
#include "atadevice.h"
#include "atadevice.h"
#include "atadevice-cmdi.h"
#include "atadevice-cmdi.h"
#include "atacmd.h"
#include "atacmd.h"

powered by: WebSVN 2.1.0

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