|
Packit Service |
e18529 |
/*
|
|
Packit Service |
e18529 |
* Configuration
|
|
Packit Service |
e18529 |
*/
|
|
Packit Service |
e18529 |
|
|
Packit Service |
e18529 |
#ifndef CONFIG_H
|
|
Packit Service |
e18529 |
#define CONFIG_H
|
|
Packit Service |
e18529 |
|
|
Packit Service |
e18529 |
/* Default memory device file */
|
|
Packit Service |
e18529 |
#if defined(__BEOS__) || defined(__HAIKU__)
|
|
Packit Service |
e18529 |
#define DEFAULT_MEM_DEV "/dev/misc/mem"
|
|
Packit Service |
e18529 |
#else
|
|
Packit Service |
e18529 |
#ifdef __sun
|
|
Packit Service |
e18529 |
#define DEFAULT_MEM_DEV "/dev/xsvc"
|
|
Packit Service |
e18529 |
#else
|
|
Packit Service |
e18529 |
#define DEFAULT_MEM_DEV "/dev/mem"
|
|
Packit Service |
e18529 |
#endif
|
|
Packit Service |
e18529 |
#endif
|
|
Packit Service |
e18529 |
|
|
Packit Service |
e18529 |
/* Use mmap or not */
|
|
Packit Service |
e18529 |
#ifndef __BEOS__
|
|
Packit Service |
e18529 |
#define USE_MMAP
|
|
Packit Service |
e18529 |
#endif
|
|
Packit Service |
e18529 |
|
|
Packit Service |
e18529 |
/* Use memory alignment workaround or not */
|
|
Packit Service |
e18529 |
#ifdef __ia64__
|
|
Packit Service |
e18529 |
#define ALIGNMENT_WORKAROUND
|
|
Packit Service |
e18529 |
#endif
|
|
Packit Service |
e18529 |
|
|
Packit Bot |
fd8419 |
/* Avoid unaligned memcpy on /dev/mem */
|
|
Packit Bot |
fd8419 |
#ifdef __aarch64__
|
|
Packit Bot |
fd8419 |
#define USE_SLOW_MEMCPY
|
|
Packit Bot |
fd8419 |
#endif
|
|
Packit Bot |
fd8419 |
|
|
Packit Service |
e18529 |
#endif
|