Subversion Repositories Kolibri OS

Rev

Rev 1066 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1066 Rev 2971
Line 15... Line 15...
15
  u16_t   buddy_order;        /**< buddy system block order */
15
  u16_t   buddy_order;        /**< buddy system block order */
16
  void *parent;             /**< If allocated by slab, this points there */
16
  void   *parent;             /**< If allocated by slab, this points there */
17
} frame_t;
17
} frame_t;
18
 
18
 
Line -... Line 19...
-
 
19
 
19
typedef struct
20
typedef struct
20
{
21
{
21
  SPINLOCK_DECLARE(lock);   /**< this lock protects everything below */
22
  SPINLOCK_DECLARE(lock);     /**< this lock protects everything below */
22
  pfn_t base;               /**< frame_no of the first frame in the frames array */
23
  pfn_t    base;              /**< frame_no of the first frame in the frames array */
23
  count_t count;            /**< Size of zone */
24
  count_t  count;             /**< Size of zone */
Line 51... Line 52...
51
#define PG_SW         3
52
#define PG_SW           3
52
#define PG_UW         7
53
#define PG_UW           7
Line 53... Line -...
53
 
-
 
54
 
54
 
55
 
55
 
Line 56... Line 56...
56
#define PAGE_SIZE    4096
56
#define PAGE_SIZE    4096