1 | #ifndef ETHERBOOT_ASM_H
|
---|
2 | #define ETHERBOOT_ASM_H
|
---|
3 |
|
---|
4 |
|
---|
5 | /* Macro to add a leading underscore to symbols. This is necessary e.g. for
|
---|
6 | * building Etherboot under Windows with mingw. */
|
---|
7 |
|
---|
8 | #ifdef __WIN32__
|
---|
9 | #define GSYM(x) _##x
|
---|
10 | #else /* !__WIN32__ */
|
---|
11 | #define GSYM(x) x
|
---|
12 | #endif /* !__WIN32__ */
|
---|
13 |
|
---|
14 |
|
---|
15 | #ifdef __WIN32__
|
---|
16 | #define HACK_ADDR32 addr32
|
---|
17 | #define HACK_DATA32 data32
|
---|
18 | #else /* !__WIN32__ */
|
---|
19 | #define HACK_ADDR32
|
---|
20 | #define HACK_DATA32
|
---|
21 | #endif /* !__WIN32__ */
|
---|
22 |
|
---|
23 |
|
---|
24 | #endif /* ETHERBOOT_ASM_H */
|
---|