1 /* Things declared here do not depend on host OS includes */
5 extern unsigned int SupervisorCount
;
6 extern struct HostInterface
*HostIFace
;
8 unsigned int krnGetPageSize(void *libc
);
9 int core_Start(void *libc
);
11 /* Our own add-ons to KernelBase */
15 unsigned int SupervisorCount
;
18 #define UKB(base) ((struct UnixKernelBase *)base)
20 #ifdef AROS_NO_ATOMIC_OPERATIONS
22 #define SUPERVISOR_ENTER UKB(KernelBase)->SupervisorCount++
23 #define SUPERVISOR_LEAVE UKB(KernelBase)->SupervisorCount--
27 #define SUPERVISOR_ENTER AROS_ATOMIC_INC(UKB(KernelBase)->SupervisorCount)
28 #define SUPERVISOR_LEAVE AROS_ATOMIC_DEC(UKB(KernelBase)->SupervisorCount)