Changeset 8565a42 in mainline for kernel/arch/riscv64/src/mm/frame.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (8 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/riscv64/src/mm/frame.c

    r3061bc1 r8565a42  
    5656        pfn_t minconf =
    5757            max3(ADDR2PFN(physmem_start), htif_frame + 1, pt_frame + 1);
    58        
     58
    5959        for (size_t i = 0; i < memmap.cnt; i++) {
    6060                /* To be safe, make the available zone possibly smaller */
     
    6363                size_t size = ALIGN_DOWN(memmap.zones[i].size -
    6464                    (base - ((uintptr_t) memmap.zones[i].start)), FRAME_SIZE);
    65                
     65
    6666                if (!frame_adjust_zone_bounds(low, &base, &size))
    6767                        return;
    68                
     68
    6969                pfn_t pfn = ADDR2PFN(base);
    7070                size_t count = SIZE2FRAMES(size);
    7171                pfn_t conf;
    72                
     72
    7373                if (low) {
    7474                        if ((minconf < pfn) || (minconf >= pfn + count))
     
    7676                        else
    7777                                conf = minconf;
    78                        
     78
    7979                        zone_create(pfn, count, conf,
    8080                            ZONE_AVAILABLE | ZONE_LOWMEM);
     
    9191{
    9292        frame_common_arch_init(true);
    93        
     93
    9494        frame_mark_unavailable(htif_frame, 1);
    9595        frame_mark_unavailable(pt_frame, 1);
Note: See TracChangeset for help on using the changeset viewer.