Mercurial > flash_v2
changeset 1368:7a48ba3056e6
* cdl/linux.cdl:
* include/asm/page.h:
Make page size configurable via cdl.
| author | asl |
|---|---|
| date | Thu, 20 Nov 2003 08:24:58 +0000 |
| parents | c538173ceffb |
| children | c92d7972c02c |
| files | packages/compat/linux/current/ChangeLog packages/compat/linux/current/cdl/linux.cdl packages/compat/linux/current/include/asm/page.h |
| diffstat | 3 files changed, 27 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/compat/linux/current/ChangeLog +++ b/packages/compat/linux/current/ChangeLog @@ -1,12 +1,19 @@ +2003-11-12 Thomas Koeller <thomas.koeller@baslerweb.com> + + * cdl/linux.cdl: + * include/asm/page.h: + Make page size configurable via cdl. + 2003-10-18 Gary Thomas <gary@mlbassoc.com> - * src/rbtree.c (rb_erase): Fix bug in red-black tree which caused - node corruption - merge from external sources, found by Scott Wilkerson. + * src/rbtree.c (rb_erase): Fix bug in red-black tree which caused + node corruption - merge from external sources, found by Scott + Wilkerson. 2003-10-18 Savin Zlobec <savin@elatec.si> - * include/linux/rbtree.h: - Fixed 'pointer of type `void *' used in subtraction' compiler warrning. + * include/linux/rbtree.h: + Fixed 'pointer of type `void *' used in subtraction' compiler warrning. 2003-07-27 Andrew Lunn <andrew.lunn@ascom.ch>
--- a/packages/compat/linux/current/cdl/linux.cdl +++ b/packages/compat/linux/current/cdl/linux.cdl @@ -41,7 +41,7 @@ ######DESCRIPTIONBEGIN#### # # Author(s): dwmw2 -# Contributors: +# Contributors: tkoeller # Date: 2003-01-08 # #####DESCRIPTIONEND#### @@ -57,8 +57,20 @@ cdl_package CYGPKG_LINUX_COMPAT { assistance in porting drivers and file system code from Linux. Note this does not provide Linux compatibility to applications." - compile rbtree.c + compile rbtree.c + cdl_option CYGNUM_LINUX_COMPAT_PAGE_SIZE_EXPONENT { + display "Define page size" + flavor data + legal_values 10 to 16 + default_value 12 + no_define + define PAGE_SHIFT + description " + Define the page size. The value entered here is used as an + exponent X in the expression 2^^X to ensure that the page + size is always an integer power of two." + } } # EOF linux.cdl
--- a/packages/compat/linux/current/include/asm/page.h +++ b/packages/compat/linux/current/include/asm/page.h @@ -1,9 +1,10 @@ #ifndef __ASM_PAGE_H__ #define __ASM_PAGE_H__ +#include <pkgconf/linux_compat.h> + /* These aren't used by much yet. If that changes, you might want to make them actually correct :) */ -#define PAGE_SHIFT 0xC #define PAGE_SIZE (0x1 << PAGE_SHIFT)
