add a proper tombstoned flag.
[AROS.git] / arch / all-pc / kernel / getcpumask.c
blobc9072f13269405c27a0b84b80e841bf8ea2b58b3
1 /*
2 Copyright © 2017, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 #include <aros/kernel.h>
9 #include <aros/libcall.h>
11 #include "kernel_base.h"
12 #include "kernel_intern.h"
14 AROS_LH2(void, KrnGetCPUMask,
15 AROS_LHA(uint32_t, id, D0),
16 AROS_LHA(void *, mask, A0),
17 struct KernelBase *, KernelBase, 45, Kernel)
19 AROS_LIBFUNC_INIT
21 core_APIC_GetMask(KernelBase->kb_PlatformData->kb_APIC, id, (cpumask_t *)mask);
23 return;
25 AROS_LIBFUNC_EXIT