fix pc_regression_test

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@187 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
shirait 2007-07-12 09:05:07 +00:00
parent 0175b7c3c3
commit 7a6febaeb1

View File

@ -702,7 +702,7 @@ word i,j, *wbuff;
}
#define FOUR_GIG_BLOCKS 0x80000
#define FOUR_GIG_BLOCKS 0x800000 //ctr modified
#define ONE_MEG (dword) 0x100000
#define ONE_MEG_SHY (0x100000-512)
#define FILL_TEST_HIT_WRAP 0
@ -728,7 +728,7 @@ ERTFS_STAT stat_buff;
}
/*nfree =*/ pc_free(test_drive, &blocks_total, &blocks_free);
if (blocks_free < 0x80000) /* Not enough space to do long test */
if (blocks_free < (RTFS_MAX_FILE_SIZE/0x200)) /* Not enough space to do long test */ //ctr modified
return(TRUE);
#if (VERBOSE)
RTFS_PRINT_STRING_1(USTRING_RTFSDEM_17,PRFLG_NL); /* "Performing Large 4GIG File io test" */