Changeset a1b9f63 in mainline for kernel/test/mm/mapping1.c
- Timestamp:
- 2018-08-31T10:32:40Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6bf5b8c
- Parents:
- b1834a01
- git-author:
- Jakub Jermar <jakub@…> (2018-08-31 09:54:11)
- git-committer:
- Jakub Jermar <jakub@…> (2018-08-31 10:32:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/mm/mapping1.c
rb1834a01 ra1b9f63 43 43 uintptr_t frame = frame_alloc(1, FRAME_NONE, 0); 44 44 45 uintptr_t page0 = km_map(frame, FRAME_SIZE, 45 uintptr_t page0 = km_map(frame, FRAME_SIZE, FRAME_SIZE, 46 46 PAGE_READ | PAGE_WRITE | PAGE_CACHEABLE); 47 47 TPRINTF("Virtual address %p mapped to physical address %p.\n", 48 48 (void *) page0, (void *) frame); 49 49 50 uintptr_t page1 = km_map(frame, FRAME_SIZE, 50 uintptr_t page1 = km_map(frame, FRAME_SIZE, FRAME_SIZE, 51 51 PAGE_READ | PAGE_WRITE | PAGE_CACHEABLE); 52 52 TPRINTF("Virtual address %p mapped to physical address %p.\n",
Note:
See TracChangeset
for help on using the changeset viewer.