More "bool" cleanup.

This commit is contained in:
Ralf Corsepius
2008-09-09 08:19:38 +00:00
parent 2d65b109fc
commit eaf1c0c44c
4 changed files with 35 additions and 35 deletions

View File

@@ -246,12 +246,12 @@ bool @value{DIRPREFIX}chain_is_null_node(
@subheading RETURNS @subheading RETURNS
Returns true is the node point is NULL and false if the node is not Returns @code{true} is the node point is NULL and @code{false} if the node is not
NULL. NULL.
@subheading DESCRIPTION: @subheading DESCRIPTION:
Tests the node to see if it is a NULL returning true if a null. Tests the node to see if it is a NULL returning @code{true} if a null.
@c @c
@c @c
@@ -329,13 +329,13 @@ bool @value{DIRPREFIX}chain_are_nodes_equal(
@subheading RETURNS @subheading RETURNS
This function returns true if the left node and the right node are This function returns @code{true} if the left node and the right node are
equal, and false otherwise. equal, and @code{false} otherwise.
@subheading DESCRIPTION: @subheading DESCRIPTION:
This function returns true if the left node and the right node are This function returns @code{true} if the left node and the right node are
equal, and false otherwise. equal, and @code{false} otherwise.
@c @c
@c @c
@@ -358,12 +358,12 @@ bool @value{DIRPREFIX}chain_is_empty(
@subheading RETURNS @subheading RETURNS
This function returns true if there a no nodes on the chain and false This function returns @code{true} if there a no nodes on the chain and @code{false}
otherwise. otherwise.
@subheading DESCRIPTION: @subheading DESCRIPTION:
This function returns true if there a no nodes on the chain and false This function returns @code{true} if there a no nodes on the chain and @code{false}
otherwise. otherwise.
@c @c
@@ -387,13 +387,13 @@ bool @value{DIRPREFIX}chain_is_first(
@subheading RETURNS @subheading RETURNS
This function returns true if the node is the first node on a chain This function returns @code{true} if the node is the first node on a chain
and false otherwise. and @code{false} otherwise.
@subheading DESCRIPTION: @subheading DESCRIPTION:
This function returns true if the node is the first node on a chain This function returns @code{true} if the node is the first node on a chain
and false otherwise. and @code{false} otherwise.
@c @c
@c @c
@@ -416,13 +416,13 @@ bool @value{DIRPREFIX}chain_is_last(
@subheading RETURNS @subheading RETURNS
This function returns true if the node is the last node on a chain and This function returns @code{true} if the node is the last node on a chain and
false otherwise. @code{false} otherwise.
@subheading DESCRIPTION: @subheading DESCRIPTION:
This function returns true if the node is the last node on a chain and This function returns @code{true} if the node is the last node on a chain and
false otherwise. @code{false} otherwise.
@c @c
@c @c
@@ -445,13 +445,13 @@ bool @value{DIRPREFIX}chain_has_only_one_node(
@subheading RETURNS @subheading RETURNS
This function returns true if there is only one node on the chain and This function returns @code{true} if there is only one node on the chain and
false otherwise. @code{false} otherwise.
@subheading DESCRIPTION: @subheading DESCRIPTION:
This function returns true if there is only one node on the chain and This function returns @code{true} if there is only one node on the chain and
false otherwise. @code{false} otherwise.
@c @c
@c @c
@@ -475,13 +475,13 @@ bool @value{DIRPREFIX}chain_is_head(
@subheading RETURNS @subheading RETURNS
This function returns true if the node is the head of the chain and This function returns @code{true} if the node is the head of the chain and
false otherwise. @code{false} otherwise.
@subheading DESCRIPTION: @subheading DESCRIPTION:
This function returns true if the node is the head of the chain and This function returns @code{true} if the node is the head of the chain and
false otherwise. @code{false} otherwise.
@c @c
@c @c
@@ -505,13 +505,13 @@ bool @value{DIRPREFIX}chain_is_tail(
@subheading RETURNS @subheading RETURNS
This function returns true if the node is the tail of the chain and This function returns @code{true} if the node is the tail of the chain and
false otherwise. @code{false} otherwise.
@subheading DESCRIPTION: @subheading DESCRIPTION:
This function returns true if the node is the tail of the chain and This function returns @code{true} if the node is the tail of the chain and
false otherwise. @code{false} otherwise.
@c @c
@c @c

View File

@@ -894,7 +894,7 @@ typedef struct @{
uint32_t interrupt_stack_size; uint32_t interrupt_stack_size;
void * (*stack_allocate_hook)( uint32_t ); void * (*stack_allocate_hook)( uint32_t );
void (*stack_free_hook)( void * ); void (*stack_free_hook)( void * );
boolean do_zero_of_workspace; bool do_zero_of_workspace;
uint32_t maximum_drivers; uint32_t maximum_drivers;
uint32_t number_of_device_drivers; uint32_t number_of_device_drivers;
rtems_driver_address_table *Device_driver_table; rtems_driver_address_table *Device_driver_table;
@@ -1599,7 +1599,7 @@ typedef rtems_extension (*rtems_task_exitted_extension)(
); );
typedef rtems_extension (*rtems_fatal_extension)( typedef rtems_extension (*rtems_fatal_extension)(
Internal_errors_Source /* the_source */, Internal_errors_Source /* the_source */,
boolean /* is_internal */, bool /* is_internal */,
uint32_t /* the_error */ uint32_t /* the_error */
); );

View File

@@ -895,7 +895,7 @@ typedef struct @{
rtems_id minimum_id; rtems_id minimum_id;
rtems_id maximum_id; rtems_id maximum_id;
uint32_t maximum; uint32_t maximum;
boolean auto_extend; bool auto_extend;
uint32_t unallocated; uint32_t unallocated;
@} rtems_object_api_class_information; @} rtems_object_api_class_information;
@end example @end example

View File

@@ -210,7 +210,7 @@ following:
@findex rtems_extension @findex rtems_extension
@ifset is-C @ifset is-C
@example @example
boolean user_task_create( bool user_task_create(
rtems_tcb *current_task, rtems_tcb *current_task,
rtems_tcb *new_task rtems_tcb *new_task
); );
@@ -235,11 +235,11 @@ completely initialized, but before it is placed on a ready TCB
chain. chain.
The user extension is expected to return the boolean The user extension is expected to return the boolean
value @code{TRUE} if it successfully executed and value @code{true} if it successfully executed and
@code{FALSE} otherwise. A task create user extension @code{false} otherwise. A task create user extension
will frequently attempt to allocate resources. If this will frequently attempt to allocate resources. If this
allocation fails, then the extension should return allocation fails, then the extension should return
@code{FALSE} and the entire task create operation @code{false} and the entire task create operation
will fail. will fail.
@subsubsection TASK_START Extension @subsubsection TASK_START Extension