projects
/
platform
/
upstream
/
dmidecode.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.11
[platform/upstream/dmidecode.git]
/
config.h
1
/*
2
* Configuration
3
*/
4
5
#ifndef CONFIG_H
6
#define CONFIG_H
7
8
/* Default memory device file */
9
#ifdef __BEOS__
10
#define DEFAULT_MEM_DEV "/dev/misc/mem"
11
#else
12
#ifdef __sun
13
#define DEFAULT_MEM_DEV "/dev/xsvc"
14
#else
15
#define DEFAULT_MEM_DEV "/dev/mem"
16
#endif
17
#endif
18
19
/* Use mmap or not */
20
#ifndef __BEOS__
21
#define USE_MMAP
22
#endif
23
24
/* Use memory alignment workaround or not */
25
#ifdef __ia64__
26
#define ALIGNMENT_WORKAROUND
27
#endif
28
29
#endif