Changeset 69be1a22 in rtems for cpukit/sapi


Ignore:
Timestamp:
Oct 20, 2015, 7:47:10 PM (4 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
master
Children:
e96feeb
Parents:
bc792bb
git-author:
Joel Sherrill <joel.sherrill@…> (10/20/15 19:47:10)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/27/15 12:31:29)
Message:

CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK was undocumented and not error checked

closes #2431.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    rbc792bb r69be1a22  
    38243824#endif
    38253825
     3826/*
     3827 * IMFS block size for in memory files (memfiles) must be a power of
     3828 * two between 16 and 512 inclusive.
     3829 */
     3830#if ((CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 16) && \
     3831     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 32) && \
     3832     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 64) && \
     3833     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 128) && \
     3834     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 256) && \
     3835     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 512))
     3836  #error "IMFS Memfile block size must be a power of 2 between 16 and 512"
     3837#endif
     3838
     3839
    38263840#endif
    38273841/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.