Changeset 7b5789e in mainline
- Timestamp:
- 2012-01-31T22:51:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 33ca0f5, 3d4750f
- Parents:
- b860f9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/mapping1.c
rb860f9e r7b5789e 66 66 v = *((uint32_t *) page1); 67 67 68 if (v != TEST_MAGIC) 68 if (v != TEST_MAGIC) { 69 km_unmap(page0, PAGE_SIZE); 70 km_unmap(page1, PAGE_SIZE); 71 frame_free(frame); 69 72 return "Criss-cross read does not match the value written."; 73 } 70 74 71 75 TPRINTF("Writing zero using the second virtual address.\n"); … … 77 81 v = *((uint32_t *) page0); 78 82 79 if (v != 0) 83 if (v != 0) { 84 km_unmap(page0, PAGE_SIZE); 85 km_unmap(page1, PAGE_SIZE); 86 frame_free(frame); 80 87 return "Criss-cross read does not match the value written."; 88 } 81 89 } 82 90
Note:
See TracChangeset
for help on using the changeset viewer.