Ignore:
Timestamp:
2018-03-21T19:32:48Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
1c7a170
Parents:
973be387
Message:

Change the way page flags work. TODO description

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mach/beaglebone/beaglebone.c

    r973be387 r94d211e  
    8787{
    8888        bbone.irc_addr = (void *) km_map(AM335x_IRC_BASE_ADDRESS,
    89             AM335x_IRC_SIZE, PAGE_NOT_CACHEABLE);
     89            AM335x_IRC_SIZE,
     90            PAGE_READ_WRITE | PAGE_KERNEL | PAGE_NOT_CACHEABLE);
    9091
    9192        bbone.cm_per_addr = (void *) km_map(AM335x_CM_PER_BASE_ADDRESS,
    92             AM335x_CM_PER_SIZE, PAGE_NOT_CACHEABLE);
     93            AM335x_CM_PER_SIZE,
     94            PAGE_READ_WRITE | PAGE_KERNEL | PAGE_NOT_CACHEABLE);
    9395
    9496        bbone.cm_dpll_addr = (void *) km_map(AM335x_CM_DPLL_BASE_ADDRESS,
    95             AM335x_CM_DPLL_SIZE, PAGE_NOT_CACHEABLE);
     97            AM335x_CM_DPLL_SIZE,
     98            PAGE_READ_WRITE | PAGE_KERNEL | PAGE_NOT_CACHEABLE);
    9699
    97100        bbone.ctrl_module = (void *) km_map(AM335x_CTRL_MODULE_BASE_ADDRESS,
    98             AM335x_CTRL_MODULE_SIZE, PAGE_NOT_CACHEABLE);
     101            AM335x_CTRL_MODULE_SIZE,
     102            PAGE_READ_WRITE | PAGE_KERNEL | PAGE_NOT_CACHEABLE);
    99103
    100104        assert(bbone.irc_addr != NULL);
Note: See TracChangeset for help on using the changeset viewer.