- decreased TEST_SIZE to 8MB

git-svn-id: http://moon:8086/svn/mips@125 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2017-01-22 20:23:56 +00:00
parent e255319c57
commit c17168c6d3
+4 -4
View File
@@ -549,7 +549,7 @@ int Test15_pi_calc()
return NO_ERROR; return NO_ERROR;
} }
#define TEST_SIZE (16*1024*1024) // Bytes #define TEST_SIZE (8*1024*1024) // Bytes
#define SMALL_TEST_SIZE (8192) // Bytes #define SMALL_TEST_SIZE (8192) // Bytes
#define FLASH_SIZE (8*1024*1024) // Bytes #define FLASH_SIZE (8*1024*1024) // Bytes
@@ -904,7 +904,7 @@ int main (void)
srand(clock()); srand(clock());
gpio_write(&gpio_if, GPIO_0_MASK_LED, GPIO_0_ALIGN_LED, GPIO_DATA_OFFSET, uncached_cachemiss_bug()); gpio_write(&gpio_if, GPIO_0_MASK_LED, GPIO_0_ALIGN_LED, GPIO_DATA_OFFSET, uncached_cachemiss_bug());
// Test16_MemTest(); Test16_MemTest();
printf("pf = %08X\n", (uint32_t)pf()); printf("pf = %08X\n", (uint32_t)pf());
*pf() = 0x1234; *pf() = 0x1234;
@@ -960,7 +960,7 @@ int main (void)
if (IS_ERROR(result)) if (IS_ERROR(result))
break; break;
printf("passed\n\n"); printf("passed\n\n");
#if 1
printf("-------------------------------------------\n"); printf("-------------------------------------------\n");
printf("-- D-Cache invalidate ---------------------\n"); printf("-- D-Cache invalidate ---------------------\n");
printf("-------------------------------------------\n"); printf("-------------------------------------------\n");
@@ -968,7 +968,7 @@ int main (void)
if (IS_ERROR(result)) if (IS_ERROR(result))
break; break;
printf("passed\n\n"); printf("passed\n\n");
#endif
printf("-------------------------------------------\n"); printf("-------------------------------------------\n");
printf("-- PI calc --------------------------------\n"); printf("-- PI calc --------------------------------\n");
printf("-------------------------------------------\n"); printf("-------------------------------------------\n");