Rename microkernel's kernel_struct.h to micro_private_types.h

The new name better reflects that this file contains private
microkernel APIs (types, structs, etc.) that are used by various
kernel subsystems.

Change-Id: I7a89be893455b3daaf30baa40a0ec8e0cde7cc36
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
Allan Stephens 2015-06-19 10:46:53 -04:00 committed by Anas Nashif
commit 7da1dd860b
7 changed files with 15 additions and 15 deletions

View file

@ -42,7 +42,7 @@ the PendSV exception.
#ifdef CONFIG_MICROKERNEL #ifdef CONFIG_MICROKERNEL
#include <microkernel.h> #include <microkernel.h>
#include <kernel_struct.h> #include <micro_private_types.h>
#endif #endif
#include <nanok.h> #include <nanok.h>

View file

@ -38,7 +38,7 @@ processor architecture.
#ifdef CONFIG_MICROKERNEL #ifdef CONFIG_MICROKERNEL
#include <microkernel.h> #include <microkernel.h>
#include <kernel_struct.h> #include <micro_private_types.h>
#endif /* CONFIG_MICROKERNEL */ #endif /* CONFIG_MICROKERNEL */
#include <toolchain.h> #include <toolchain.h>

View file

@ -97,7 +97,7 @@ enable FP resource sharing on its behalf.
#ifdef CONFIG_MICROKERNEL #ifdef CONFIG_MICROKERNEL
#include <microkernel.h> #include <microkernel.h>
#include <kernel_struct.h> #include <micro_private_types.h>
#endif /* CONFIG_MICROKERNEL */ #endif /* CONFIG_MICROKERNEL */
#include <nanok.h> #include <nanok.h>

View file

@ -37,7 +37,7 @@
extern "C" { extern "C" {
#endif #endif
#include <kernel_struct.h> #include <micro_private_types.h>
void BuffInit(unsigned char *pBuffer, int *piBuffSize, struct chbuff *pChBuff); void BuffInit(unsigned char *pBuffer, int *piBuffSize, struct chbuff *pChBuff);

View file

@ -30,8 +30,8 @@
* POSSIBILITY OF SUCH DAMAGE. * POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef _KERNEL_STRUCT_H #ifndef _MICRO_PRIVATE_TYPES_H
#define _KERNEL_STRUCT_H #define _MICRO_PRIVATE_TYPES_H
#include <microkernel/base_api.h> #include <microkernel/base_api.h>
#include <nanokernel.h> #include <nanokernel.h>
@ -558,4 +558,4 @@ struct evstr {
} }
#endif #endif
#endif /* _KERNEL_STRUCT_H */ #endif /* _MICRO_PRIVATE_TYPES_H */

View file

@ -34,7 +34,7 @@
#define MINIK_H #define MINIK_H
#include <stddef.h> #include <stddef.h>
#include <kernel_struct.h> #include <micro_private_types.h>
#include <kernel_main.h> #include <kernel_main.h>
#include <nanok.h> #include <nanok.h>

View file

@ -39,7 +39,7 @@
# Generates: # Generates:
# - kernel_main.c file # - kernel_main.c file
# - kernel_main.h file (local copy) # - kernel_main.h file (local copy)
# - kernel_struct.h file (local copy) # - micro_private_types.h file (local copy)
# - zephyr.h file # - zephyr.h file
import os import os
@ -306,7 +306,7 @@ def kernel_main_c_header():
"\n" + "\n" +
"#include <zephyr.h>\n" + "#include <zephyr.h>\n" +
"#include <drivers/system_timer.h>\n" + "#include <drivers/system_timer.h>\n" +
"#include <kernel_struct.h>\n" + "#include <micro_private_types.h>\n" +
"#include <kernel_main.h>\n" + "#include <kernel_main.h>\n" +
"#include <toolchain.h>\n" + "#include <toolchain.h>\n" +
"#include <sections.h>\n") "#include <sections.h>\n")
@ -1059,12 +1059,12 @@ def kernel_main_h_generate():
# #
# GENERATE kernel_struct.h FILE # GENERATE micro_private_types.h FILE
# #
def kernel_struct_h_generate(): def micro_private_types_h_generate():
""" Generate kernel_struct.h file """ """ Generate micro_private_types.h file """
global output_dir global output_dir
@ -1072,7 +1072,7 @@ def kernel_struct_h_generate():
"cp", "cp",
"-f", "-f",
os.environ["ZEPHYR_BASE"] + os.environ["ZEPHYR_BASE"] +
"/kernel/microkernel/include/kernel_struct.h", "/kernel/microkernel/include/micro_private_types.h",
output_dir]) output_dir])
@ -1196,5 +1196,5 @@ mdef_parse()
get_output_dir() get_output_dir()
kernel_main_c_generate() kernel_main_c_generate()
kernel_main_h_generate() kernel_main_h_generate()
kernel_struct_h_generate() micro_private_types_h_generate()
zephyr_h_generate() zephyr_h_generate()