forked from xboot/xboot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jerryjianjun
committed
May 18, 2011
1 parent
5bc2957
commit 68415e7
Showing
23 changed files
with
230 additions
and
374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#ifndef __ARM_ENDIAN_H__ | ||
#define __ARM_ENDIAN_H__ | ||
|
||
#define __LITTLE_ENDIAN | ||
|
||
#if defined(__LITTLE_ENDIAN) | ||
# undef __LITTLE_ENDIAN | ||
# define __LITTLE_ENDIAN 1234 | ||
# define __BIG_ENDIAN 4321 | ||
# define __PDP_ENDIAN 3412 | ||
# define __BYTE_ORDER __LITTLE_ENDIAN | ||
#elif defined(__BIG_ENDIAN) | ||
# undef __BIG_ENDIAN | ||
# define __LITTLE_ENDIAN 1234 | ||
# define __BIG_ENDIAN 4321 | ||
# define __PDP_ENDIAN 3412 | ||
# define __BYTE_ORDER __BIG_ENDIAN | ||
#elif defined(__PDP_ENDIAN) | ||
# undef __PDP_ENDIAN | ||
# define __LITTLE_ENDIAN 1234 | ||
# define __BIG_ENDIAN 4321 | ||
# define __PDP_ENDIAN 3412 | ||
# define __BYTE_ORDER __PDP_ENDIAN | ||
#else | ||
# error "Unknown byte order!" | ||
#endif | ||
|
||
#endif /* __ARM_ENDIAN_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,9 @@ | ||
#ifndef __CONFIGS_H__ | ||
#define __CONFIGS_H__ | ||
|
||
/* | ||
* define the format of endian, little endian or big endian. | ||
*/ | ||
#define __LITTLE_ENDIAN | ||
#undef __BIG_ENDIAN | ||
|
||
/* | ||
* define the bits of system, 32bits or 64bits. | ||
*/ | ||
#define __SYS_32BIT | ||
#undef __SYS_64BIT | ||
|
||
/* | ||
* malloc heap size | ||
*/ | ||
#define CONFIG_HEAP_SIZE (SZ_1M * 16) | ||
|
||
|
||
#endif /* __CONFIGS_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,9 @@ | ||
#ifndef __CONFIGS_H__ | ||
#define __CONFIGS_H__ | ||
|
||
/* | ||
* define the format of endian, little endian or big endian. | ||
*/ | ||
#define __LITTLE_ENDIAN | ||
#undef __BIG_ENDIAN | ||
|
||
/* | ||
* define the bits of system, 32bits or 64bits. | ||
*/ | ||
#define __SYS_32BIT | ||
#undef __SYS_64BIT | ||
|
||
/* | ||
* define heap size | ||
*/ | ||
#define CONFIG_HEAP_SIZE (SZ_128M) | ||
|
||
|
||
#endif /* __CONFIGS_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,9 @@ | ||
#ifndef __CONFIGS_H__ | ||
#define __CONFIGS_H__ | ||
|
||
/* | ||
* define the format of endian, little endian or big endian. | ||
*/ | ||
#define __LITTLE_ENDIAN | ||
#undef __BIG_ENDIAN | ||
|
||
/* | ||
* define the bits of system, 32bits or 64bits. | ||
*/ | ||
#define __SYS_32BIT | ||
#undef __SYS_64BIT | ||
|
||
/* | ||
* malloc heap size | ||
*/ | ||
#define CONFIG_HEAP_SIZE (SZ_32M) | ||
|
||
#define CONFIG_HEAP_SIZE (SZ_32M) | ||
|
||
#endif /* __CONFIGS_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
#ifndef __CONFIGS_H__ | ||
#define __CONFIGS_H__ | ||
|
||
/* | ||
* define the format of endian, little endian or big endian. | ||
*/ | ||
#define __LITTLE_ENDIAN | ||
#undef __BIG_ENDIAN | ||
|
||
/* | ||
* define the bits of system, 32bits or 64bits. | ||
*/ | ||
#define __SYS_32BIT | ||
#undef __SYS_64BIT | ||
|
||
|
||
#endif /* __CONFIGS_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.