2 * Copyright 2007, Travis Geiselbrecht. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _KERNEL_COMMPAGE_H
6 #define _KERNEL_COMMPAGE_H
9 #include <SupportDefs.h>
11 #include <commpage_defs.h>
18 status_t
commpage_init(void);
19 status_t
commpage_init_post_cpus(void);
20 void* allocate_commpage_entry(int entry
, size_t size
);
21 addr_t
fill_commpage_entry(int entry
, const void* copyFrom
, size_t size
);
22 image_id
get_commpage_image();
23 area_id
clone_commpage_area(team_id team
, void** address
);
25 // implemented in the architecture specific part
26 status_t
arch_commpage_init(void);
27 status_t
arch_commpage_init_post_cpus(void);
33 #endif /* _KERNEL_COMMPAGE_H */