Subversion Repositories Kolibri OS

Rev

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

Rev 854 Rev 859
Line 20... Line 20...
20
 
20
 
Line 21... Line 21...
21
	int flags;
21
	int flags;
22
} zone_t;
22
} zone_t;
Line -... Line 23...
-
 
23
 
-
 
24
typedef struct
-
 
25
{
-
 
26
   count_t count;
-
 
27
   addr_t  frames[18];
-
 
28
}phismem_t;
Line 23... Line 29...
23
 
29
 
24
 
30
 
Line 25... Line 31...
25
# define PA2KA(x) (((u32_t) (x)) + OS_BASE)
31
# define PA2KA(x) (((addr_t) (x)) + OS_BASE)
26
# define KA2PA(x) (((u32_t) (x)) - OS_BASE)
32
# define KA2PA(x) (((addr_t) (x)) - OS_BASE)
Line 27... Line 33...
27
 
33
 
Line 48... Line 54...
48
};
54
};
49
 
55
 
Line 50... Line 56...
50
void init_mm();
56
void init_mm();
Line 51... Line 57...
51
 
57
 
-
 
58
addr_t __fastcall core_alloc(u32_t order);
Line 52... Line 59...
52
pfn_t  core_alloc(u32_t order);
59
void __fastcall core_free(addr_t frame);
53
 
60
 
Line 54... Line -...
54
pfn_t alloc_page() __attribute__ ((deprecated));
-
 
55
pfn_t __stdcall alloc_pages(count_t count) __asm__ ("_alloc_pages") __attribute__ ((deprecated));
61
pfn_t alloc_page() __attribute__ ((deprecated));
-
 
62
pfn_t __stdcall alloc_pages(count_t count) __asm__ ("_alloc_pages") __attribute__ ((deprecated));
-
 
63
 
-
 
64
void frame_free(pfn_t frame);