Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/src/mm.c

    rf7fba727 r193d280c  
    116116        if (address >= AM335x_RAM_START && address < AM335x_RAM_END)
    117117                return 1;
     118#elif defined MACHINE_raspberrypi
     119        if (address < BCM2835_RAM_END)
     120                return 1;
    118121#endif
    119122        return address * 0;
     
    190193}
    191194
    192 static void enable_paging()
    193 {
    194         /* c3   - each two bits controls access to the one of domains (16)
     195static void enable_paging(void)
     196{
     197        /*
     198         * c3   - each two bits controls access to the one of domains (16)
    195199         * 0b01 - behave as a client (user) of a domain
    196200         */
     
    229233
    230234/** Start the MMU - initialize page table and enable paging. */
    231 void mmu_start() {
     235void mmu_start(void)
     236{
    232237        disable_paging();
    233238#ifdef PROCESSOR_ARCH_armv7_a
Note: See TracChangeset for help on using the changeset viewer.