xref: /haiku/src/system/boot/platform/efi/cpu.cpp (revision 7b4d924f98c08c57e6566b33aeda00cac2f6fec7)
1 /*
2  * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
4  * Distributed under the terms of the MIT License.
5  */
6 
7 
8 #include <boot/kernel_args.h>
9 #include <boot/stage2.h>
10 #include <arch/cpu.h>
11 #include <arch/x86/arch_cpu.h>
12 
13 
14 extern "C" void
15 cpu_init()
16 {
17 	calculate_cpu_conversion_factor(2);
18 
19 	gKernelArgs.num_cpus = 1;
20 		// this will eventually be corrected later on
21 }
22