Changeset fd3c9e5 in mainline for test/mm/mapping1/test.c


Ignore:
Timestamp:
2005-10-07T09:53:17Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
92e5431
Parents:
cc205f1
Message:

Small changes to mips32 mm.
Small changes in mm mapping test #1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mm/mapping1/test.c

    rcc205f1 rfd3c9e5  
    5353        *((__u32 *) frame1) = VALUE1;
    5454       
    55         printf("Mapping %X to %X.\n", PAGE0, KA2PA(frame0));
     55        printf("Mapping %P to %P.\n", PAGE0, KA2PA(frame0));
    5656        map_page_to_frame(PAGE0, KA2PA(frame0), PAGE_PRESENT, 0);
    57         printf("Mapping %X to %X.\n", PAGE1, KA2PA(frame1));   
     57        printf("Mapping %P to %P.\n", PAGE1, KA2PA(frame1));   
    5858        map_page_to_frame(PAGE1, KA2PA(frame1), PAGE_PRESENT, 0);
    5959       
    60         printf("Value at %X is %X.\n", PAGE0, v0 = *((__u32 *) PAGE0));
    61         printf("Value at %X is %X.\n", PAGE1, v1 = *((__u32 *) PAGE1));
     60        printf("Value at %P is %L.\n", PAGE0, v0 = *((__u32 *) PAGE0));
     61        printf("Value at %P is %L.\n", PAGE1, v1 = *((__u32 *) PAGE1));
    6262       
    6363        ASSERT(v0 == VALUE0);
    6464        ASSERT(v1 == VALUE1);
    6565
    66         printf("Writing 0 to %X.\n", PAGE0);
     66        printf("Writing 0 to %P.\n", PAGE0);
    6767        *((__u32 *) PAGE0) = 0;
    68         printf("Writing 0 to %X.\n", PAGE1);
     68        printf("Writing 0 to %P.\n", PAGE1);
    6969        *((__u32 *) PAGE1) = 0;
    7070       
    71         printf("Value at %X is %X.\n", PAGE0, v0 = *((__u32 *) PAGE0));
    72         printf("Value at %X is %X.\n", PAGE1, v1 = *((__u32 *) PAGE1));
     71        printf("Value at %P is %L.\n", PAGE0, v0 = *((__u32 *) PAGE0));
     72        printf("Value at %P is %L.\n", PAGE1, v1 = *((__u32 *) PAGE1));
    7373
    7474        ASSERT(v0 == 0);
Note: See TracChangeset for help on using the changeset viewer.