From 6c0e7cd2b1474dd75f64559c3f637b4c3aeb3b92 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 1 Jul 2015 23:51:24 -0500 Subject: [PATCH] ok i am seriously done for the day! modified: exmmtest.exe modified: src/exmmtest.c --- exmmtest.exe | Bin 40547 -> 40636 bytes src/exmmtest.c | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exmmtest.exe b/exmmtest.exe index a5f376a96ccc5e118edaa8934d839ac665b68f3f..138b13c0edf8d2454c2a6a5d41598a517488ab90 100644 GIT binary patch delta 4267 zcmZuz2~ZSg7XG`Zr$G@xVTMa+4iRre6S);cN0Ivo$~ntvP&qQpfYE>ug3^wR;4hes zmWeU3vQ~^CB(-cjRzp@}Qkzwia#172nnXuO6Qf%jM_AbR{()encB=ZD{@;7w``^`n z_xGpxQ>S^Sq?`}Q0wR+@vX6|8ZtZaL3#dvWBrBPax8eE`F0T|qej$YH5Uj#3xJ-hz zJEM=|tkjK9*#3h2W7GZFe)52vJaT@=^#RiBPudF1>fM)9cV96dCe5DmCOnv06_fAn$b>@UB-O7$nS?j2UNnmjRyko(pL9UJba& zXZ{kX$@P%4#-%Z0%YXC>KE-8QqO&p2HT)~RD_a`fn(y(Aw?>RwfxBcee`=+Be3rO@ zVZTxHBvP~&YfFq%MX}|gzP#5;ule|c=V6};d#fP#TY7q}JugWG3Qwz`pA~Y$?C;f! z%t#>UT};f%nwE-s};#o5TxoK7*wfCx+3iheJ1Ncw#0zJW`E^sTD zJPLdtlX^2~9^h9&UVwLkBGj;Hk_eHhZ;6M05TRZ2Djt}jv)4FS1@mh|mVFmABUZX= zHV}G_&NlJz_x!vx2cYj zu17#0>2O2b&G+1Hp;_~ z(dz^lh7Uk{%%-h<8;J5_Gta@sPouDQ>gZ&s9W7msS(=vr6)-vG0xOlr)x&GV@bkJr zgBZC?BkH_?G(UD;5H#SxsOiQ$@uBFYekA7hWu%`3*-nrhc__*t%E|46d1;89hpvys z1uezuemY7<)#+ldG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2T)c67=6Uf8qG=xaVbHc!zt2FmuWjgY}wo3z?S=n^V6Ek}P@;2kTce0;*;O=+Ki8OV8%h@9VkjFk3B<+z>W9Y`7+ z3ci=)tx2fn2|k7YjpO(+C*(XtbqsEwKzv~xRK)K%A)yWwo|FLj9RHQ$e#78(9M>@W at7}Hm#q(WPOfR!6Y0iHwSEB9kb@@Mqn2;F& diff --git a/src/exmmtest.c b/src/exmmtest.c index 9000974a..d107e4c9 100644 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -29,6 +29,7 @@ main(int argc, char *argv[]) { mminfo_t mm; mminfotype mmi; memptr bigbuffer; + __segment segu; mm.mmstarted=0; printf("start!\n"); MM_Startup(&mm, &mmi); @@ -36,7 +37,7 @@ main(int argc, char *argv[]) printf("&main()=%Fp\n", *argv[0]); MM_GetPtr(&bigbuffer, mmi.nearheap, &mm, &mmi); //hmm functions in cache system use the buffered stuff - printf("size of big buffer~=%ul\n", _msize(bigbuffer)); + printf("size of big buffer~=%ul\n", _bmsize(segu, bigbuffer)); MM_ShowMemory(&mm); MM_Report(&mm, &mmi); printf("stop!\n"); -- 2.39.5