2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
* libc/sys/rtems/machine/sys/param.h: Conditionalize definition of BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets. This is needed to build all AVR and H8300 RTEMS multilib variants.
This commit is contained in:
parent
1cc0c5d6f9
commit
c1f828e56e
|
@ -1,3 +1,9 @@
|
||||||
|
2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
|
||||||
|
BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
|
||||||
|
This is needed to build all AVR and H8300 RTEMS multilib variants.
|
||||||
|
|
||||||
2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
|
2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
|
||||||
|
|
||||||
* libc/machine/configure.in: Add configuration for SPU.
|
* libc/machine/configure.in: Add configuration for SPU.
|
||||||
|
|
|
@ -34,8 +34,13 @@
|
||||||
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
|
||||||
#define DEV_BSIZE (1<<DEV_BSHIFT)
|
#define DEV_BSIZE (1<<DEV_BSHIFT)
|
||||||
|
|
||||||
|
#if defined(__AVR__) || defined(__h8300__)
|
||||||
|
#define BLKDEV_IOSIZE 1024
|
||||||
|
#define MAXPHYS (1 * 1024) /* max raw I/O transfer size */
|
||||||
|
#else
|
||||||
#define BLKDEV_IOSIZE 2048
|
#define BLKDEV_IOSIZE 2048
|
||||||
#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
|
#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
|
||||||
|
#endif
|
||||||
|
|
||||||
#define UPAGES 2 /* pages of u-area */
|
#define UPAGES 2 /* pages of u-area */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue