1 /* 2 * Copyright 2006, Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Ingo Weinhold <bonefish@cs.tu-berlin.de> 7 * Axel Dörfler, axeld@pinc-software.de 8 */ 9 10 11 #include <arch/platform.h> 12 #include <apm.h> 13 14 15 status_t 16 arch_platform_init(struct kernel_args *args) 17 { 18 return B_OK; 19 } 20 21 22 status_t 23 arch_platform_init_post_vm(struct kernel_args *args) 24 { 25 return B_OK; 26 } 27 28 29 status_t 30 arch_platform_init_post_thread(struct kernel_args *args) 31 { 32 // APM is not supported on x86_64. 33 #ifndef __x86_64__ 34 apm_init(args); 35 #endif 36 return B_OK; 37 } 38 39