/* * Copyright 2007, Travis Geiselbrecht. All rights reserved. * Distributed under the terms of the MIT License. */ #ifndef _KERNEL_COMMPAGE_H #define _KERNEL_COMMPAGE_H #include #include #include #ifdef __cplusplus extern "C" { #endif status_t commpage_init(void); void* allocate_commpage_entry(int entry, size_t size); void* fill_commpage_entry(int entry, const void* copyFrom, size_t size); image_id get_commpage_image(); status_t arch_commpage_init(void); // implemented in the architecture specific part #ifdef __cplusplus } // extern "C" #endif #endif /* _KERNEL_COMMPAGE_H */