Changes in uspace/app/tester/mm/mapping1.c [b7fd2a0:c1694b6b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/mm/mapping1.c
rb7fd2a0 rc1694b6b 66 66 verify_mapping((area), (page_count), (expected_rc), #expected_rc) 67 67 68 static bool verify_mapping(void *area, int page_count, errno_t expected_rc,68 static bool verify_mapping(void *area, int page_count, int expected_rc, 69 69 const char *expected_rc_str) 70 70 { … … 73 73 for (i = 0; i < page_count; i++) { 74 74 void *page_start = ((char *) area) + PAGE_SIZE * i; 75 errno_t rc = as_get_physical_mapping(page_start, NULL);75 int rc = as_get_physical_mapping(page_start, NULL); 76 76 if (rc != expected_rc) { 77 77 TPRINTF("as_get_physical_mapping() = %s != %s\n", … … 85 85 const char *test_mapping1(void) 86 86 { 87 errno_t rc;87 int rc; 88 88 89 89 size_t buffer1_len = BUFFER1_PAGES * PAGE_SIZE;
Note:
See TracChangeset
for help on using the changeset viewer.