Changeset b43eaba0 in mainline for kernel/generic/src/mm/frame.c


Ignore:
Timestamp:
2006-12-25T11:38:48Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
66eb2c8
Parents:
b2e5e25
Message:

Improve indentation and formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/frame.c

    rb2e5e25 rb43eaba0  
    8484        count_t busy_count;     /**< number of busy frame_t structures */
    8585       
    86         buddy_system_t * buddy_system; /**< buddy system for the zone */
     86        buddy_system_t *buddy_system; /**< buddy system for the zone */
    8787        int flags;
    8888} zone_t;
     
    177177/**
    178178 * Try to find a zone where can we find the frame
    179  *
     179 
     180 * Assume interrupts are disabled.
     181 
    180182 * @param frame Frame number contained in zone
    181183 * @param pzone If not null, it is used as zone hint. Zone index
    182184 *              is filled into the variable on success.
    183  * @return Pointer to LOCKED zone containing frame
    184  *
    185  * Assume interrupts disable
     185 * @return Pointer to locked zone containing frame
    186186 */
    187187static zone_t * find_zone_and_lock(pfn_t frame, int *pzone)
     
    223223}
    224224
    225 /**
    226  * Find AND LOCK zone that can allocate order frames
    227  *
    228  * Assume interrupts are disabled!!
     225/** Find and lock zone that can allocate order frames.
     226 *
     227 * Assume interrupts are disabled.
    229228 *
    230229 * @param order Size (2^order) of free space we are trying to find
     
    261260}
    262261
    263 /********************************************/
     262/**************************/
    264263/* Buddy system functions */
     264/**************************/
    265265
    266266/** Buddy system find_block implementation
     
    437437};
    438438
    439 /*************************************/
     439/******************/
    440440/* Zone functions */
     441/******************/
    441442
    442443/** Allocate frame in particular zone
     
    535536 * @param z2 Zone to merge
    536537 */
    537 
    538538static void _zone_merge(zone_t *z, zone_t *z1, zone_t *z2)
    539539{
Note: See TracChangeset for help on using the changeset viewer.