Konfiguration

Global generic configurations.

Summary
KonfigurationGlobal generic configurations.
CopyrightThis program is free software.
Files
C-kern/konfig.hHeader file of Konfiguration.
C-kern/api/platform/Linux/syskonfig.hLinux specific configuration file LinuxSystemKonfig.
Definitions
1.  ConfigurationList of all configuration options.
KONFIG_LANGChoose default language for compiletime/runtime text output.
KONFIG_MEMALIGNAlignment of allocated memory.
KONFIG_OSChoose name of operating system this project is compiled for.
KONFIG_SUBSYSDefines which subsystems should be included.
KONFIG_UNITTESTDefine this in your Makefile to include additional code for testing single components.
KONFIG_USERINTERFACESets the graphic subsystem.
KONFIG_SUBSYS_THREADWill be automatically defined if KONFIG_SUBSYS contains THREAD.
KONFIG_SUBSYS_SYSUSERWill be automatically defined if KONFIG_SUBSYS contains SYSUSER.
KONFIG_SUBSYS_NONEWill be automatically defined if KONFIG_SUBSYS contains no other valid option.
KONFIG_USERINTERFACE_EGLWill be automatically defined if KONFIG_USERINTERFACE contains EGL.
KONFIG_USERINTERFACE_X11Will be automatically defined if KONFIG_USERINTERFACE contains X11.
KONFIG_USERINTERFACE_NONEWill be automatically defined if KONFIG_USERINTERFACE contains no other valid option.
2.  Standard Macros
3.  System Specific Definitions
4.  Standard environmentIncludes all C-kern(el) headers which define the standard runtime and compiletime environment.

Copyright

This program is free software.  You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Author

© 2011 Jörg Seebohn

Files

C-kern/konfig.h

Header file of Konfiguration.

C-kern/api/platform/Linux/syskonfig.h

Linux specific configuration file LinuxSystemKonfig.

Definitions

Summary
1.  ConfigurationList of all configuration options.
KONFIG_LANGChoose default language for compiletime/runtime text output.
KONFIG_MEMALIGNAlignment of allocated memory.
KONFIG_OSChoose name of operating system this project is compiled for.
KONFIG_SUBSYSDefines which subsystems should be included.
KONFIG_UNITTESTDefine this in your Makefile to include additional code for testing single components.
KONFIG_USERINTERFACESets the graphic subsystem.
KONFIG_SUBSYS_THREADWill be automatically defined if KONFIG_SUBSYS contains THREAD.
KONFIG_SUBSYS_SYSUSERWill be automatically defined if KONFIG_SUBSYS contains SYSUSER.
KONFIG_SUBSYS_NONEWill be automatically defined if KONFIG_SUBSYS contains no other valid option.
KONFIG_USERINTERFACE_EGLWill be automatically defined if KONFIG_USERINTERFACE contains EGL.
KONFIG_USERINTERFACE_X11Will be automatically defined if KONFIG_USERINTERFACE contains X11.
KONFIG_USERINTERFACE_NONEWill be automatically defined if KONFIG_USERINTERFACE contains no other valid option.
2.  Standard Macros
3.  System Specific Definitions
4.  Standard environmentIncludes all C-kern(el) headers which define the standard runtime and compiletime environment.

1.  Configuration

List of all configuration options.

KONFIG_LANG

#define KONFIG_LANG en

Choose default language for compiletime/runtime text output.

Supported language codes

deGerman
enEnglish

KONFIG_MEMALIGN

#define KONFIG_MEMALIGN 4

Alignment of allocated memory.  Every allocated memory address must be aligned with this value.  The value of 4 is suitable for architectures with a i386 processor.

KONFIG_OS

#define KONFIG_OS Linux

Choose name of operating system this project is compiled for.  The value is used as include path for system specific settings.

Supported values

LinuxThe only supported operating system during design stage.

KONFIG_SUBSYS

#define KONFIG_SUBSYS (THREAD|SYSUSER)

Defines which subsystems should be included.  You can choose more than one subsystem, separate them by operator ‘|’.

Supported values are

NONESupport a minimal system.
THREADSupport also threads.
SYSUSERSupport system users and authentication.

KONFIG_UNITTEST

#define KONFIG_UNITTEST

Define this in your Makefile to include additional code for testing single components.

KONFIG_USERINTERFACE

#define KONFIG_USERINTERFACE NONE

Sets the graphic subsystem.  Defines which user interface subsystem should be included if any at all.  You can choose more than one user interface subsystem, seperate them by operator ‘|’.

Supported values are

NONENo graphics support.  This is the default value if you do not provide a value.
EGLSupports OpenGL binding to native (X11 and other) windowing system.
X11X11 window system.

KONFIG_SUBSYS_THREAD

#define KONFIG_SUBSYS_THREAD

Will be automatically defined if KONFIG_SUBSYS contains THREAD.

KONFIG_SUBSYS_SYSUSER

#define KONFIG_SUBSYS_SYSUSER

Will be automatically defined if KONFIG_SUBSYS contains SYSUSER.

KONFIG_SUBSYS_NONE

#define KONFIG_SUBSYS_NONE

Will be automatically defined if KONFIG_SUBSYS contains no other valid option.

KONFIG_USERINTERFACE_EGL

#define KONFIG_USERINTERFACE_EGL

Will be automatically defined if KONFIG_USERINTERFACE contains EGL.

KONFIG_USERINTERFACE_X11

#define KONFIG_USERINTERFACE_X11

Will be automatically defined if KONFIG_USERINTERFACE contains X11.

KONFIG_USERINTERFACE_NONE

#define KONFIG_USERINTERFACE_NONE

Will be automatically defined if KONFIG_USERINTERFACE contains no other valid option.

2.  Standard Macros

3.  System Specific Definitions

Include system settings

4.  Standard environment

Includes all C-kern(el) headers which define the standard runtime and compiletime environment.

Includes

Global generic configurations.
System specific configuration for Linux.
#define KONFIG_LANG en
Choose default language for compiletime/runtime text output.
#define KONFIG_MEMALIGN 4
Alignment of allocated memory.
#define KONFIG_OS Linux
Choose name of operating system this project is compiled for.
#define KONFIG_SUBSYS (THREAD|SYSUSER)
Defines which subsystems should be included.
#define KONFIG_UNITTEST
Define this in your Makefile to include additional code for testing single components.
#define KONFIG_USERINTERFACE NONE
Sets the graphic subsystem.
#define KONFIG_SUBSYS_THREAD
Will be automatically defined if KONFIG_SUBSYS contains THREAD.
#define KONFIG_SUBSYS_SYSUSER
Will be automatically defined if KONFIG_SUBSYS contains SYSUSER.
#define KONFIG_SUBSYS_NONE
Will be automatically defined if KONFIG_SUBSYS contains no other valid option.
#define KONFIG_USERINTERFACE_EGL
Will be automatically defined if KONFIG_USERINTERFACE contains EGL.
#define KONFIG_USERINTERFACE_X11
Will be automatically defined if KONFIG_USERINTERFACE contains X11.
#define KONFIG_USERINTERFACE_NONE
Will be automatically defined if KONFIG_USERINTERFACE contains no other valid option.
Defines some generic C macros useful during preprocessing time of C files.
Defines system specific types which are used in public interfaces.
Contains optimizations, for example fast redefinitions for functions.
Defines sys_context_threadtls and other thread context specific functions.
Declares some printf/scanf format specifiers and type descriptions.
Declares iobj_t which defines the standard structure of an interfaceable object.
Defines service context used by every software component in C-kern(el).
Close