Changeset 256 for trunk/modules


Ignore:
Timestamp:
Aug 26, 2012, 6:47:37 PM (12 years ago)
Author:
almaless
Message:

Increase the set of allowed sector sizes until small-page size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/vci_block_device_tsar_v4/caba/source/src/vci_block_device_tsar_v4.cpp

    r250 r256  
    500500        sensitive_neg << p_clk;
    501501
    502         if( (block_size != 64 ) &&
    503                         (block_size != 128) &&
    504                         (block_size != 256) &&
    505                         (block_size != 512) &&
    506                         (block_size != 1024) )
     502        if( (block_size != 64 )  &&
     503        (block_size != 128)  &&
     504        (block_size != 256)  &&
     505        (block_size != 512)  &&
     506        (block_size != 1024) &&
     507        (block_size != 2048) &&
     508        (block_size != 4096) )
    507509        {
    508510                std::cout << "Error in component VciBlockDeviceTsarV4 : " << name << std::endl;
    509                 std::cout << "The block size must be 128, 256, 512 or 1024 bytes" << std::endl;
     511                std::cout << "The block size must be 128, 256, 512, 1024, 2048 or 4096 bytes" << std::endl;
    510512                exit(1);
    511513        }
Note: See TracChangeset for help on using the changeset viewer.