Changeset 6bf5b8c in mainline


Ignore:
Timestamp:
2018-08-31T10:32:56Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7f7d642
Parents:
a1b9f63
Message:

Use page-size alignment to map the init tasks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    ra1b9f63 r6bf5b8c  
    249249                 */
    250250                uintptr_t page = km_map(init.tasks[i].paddr,
    251                     init.tasks[i].size, KM_NATURAL_ALIGNMENT,
     251                    init.tasks[i].size, PAGE_SIZE,
    252252                    PAGE_READ | PAGE_WRITE | PAGE_CACHEABLE);
    253253                assert(page);
Note: See TracChangeset for help on using the changeset viewer.