2 Copyright © 2017, The AROS Development Team. All rights reserved.
6 #include <aros/types/spinlock_s.h>
7 #include <aros/kernel.h>
8 #include <aros/libcall.h>
10 #include <kernel_base.h>
11 #include <kernel_debug.h>
13 #include <proto/kernel.h>
17 AROS_LH1(void, KrnSpinInit
,
18 AROS_LHA(spinlock_t
*, lock
, A0
),
19 struct KernelBase
*, KernelBase
, 49, Kernel
)
23 D(bug("[Kernel] %s(0x%p)\n", __func__
, lock
));
25 lock
->lock
= SPINLOCK_UNLOCKED
;