1/* 2 * Copyright 2008-2011, 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_signals.h" 11#include "x86_syscalls.h" 12 13 14status_t 15arch_commpage_init(void) 16{ 17 return B_OK; 18} 19 20 21status_t 22arch_commpage_init_post_cpus(void) 23{ 24 // select the optimum syscall mechanism and patch the commpage 25 x86_initialize_syscall(); 26 27 // initialize the signal handler code in the commpage 28 x86_initialize_commpage_signal_handler(); 29 30 return B_OK; 31} 32