Changeset 771cd22 in mainline for kernel/arch/sparc64/src/mm/frame.c


Ignore:
Timestamp:
2006-12-16T19:07:02Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e7c8747
Parents:
1ecdbb0
Message:

Formatting and indentation changes.

File:
1 edited

Legend:

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

    r1ecdbb0 r771cd22  
    6565                        if (confdata == ADDR2PFN(KA2PA(PFN2ADDR(0))))
    6666                                confdata = ADDR2PFN(KA2PA(PFN2ADDR(2)));
    67                         zone_create(ADDR2PFN(start), SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE)), confdata, 0);
    68                         last_frame = max(last_frame, start + ALIGN_UP(size, FRAME_SIZE));
     67                        zone_create(ADDR2PFN(start),
     68                                SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE)),
     69                                confdata, 0);
     70                        last_frame = max(last_frame, start + ALIGN_UP(size,
     71                                FRAME_SIZE));
    6972                }
    7073
     
    7275                 * On sparc64, physical memory can start on a non-zero address.
    7376                 * The generic frame_init() only marks PFN 0 as not free, so we
    74                  * must mark the physically first frame not free explicitly here,
    75                  * no matter what is its address.
     77                 * must mark the physically first frame not free explicitly
     78                 * here, no matter what is its address.
    7679                 */
    7780                frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1);
Note: See TracChangeset for help on using the changeset viewer.