nckernel
0.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
common
include
zone.h
Go to the documentation of this file.
1
enum
zone_type
{
2
ZONE_BASE
,
3
ZONE_NORMAL
,
4
ZONE_HIMEM
,
5
ZONE_SYSTEM
,
6
ZONE_MAX
,
7
};
8
12
struct
zone
{
13
struct
list_head
head
;
15
struct
node
*
node
;
17
enum
zone_type
type
;
18
struct
page_allocator
*
handle
;
19
20
struct
list_head
page_list
;
21
struct
list_head
managed_page_list
;
22
};
23
24
extern
int
create_zone
(
struct
node
*
node
,
25
enum
zone_type
zone
,
off_t
base,
size_t
size);
26
27
extern
struct
zone
*
find_zone
(
enum
zone_type
zone
);
28
extern
struct
zone
*
find_zone_by_addr
(
void
*pma);
29
30
extern
int
destroy_zone
(
struct
zone
*
zone
);
31
Generated on Thu Nov 7 2013 02:45:25 for nckernel by
1.8.4