Rename microkernel/k_types.h to base_api.h
This file defines public microkernel APIs that are utilized by more than one of the microkernel object types. It contains both types and symbolic constants. Change-Id: I2bc39ffe6655e5ddeec1e55c4caee01e02526595 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
This commit is contained in:
parent
a0148a8544
commit
f494cc3e9d
8 changed files with 11 additions and 11 deletions
|
@ -39,7 +39,7 @@
|
|||
|
||||
/* microkernel public APIs */
|
||||
|
||||
#include <microkernel/k_types.h>
|
||||
#include <microkernel/base_api.h>
|
||||
|
||||
#include <microkernel/task.h>
|
||||
#include <microkernel/ticks.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* microkernel/k_types.h */
|
||||
/* microkernel/base_api.h */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997-2014 Wind River Systems, Inc.
|
||||
|
@ -30,8 +30,8 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef K_TYPES_H
|
||||
#define K_TYPES_H
|
||||
#ifndef _BASE_API_H
|
||||
#define _BASE_API_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -100,4 +100,4 @@ typedef enum {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* K_TYPES_H */
|
||||
#endif /* _BASE_API_H */
|
|
@ -37,7 +37,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <microkernel/k_types.h>
|
||||
#include <microkernel/base_api.h>
|
||||
|
||||
/* define size of command packet (without exposing its internal structure) */
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <microkernel/k_types.h>
|
||||
#include <microkernel/base_api.h>
|
||||
|
||||
extern int _task_mutex_lock(kmutex_t mutex, int32_t time);
|
||||
extern void _task_mutex_unlock(kmutex_t mutex);
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#ifndef TASK_IRQ_H
|
||||
#define TASK_IRQ_H
|
||||
|
||||
#include <microkernel/k_types.h>
|
||||
#include <microkernel/base_api.h>
|
||||
|
||||
#define INVALID_VECTOR 0xFFFFFFFF
|
||||
|
||||
|
|
|
@ -284,7 +284,7 @@ unsigned char _sys_power_save_flag = 1;
|
|||
#if defined(CONFIG_ADVANCED_POWER_MANAGEMENT)
|
||||
|
||||
#include <nanokernel.h>
|
||||
#include <microkernel/k_types.h>
|
||||
#include <microkernel/base_api.h>
|
||||
#ifdef CONFIG_ADVANCED_IDLE
|
||||
#include <advidle.h>
|
||||
#endif
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#ifndef _KERNEL_STRUCT_H
|
||||
#define _KERNEL_STRUCT_H
|
||||
|
||||
#include <microkernel/k_types.h>
|
||||
#include <microkernel/base_api.h>
|
||||
#include <nanokernel.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
(Buff->pEnd - pChBuff->pBegin)
|
||||
*/
|
||||
|
||||
#include <microkernel/k_types.h>
|
||||
#include <microkernel/base_api.h>
|
||||
#include <k_pipe_buffer.h>
|
||||
#include <string.h>
|
||||
#include <toolchain.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue