Changeset b7fd2a0 in mainline for uspace/app/tester/mm/mapping1.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/mm/mapping1.c
r36f0738 rb7fd2a0 66 66 verify_mapping((area), (page_count), (expected_rc), #expected_rc) 67 67 68 static bool verify_mapping(void *area, int page_count, int expected_rc,68 static bool verify_mapping(void *area, int page_count, errno_t 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 int rc = as_get_physical_mapping(page_start, NULL);75 errno_t 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 int rc;87 errno_t rc; 88 88 89 89 size_t buffer1_len = BUFFER1_PAGES * PAGE_SIZE;
Note:
See TracChangeset
for help on using the changeset viewer.