xref: /haiku/src/system/kernel/arch/x86/arch_commpage.cpp (revision d374a27286b8a52974a97dba0d5966ea026a665d)
1 /*
2  * Copyright 2008-2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Copyright 2007, Travis Geiselbrecht. All rights reserved.
4  * Distributed under the terms of the MIT License.
5  */
6 
7 
8 #include <commpage.h>
9 
10 #include "x86_syscalls.h"
11 
12 
13 status_t
14 arch_commpage_init(void)
15 {
16 	return B_OK;
17 }
18 
19 
20 status_t
21 arch_commpage_init_post_cpus(void)
22 {
23 	// select the optimum syscall mechanism and patch the commpage
24 	x86_initialize_commpage_syscall();
25 
26 	return B_OK;
27 }
28