forked from Imagelibrary/rtems
Include stdbool.h. Use bool as base-type for boolean.
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -32,7 +33,7 @@ extern "C" {
|
|||||||
* This section defines the basic types for this processor.
|
* This section defines the basic types for this processor.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -33,7 +34,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -31,7 +32,7 @@ extern "C" {
|
|||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
/** This defines the type for a Boolean value, */
|
/** This defines the type for a Boolean value, */
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
/** This defines the type for a single precision float. */
|
/** This defines the type for a single precision float. */
|
||||||
typedef float single_precision;
|
typedef float single_precision;
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -33,7 +34,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint_least16_t Priority_Bit_map_control;
|
typedef uint_least16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -33,7 +34,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -33,7 +34,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -33,7 +34,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -34,7 +35,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -33,7 +34,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -35,7 +36,7 @@ extern "C" {
|
|||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
/** This defines the type for a Boolean value, */
|
/** This defines the type for a Boolean value, */
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
/** This defines the type for a single precision float. */
|
/** This defines the type for a single precision float. */
|
||||||
typedef float single_precision;
|
typedef float single_precision;
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -50,7 +51,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint32_t Priority_Bit_map_control;
|
typedef uint32_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -43,7 +44,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint16_t boolean; /* Boolean value, external */
|
typedef bool boolean; /* Boolean value, external */
|
||||||
/* data bus has 16 bits */
|
/* data bus has 16 bits */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -33,7 +34,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#ifndef ASM
|
#ifndef ASM
|
||||||
|
|
||||||
|
#include <stdbool.h>
|
||||||
#include <rtems/stdint.h>
|
#include <rtems/stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -42,7 +43,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef uint16_t Priority_Bit_map_control;
|
typedef uint16_t Priority_Bit_map_control;
|
||||||
|
|
||||||
typedef uint32_t boolean; /* Boolean value */
|
typedef bool boolean; /* Boolean value */
|
||||||
|
|
||||||
typedef float single_precision; /* single precision float */
|
typedef float single_precision; /* single precision float */
|
||||||
typedef double double_precision; /* double precision float */
|
typedef double double_precision; /* double precision float */
|
||||||
|
|||||||
Reference in New Issue
Block a user