52 |
|
|
53 |
|
// Use Direct Addressing mode |
54 |
|
#define DIRECT_ADDRESSING 1 |
55 |
< |
#define NATMEM_OFFSET 0x02000000 |
55 |
> |
#define NATMEM_OFFSET 0x11000000 |
56 |
|
|
57 |
|
// Always use the complete (non-stubs based) Ethernet driver |
58 |
|
#if DIRECT_ADDRESSING |
125 |
|
#error "Unsupported size of pointer" |
126 |
|
#endif |
127 |
|
|
128 |
+ |
// Define if the host processor supports fast unaligned load/stores |
129 |
+ |
#if defined __i386__ || defined __x86_64__ |
130 |
+ |
#define UNALIGNED_PROFITABLE 1 |
131 |
+ |
#endif |
132 |
+ |
|
133 |
|
|
134 |
|
/** |
135 |
|
* Helper functions to byteswap data |