OSDN Git Service

ok i am seriously done for the day!
authorsparky4 <sparky4@cock.li>
Thu, 2 Jul 2015 04:51:24 +0000 (23:51 -0500)
committersparky4 <sparky4@cock.li>
Thu, 2 Jul 2015 04:51:24 +0000 (23:51 -0500)
modified:   exmmtest.exe
modified:   src/exmmtest.c

exmmtest.exe
src/exmmtest.c

index a5f376a..138b13c 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 9000974..d107e4c 100644 (file)
@@ -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");