refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / rom / kernel / kernel_globals.c
blob054a752e655070e2ca84007875f749b43104b277
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 */
8 /*
9 * Copyright (C) 2011, The AROS Development Team. All rights reserved.
10 * Author: Jason S. McMullan <jason.mcmullan@gmail.com>
12 * Licensed under the AROS PUBLIC LICENSE (APL) Version 1.1
14 * This file contains the global variables that are referenced
15 * by most implementations of kernel.resource
17 * Of note, it is overriden by the m68k architecture, which does
18 * not use .bss nor .data, for performance reasons related to
19 * slow MEMF_CHIP RAM.
21 #include <aros/symbolsets.h>
24 * Some globals we can't live without.
25 * IMPORTANT: BootMsg should survive warm restarts, this is why it's placed in .data.
27 struct KernelBase *KernelBase;
28 __attribute__((section(".data"))) struct TagItem *BootMsg;