Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2120 → Rev 2121

/trunk/kernel/generic/src/mm/frame.c
91,13 → 91,15
* Some of the attributes in zone_t structures are 'read-only'
*/
 
struct {
typedef struct {
SPINLOCK_DECLARE(lock);
int count;
zone_t *info[ZONES_MAX];
} zones;
} zones_t;
 
static zones_t zones;
 
 
/*********************************/
/* Helper functions */
static inline index_t frame_index(zone_t *zone, frame_t *frame)