Rev 538 | Rev 548 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 538 | Rev 539 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | link_t link; /**< link to previous and next zone */ |
51 | link_t link; /**< link to previous and next zone */ |
52 | 52 | ||
53 | spinlock_t lock; /**< this lock protects everything below */ |
53 | spinlock_t lock; /**< this lock protects everything below */ |
54 | __address base; /**< physical address of the first frame in the frames array */ |
54 | __address base; /**< physical address of the first frame in the frames array */ |
55 | frame_t *frames; /**< array of frame_t structures in this zone */ |
55 | frame_t *frames; /**< array of frame_t structures in this zone */ |
56 | count_t free_count; /**< number of frame_t structures in free list */ |
56 | count_t free_count; /**< number of free frame_t structures */ |
57 | count_t busy_count; /**< number of frame_t structures not in free list */ |
57 | count_t busy_count; /**< number of busy frame_t structures */ |
58 | 58 | ||
59 | buddy_system_t * buddy_system; /**< buddy system for the zone */ |
59 | buddy_system_t * buddy_system; /**< buddy system for the zone */ |
60 | int flags; |
60 | int flags; |
61 | }; |
61 | }; |
62 | 62 |