Changeset e158717 in mainline


Ignore:
Timestamp:
2005-09-18T15:07:23Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
105a0dc
Parents:
7b43e11
Message:

Add 'base' attribute to frame_zone_t structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/mm/frame.h

    r7b43e11 re158717  
    4141        link_t fz_link;         /**< link to previous and next frame_zone */
    4242
    43         spinlock_t lock;        /**< this lock protexts everything below */
    44         link_t free_head;       /**< list of free frames */
    45         link_t busy_head;       /**< list of busy frames */
    46         count_t free_count;     /**< frames in free list */
    47         count_t busy_count;     /**< frames in busy list */
    48         frame_t *frames;        /**< array of frames in this zone */
     43        spinlock_t lock;        /**< this lock protects everything below */
     44        __address base;         /**< physical address of the first frame in the frames array */
     45        frame_t *frames;        /**< array of frame_t structures in this zone */
     46        link_t free_head;       /**< list of free frame_t structures */
     47        link_t busy_head;       /**< list of busy frame_t structures */
     48        count_t free_count;     /**< number of frame_t structures in free list */
     49        count_t busy_count;     /**< number of frame_t structures in busy list */
    4950        int flags;
    5051};
     
    7677extern void frame_region_not_free(__address start, __address stop);
    7778
     79extern frame_zone_t *frame_zone_create();
    7880#endif
Note: See TracChangeset for help on using the changeset viewer.