Copyright clean-up (part 1):
[AROS.git] / arch / x86_64-pc / kernel / getcpunumber.c
blobd5c1f0d5c8fc05d974878e33e9f300c544ce7ab9
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <aros/kernel.h>
7 #include <aros/libcall.h>
9 #include "kernel_base.h"
10 #include "kernel_intern.h"
11 #include "apic.h"
13 AROS_LH0(unsigned int, KrnGetCPUNumber,
14 struct KernelBase *, KernelBase, 37, Kernel)
16 AROS_LIBFUNC_INIT
18 return core_APIC_GetNumber(KernelBase->kb_PlatformData->kb_APIC);
20 AROS_LIBFUNC_EXIT