revert previous incorrect version of commit and recommit correct version to allow...
[AROS.git] / rom / kernel / kernel_globals.h
blobebc4666d5fc853f48ddb960d7eb1b7452820634b
1 #ifndef KERNEL_GLOBALS_H
2 #define KERNEL_GLOBALS_H
3 /*
4 Copyright © 2011-2017, The AROS Development Team. All rights reserved.
5 $Id$
7 Desc: Global KernelBase access
8 Lang: english
9 */
11 struct KernelBase;
12 extern struct KernelBase *KernelBase;
14 static inline struct KernelBase *getKernelBase(void)
16 return KernelBase;
19 static inline void setKernelBase(struct KernelBase *base)
21 KernelBase = base;
24 #endif /* KERNEL_GLOBALS_H */