From 99047678f2e72e4d3758ea948277df532c67a0d2 Mon Sep 17 00:00:00 2001 From: aoki_ryoma Date: Tue, 19 Aug 2008 06:32:23 +0000 Subject: [PATCH] =?UTF-8?q?ErrorLog=E3=81=AE=E3=83=95=E3=82=A9=E3=83=BC?= =?UTF-8?q?=E3=83=9E=E3=83=83=E3=83=88=E5=A4=89=E6=9B=B4=E3=81=AB=E5=AF=BE?= =?UTF-8?q?=E5=BF=9C=E3=80=82=20=E3=83=95=E3=83=AA=E3=83=BC=E3=83=95?= =?UTF-8?q?=E3=82=A9=E3=83=BC=E3=83=9E=E3=83=83=E3=83=88=E3=81=AA=E5=85=A5?= =?UTF-8?q?=E5=8A=9B=E3=81=AB=E5=AF=BE=E3=81=99=E3=82=8B=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=82=92=E8=BF=BD=E5=8A=A0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2188 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- .../tests/ErrorLogTest/ARM9/src/ErrorLogTest.c | 17 ++++++++++++----- build/tests/ErrorLogTest/banner/banner_v3.bsf | Bin 980 -> 820 bytes 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/build/tests/ErrorLogTest/ARM9/src/ErrorLogTest.c b/build/tests/ErrorLogTest/ARM9/src/ErrorLogTest.c index e521acf5..ca525281 100644 --- a/build/tests/ErrorLogTest/ARM9/src/ErrorLogTest.c +++ b/build/tests/ErrorLogTest/ARM9/src/ErrorLogTest.c @@ -30,7 +30,6 @@ void VBlankIntr(void); void TwlMain( void ) { int numEntry; - const ErrorLogEntry *pEntry; OS_Init(); RTC_Init(); @@ -43,15 +42,23 @@ void TwlMain( void ) FS_Init( FS_DMA_NOT_USE ); InitAllocator(); +// FS_DeleteFile("nand:/sys/log/sysmenu.log"); ERRORLOG_Init( Alloc, Free ); numEntry = ERRORLOG_GetNum(); OS_TPrintf("API: before numEntry : %d\n", numEntry ); - ERRORLOG_Write( (u64)0x077777777777LL ); + ERRORLOG_Write( (u64)0x0200040051LL ); + ERRORLOG_Printf( "%d hyoooo nyoronyoro\naboooon dogaaaaaaaan", 2+5 ); + ERRORLOG_Printf( "this is overflow message!\nthis is overflow message!\nthis is overflow message!\n" + "this is overflow message!\nthis is overflow message!\nthis is overflow message!\n" + "this is overflow message!\nthis is overflow message!\nthis is overflow message!\n" + "this is overflow message!\nthis is overflow message!\nthis is overflow message!\n" + "this is overflow message!\nthis is overflow message!\nthis is overflow message!\n" + "this is overflow message!\nthis is overflow message!\nthis is overflow message!\n" ); - +/* if( numEntry > 2 ) { pEntry = ERRORLOG_Read(1); @@ -64,7 +71,7 @@ void TwlMain( void ) pEntry->second, pEntry->errorCode); } - +*/ OS_TPrintf( "*** log file data\n" ); { @@ -100,7 +107,7 @@ void TwlMain( void ) totalSize += nowSize; - OS_TPrintf("count: numEntry : %d\n", numEntry ); + OS_TPrintf("count: \'#\' count : %d\n", numEntry ); OS_TPrintf("total Size : %d\n", totalSize); } diff --git a/build/tests/ErrorLogTest/banner/banner_v3.bsf b/build/tests/ErrorLogTest/banner/banner_v3.bsf index 8644921399440c435aab27e0fac04166dc047f85..d45ce7bcf1672abedee3d05e0883674d3527febd 100644 GIT binary patch literal 820 zcmc(dO>4qH5Qg8YLjS{pXDcG~;L&2VB2tWcU!&DP{2+-+|Gf3tUGK@sGVCxP@6Nol zJAe0<28tEQsO`nzTOEtG}Z85Cv(%S;N{q*I>EOO!=C5laua$Lf>J)buA)v;j&`1MMRpm`!P`r#at7tJ*O*U4&8 zcsd#}gYmJ&uF*cv@%<~d9Tj*nTW6h)L5`9F~O}H@z=Nnwa)TNQ{GKzecX=Gj4 z-XI+e8CMltmwb({9JZG_BRAL$f89{eoD=-kWaa9SSrYL&vLUwZ9$!X$N1k;I-EYPy BkNE%q