Changeset cb9bb9d1 in rtems for cpukit/sapi/include/confdefs.h


Ignore:
Timestamp:
Oct 20, 2015, 7:47:10 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11
Children:
b2d788b3
Parents:
ad659ff8
git-author:
Joel Sherrill <joel.sherrill@…> (10/20/15 19:47:10)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/27/15 12:32:41)
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

    rad659ff8 rcb9bb9d1  
    38213821#endif
    38223822
     3823/*
     3824 * IMFS block size for in memory files (memfiles) must be a power of
     3825 * two between 16 and 512 inclusive.
     3826 */
     3827#if ((CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 16) && \
     3828     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 32) && \
     3829     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 64) && \
     3830     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 128) && \
     3831     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 256) && \
     3832     (CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK != 512))
     3833  #error "IMFS Memfile block size must be a power of 2 between 16 and 512"
     3834#endif
     3835
     3836
    38233837#endif
    38243838/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.