Whitespace removal.

This commit is contained in:
Ralf Corsepius
2009-11-29 11:57:23 +00:00
parent 309dbd07ff
commit 33c3b54d57
44 changed files with 136 additions and 136 deletions

View File

@@ -142,12 +142,12 @@ struct name { \
#define SLIST_HEAD_INITIALIZER(head) \
{ NULL }
#define SLIST_ENTRY(type) \
struct { \
struct type *sle_next; /* next element */ \
}
/*
* Singly-linked List functions.
*/

View File

@@ -62,7 +62,7 @@ extern void putk(const char *s);
* as they see fit.
*/
extern int printk_plugin(void *context, const char *fmt, ...);
/*
* Type definition for function which can be plugged in to
* certain reporting routines to redirect the output

View File

@@ -24,7 +24,7 @@ extern "C" {
/* Forward declarations */
/* FIXME: shouldn't this better not be here? */
/* FIXME: shouldn't this better not be here? */
typedef struct rtems_libio_tt rtems_libio_t;
typedef struct rtems_filesystem_location_info_tt
@@ -34,15 +34,15 @@ struct rtems_filesystem_mount_table_entry_tt;
typedef struct rtems_filesystem_mount_table_entry_tt
rtems_filesystem_mount_table_entry_t;
typedef struct _rtems_filesystem_file_handlers_r
typedef struct _rtems_filesystem_file_handlers_r
rtems_filesystem_file_handlers_r;
typedef struct _rtems_filesystem_operations_table
typedef struct _rtems_filesystem_operations_table
rtems_filesystem_operations_table;
/*
* Structure used to determine a location/filesystem in the tree.
*/
struct rtems_filesystem_location_info_tt
{
void *node_access;

View File

@@ -34,7 +34,7 @@ extern "C" {
typedef unsigned char rtems_irq_prio;
struct __rtems_irq_connect_data__; /* forward declaratiuon */
typedef unsigned int rtems_irq_number;
typedef unsigned int rtems_irq_number;
typedef void *rtems_irq_hdl_param;
typedef void (*rtems_irq_hdl) (rtems_irq_hdl_param);
typedef void (*rtems_irq_enable) (const struct __rtems_irq_connect_data__*);

View File

@@ -1174,10 +1174,10 @@ pci_read_config_dword(
static inline int
pci_write_config_byte(
unsigned char bus,
unsigned char slot,
unsigned char bus,
unsigned char slot,
unsigned char function,
unsigned char where,
unsigned char where,
uint8_t val)
{
return BSP_pci_configuration.pci_functions->write_config_byte(

View File

@@ -26,7 +26,7 @@ extern "C" {
*/
/*
* According to IEEE Std 1003.1-2001,
* According to IEEE Std 1003.1-2001,
* limits.h is supposed to provide _POSIX_LOGIN_NAME_MAX
* FIXME: We should not rely on this.
*/
@@ -42,7 +42,7 @@ extern "C" {
#endif
typedef struct {
rtems_id task_id;
rtems_id task_id;
rtems_filesystem_location_info_t current_directory;
rtems_filesystem_location_info_t root_directory;
/* Default mode for all files. */
@@ -58,8 +58,8 @@ typedef struct {
pid_t pgrp; /* process group id */
} rtems_user_env_t;
extern rtems_user_env_t * rtems_current_user_env;
extern rtems_user_env_t rtems_global_user_env;
extern rtems_user_env_t * rtems_current_user_env;
extern rtems_user_env_t rtems_global_user_env;
#define rtems_filesystem_current (rtems_current_user_env->current_directory)
#define rtems_filesystem_root (rtems_current_user_env->root_directory)
@@ -79,7 +79,7 @@ extern rtems_user_env_t rtems_global_user_env;
rtems_status_code rtems_libio_set_private_env(void);
rtems_status_code rtems_libio_share_private_env(rtems_id task_id) ;
#ifdef __cplusplus
}
#endif

View File

@@ -5,7 +5,7 @@
*
* Block device buffer management.
*/
/*
* Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
* Author: Victor V. Vengerov <vvv@oktet.ru>
@@ -76,7 +76,7 @@ extern "C" {
* The buffers are held in various lists in the cache. All buffers follow this
* state machine:
*
*
* @dot
* digraph state {
* e [label="EMPTY",style="filled",fillcolor="aquamarine"];
@@ -88,10 +88,10 @@ extern "C" {
* s [label="SYNC",style="filled",fillcolor="red"];
* m [label="MODIFIED",style="filled",fillcolor="gold"];
* i [label="INITIAL"];
*
*
* legend_transfer [label="Transfer Wake-Up",fontcolor="red",shape="none"];
* legend_access [label="Access Wake-Up",fontcolor="royalblue",shape="none"];
*
*
* i -> e [label="Init"];
* e -> f [label="Buffer Recycle"];
* f -> a [label="Get"];
@@ -111,7 +111,7 @@ extern "C" {
* s -> t [label="Swapout"];
* }
* @enddot
*
*
* Empty or cached buffers are added to the LRU list and removed from this
* queue when a caller requests a buffer. This is referred to as getting a
* buffer in the code and the event get in the state diagram. The buffer is
@@ -119,7 +119,7 @@ extern "C" {
* If the block is to be read by the user and not in the cache it is transfered
* from the disk into memory. If no buffers are on the LRU list the modified
* list is checked. If buffers are on the modified the swap out task will be
* woken. The request blocks until a buffer is available for recycle.
* woken. The request blocks until a buffer is available for recycle.
*
* A block being accessed is given to the file system layer and not accessible
* to another requester until released back to the cache. The same goes to a
@@ -404,7 +404,7 @@ rtems_bdbuf_get (dev_t device, rtems_blkdev_bnum block, rtems_bdbuf_buffer** bd)
* and will not be returned to another user until released. If the buffer is
* already with a user when this call is made the call is blocked until the
* buffer is returned. The highest priority waiter will obtain the buffer
* first.
* first.
*
* @param device Device number (constructed of major and minor device number)
* @param block Linear media block number

View File

@@ -5,7 +5,7 @@
*
* Block device management.
*/
/*
* Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
* Author: Victor V. Vengerov <vvv@oktet.ru>
@@ -30,7 +30,7 @@ extern "C" {
* @ingroup rtems_libblock
*
* Interface between device drivers and the
* @ref rtems_bdbuf "block device buffer module".
* @ref rtems_bdbuf "block device buffer module".
*
* The heart of the block device driver is the @ref RTEMS_BLKIO_REQUEST IO
* control. This call puts IO @ref rtems_blkdev_request "requests" to the block
@@ -49,7 +49,7 @@ typedef enum rtems_blkdev_request_op {
RTEMS_BLKDEV_CAPABILITIES /**< Return the driver capabilities set. */
} rtems_blkdev_request_op;
/**
/**
* Only consecutive multi-sector buffer requests are supported.
*
* This option means the cache will only supply multiple buffers that are
@@ -125,7 +125,7 @@ typedef struct rtems_blkdev_request {
/**
* Last IO operation completion status.
*/
rtems_status_code status;
rtems_status_code status;
/**
* If @c status is not equal to @c RTEMS_SUCCESSFUL, this field contains the

View File

@@ -5,7 +5,7 @@
*
* @brief Block device disk management API.
*/
/*
* Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
* Author: Victor V. Vengerov <vvv@oktet.ru>
@@ -37,7 +37,7 @@ typedef struct rtems_disk_device rtems_disk_device;
* non-negative integers starting at zero. There are also logical disks which
* contain a subset of consecutive disk blocks. The logical disks are used to
* represent the partitions of a disk. The disk devices are accessed via the
* @ref rtems_bdbuf "block device buffer module".
* @ref rtems_bdbuf "block device buffer module".
*
* @{
*/

View File

@@ -50,7 +50,7 @@
#define RTEMS_FDISK_IOCTL_PRINT_STATUS _IO('B', 133)
/**
* Flash Disk Monitoring Data allows a user to obtain
* Flash Disk Monitoring Data allows a user to obtain
* the current status of the disk.
*/
typedef struct rtems_fdisk_monitor_data
@@ -120,7 +120,7 @@ typedef struct rtems_fdisk_driver_handlers
* access and the segment descriptor must reference the segment
* being requested. For example the segment number must resided in
* the range [base, base + count).
*
*
* @param sd The segment descriptor.
* @param device The device to read data from.
* @param segment The segment within the device to read.
@@ -145,7 +145,7 @@ typedef struct rtems_fdisk_driver_handlers
* segment to access and the segment descriptor must reference
* the segment being requested. For example the segment number must
* resided in the range [base, base + count).
*
*
* @param sd The segment descriptor.
* @param device The device to write data from.
* @param segment The segment within the device to write to.
@@ -170,7 +170,7 @@ typedef struct rtems_fdisk_driver_handlers
* access and the segment descriptor must reference the segment
* being requested. For example the segment number must resided in
* the range [base, base + count).
*
*
* @param sd The segment descriptor.
* @param device The device to read data from.
* @param segment The segment within the device to read.
@@ -193,7 +193,7 @@ typedef struct rtems_fdisk_driver_handlers
* segment to access and the segment descriptor must reference
* the device segment being requested. For example the segment number
* must resided in the range [base, base + count).
*
*
* @param sd The segment descriptor.
* @param device The device to verify data in.
* @param segment The segment within the device to verify.
@@ -216,7 +216,7 @@ typedef struct rtems_fdisk_driver_handlers
* more than segment in a device if the device has repeating
* segments. The segment number is the device segment to access and
* the segment descriptor must reference the segment being requested.
*
*
* @param sd The segment descriptor.
* @param device The device to erase the segment of.
* @param segment The segment within the device to erase.
@@ -233,7 +233,7 @@ typedef struct rtems_fdisk_driver_handlers
* more than segment in a device if the device has repeating
* segments. The segment number is the segment to access and
* the segment descriptor must reference the segment being requested.
*
*
* @param sd The segment descriptor.
* @param device The device to erase.
* @retval 0 No error.
@@ -283,7 +283,7 @@ typedef struct rtems_fdisk_device_desc
* The available compacting segment count is the level when compaction occurs
* when writing. If you set this to 0 then compaction will fail because
* there will be no segments to compact into.
*
*
* The info level can be 0 for off with error, and abort messages allowed.
* Level 1 is warning messages, level 1 is informational messages, and level 3
* is debugging type prints. The info level can be turned off with a compile
@@ -300,7 +300,7 @@ typedef struct rtems_flashdisk_config
driver. */
uint32_t unavail_blocks; /**< Number of blocks not
available to the file sys. */
uint32_t compact_segs; /**< Max number of segs to
uint32_t compact_segs; /**< Max number of segs to
compact in one pass. */
uint32_t avail_compact_segs; /**< The number of segments
when compaction occurs

View File

@@ -9,7 +9,7 @@
/**
* NV Disk Static RAM Device Driver.
*
* This driver maps an NV disk to static RAM. You can use this
* This driver maps an NV disk to static RAM. You can use this
*/
#if !defined (_RTEMS_NVDISK_SRAM_H_)

View File

@@ -58,7 +58,7 @@
#define RTEMS_NVDISK_IOCTL_PRINT_STATUS _IO('B', 131)
/**
* NV Disk Monitoring Data allows a user to obtain
* NV Disk Monitoring Data allows a user to obtain
* the current status of the disk.
*/
typedef struct rtems_nvdisk_monitor_data
@@ -89,7 +89,7 @@ typedef struct rtems_nvdisk_driver_handlers
/**
* Read data from the device into the buffer. Return an errno
* error number if the data cannot be read.
*
*
* @param device The device to read data from.
* @param flags Device specific flags for the driver.
* @param base The base address of the device.
@@ -99,13 +99,13 @@ typedef struct rtems_nvdisk_driver_handlers
* @retval 0 No error.
* @retval EIO The read did not complete.
*/
int (*read) (uint32_t device, uint32_t flags, uint32_t base,
int (*read) (uint32_t device, uint32_t flags, uint32_t base,
uint32_t offset, void* buffer, uint32_t size);
/**
* Write data from the buffer to the device. Return an errno
* error number if the device cannot be written to.
*
*
* @param device The device to write data to.
* @param flags Device specific flags for the driver.
* @param base The base address of the device.
@@ -115,13 +115,13 @@ typedef struct rtems_nvdisk_driver_handlers
* @retval 0 No error.
* @retval EIO The write did not complete or verify.
*/
int (*write) (uint32_t device, uint32_t flags, uint32_t base,
int (*write) (uint32_t device, uint32_t flags, uint32_t base,
uint32_t offset, const void* buffer, uint32_t size);
/**
* Verify data in the buffer to the data in the device. Return an
* errno error number if the device cannot be read or the data verified.
*
*
* @param device The device to verify the data with.
* @param flags Device specific flags for the driver.
* @param base The base address of the device.

View File

@@ -170,21 +170,21 @@ int ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp);
* rtems_device_major_number major = 0;
* ramdisk *rd = NULL;
* dev_t dev = 0;
*
*
* sc = rtems_io_register_driver(0, &ramdisk_ops, &major);
* if (sc != RTEMS_SUCCESSFUL) {
* return RTEMS_UNSATISFIED;
* }
*
*
* rd = ramdisk_allocate(NULL, block_size, block_count, false);
* if (rd == NULL) {
* rtems_io_unregister_driver(major);
*
*
* return RTEMS_UNSATISFIED;
* }
*
*
* dev = rtems_filesystem_make_dev_t(major, 0);
*
*
* sc = rtems_disk_create_phys(
* dev,
* block_size,
@@ -196,10 +196,10 @@ int ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp);
* if (sc != RTEMS_SUCCESSFUL) {
* ramdisk_free(rd);
* rtems_io_unregister_driver(major);
*
*
* return RTEMS_UNSATISFIED;
* }
*
*
* return RTEMS_SUCCESSFUL;
* }
* @endcode

View File

@@ -47,7 +47,7 @@ extern "C" {
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device driver is successfully initialized.
*/
rtems_device_driver console_initialize(
@@ -55,7 +55,7 @@ rtems_device_driver console_initialize(
rtems_device_minor_number minor,
void *arg
);
/**
* @brief Console Open Entry Point
*
@@ -66,7 +66,7 @@ rtems_device_driver console_initialize(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device driver is successfully opened.
*/
rtems_device_driver console_open(
@@ -85,7 +85,7 @@ rtems_device_driver console_open(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device is successfully closed.
*/
rtems_device_driver console_close(
@@ -104,7 +104,7 @@ rtems_device_driver console_close(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device is successfully read from.
*/
rtems_device_driver console_read(
@@ -123,7 +123,7 @@ rtems_device_driver console_read(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device is successfully written.
*/
rtems_device_driver console_write(
@@ -142,7 +142,7 @@ rtems_device_driver console_write(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device driver IO control operation is
* successfully performed.
*/

View File

@@ -3,7 +3,7 @@
*
* Real-time clock driver interface.
*/
/*
* COPYRIGHT (c) 1989-2001.
* On-Line Applications Research Corporation (OAR).

View File

@@ -45,7 +45,7 @@ extern "C" {
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device driver is successfully initialized.
*/
rtems_device_driver frame_buffer_initialize(
@@ -53,7 +53,7 @@ rtems_device_driver frame_buffer_initialize(
rtems_device_minor_number minor,
void *arg
);
/**
* @brief Frame Buffer Open Entry Point
*
@@ -64,7 +64,7 @@ rtems_device_driver frame_buffer_initialize(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device driver is successfully opened.
*/
rtems_device_driver frame_buffer_open(
@@ -83,7 +83,7 @@ rtems_device_driver frame_buffer_open(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device is successfully closed.
*/
rtems_device_driver frame_buffer_close(
@@ -102,7 +102,7 @@ rtems_device_driver frame_buffer_close(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device is successfully read from.
*/
rtems_device_driver frame_buffer_read(
@@ -121,7 +121,7 @@ rtems_device_driver frame_buffer_read(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device is successfully written.
*/
rtems_device_driver frame_buffer_write(
@@ -140,7 +140,7 @@ rtems_device_driver frame_buffer_write(
* @param[in] minor is the device driver minor number
* @param[in] arg is the parameters to this call
*
* @return This method returns RTEMS_SUCCESSFUL when
* @return This method returns RTEMS_SUCCESSFUL when
* the device driver IO control operation is
* successfully performed.
*/

View File

@@ -51,7 +51,7 @@ typedef struct {
void (*at_free)(void *);
} rtems_malloc_statistics_functions_t;
extern rtems_malloc_statistics_functions_t
extern rtems_malloc_statistics_functions_t
rtems_malloc_statistics_helpers_table;
extern rtems_malloc_statistics_functions_t *rtems_malloc_statistics_helpers;
@@ -87,7 +87,7 @@ typedef void (*rtems_malloc_dirtier_t)(void *, size_t);
extern rtems_malloc_dirtier_t *rtems_malloc_dirty_helper;
/** @brief Dirty memory function
*
*
* This method fills the specified area with a non-zero pattern
* to aid in debugging programs which do not initialize their
* memory allocated from the heap.
@@ -115,12 +115,12 @@ int malloc_get_statistics(
*/
void malloc_report_statistics(void);
/** @brief Print Malloc Statistic Usage Report
/** @brief Print Malloc Statistic Usage Report
*
* This method prints a malloc statistics report.
*
* @param[in] context is the context to pass to the print handler
* @param[in] print is the print handler
* @param[in] context is the context to pass to the print handler
* @param[in] print is the print handler
*
* @note It uses the CALLER's routine to print the report.
*/

View File

@@ -34,7 +34,7 @@
* @(#)ioctl.h 8.6 (Berkeley) 3/28/94
* $FreeBSD: src/sys/sys/ioctl.h,v 1.13 2004/06/11 11:16:26 phk Exp $
*/
/*
* $Id$
*/

View File

@@ -3,7 +3,7 @@
*
* This file describes the Timer Driver for all boards.
*/
/*
*
* COPYRIGHT (c) 1989-1999.

View File

@@ -5,7 +5,7 @@
* which should be provided by all BSPs for VMEbus Single Board
* Computers but currently only a few do so.
*/
/*
* COPYRIGHT (c) 1989-1999.
* On-Line Applications Research Corporation (OAR).

View File

@@ -1,7 +1,7 @@
/**
* @file rtems/zilog/z8036.h
*/
/*
* This include file defines information related to a Zilog Z8036
* Counter/Timer/IO Chip. It is a memory mapped part.

View File

@@ -1,7 +1,7 @@
/**
* @file rtems/capture.h
*/
/*
------------------------------------------------------------------------
$Id$
@@ -119,7 +119,7 @@ typedef struct rtems_capture_control_s
RTEMS_CAPTURE_DELETE | \
RTEMS_CAPTURE_BEGIN | \
RTEMS_CAPTURE_EXITTED)
/**
* rtems_capture_task_t
*

View File

@@ -21,7 +21,7 @@ extern "C" {
*
* This method prints @a length bytes beginning at @a buffer in
* a nice format similar to what one would expect from a debugger
* or ROM monitor.
* or ROM monitor.
*
* @param[in] buffer is the address of the buffer
* @param[in] length is the length of the buffer

View File

@@ -46,8 +46,8 @@ extern "C" {
struct fb_bitfield {
uint32_t offset; /* beginning of bitfield */
uint32_t length; /* length of bitfield */
uint32_t msb_right; /* != 0 : Most significant bit is */
/* right */
uint32_t msb_right; /* != 0 : Most significant bit is */
/* right */
};
struct fb_var_screeninfo {

View File

@@ -3,7 +3,7 @@
*
* The RTEMS monitor task.
*/
/*
* $Id$
*/

View File

@@ -44,13 +44,13 @@ bool rtems_stack_checker_is_blown( void );
*/
void rtems_stack_checker_report_usage( void );
/** @brief Print Stack Usage Report
/** @brief Print Stack Usage Report
*
* This method prints a stack usage report for the curently executing
* task.
*
* @param[in] context is the context to pass to the print handler
* @param[in] print is the print handler
* @param[in] context is the context to pass to the print handler
* @param[in] print is the print handler
*
* @note It uses the caller's routine to print the report.
*/

View File

@@ -98,7 +98,7 @@ rtems_status_code STRING_TO_NAME (
/* If the user wants the end pointer back, then return it. */
if ( endptr )
*endptr = end;
*endptr = end;
/* nothing was converted */
if ( end == s )

View File

@@ -91,7 +91,7 @@ const char *rtems_get_version_string(void);
/**********************************************************************
* CONSTANTS WHICH MAY BE USED IN OBJECT NAME TO ID SEARCHES
**********************************************************************/
**********************************************************************/
/**
* @brief Indicates that a search is across all nodes.
@@ -119,7 +119,7 @@ const char *rtems_get_version_string(void);
/**********************************************************************
* Parameters and return Id's for _Objects_Get_next
**********************************************************************/
**********************************************************************/
/**
* @brief Lowest valid index value for the index portion of an object

View File

@@ -52,13 +52,13 @@ typedef uint32_t rtems_attribute;
*/
#define RTEMS_GLOBAL 0x00000002
/**
/**
* This is the attribute constant which reflects that blocking
* tasks will be managed using FIFO discipline.
*/
#define RTEMS_FIFO 0x00000000
/**
/**
* This is the attribute constant which reflects that blocking
* tasks will be managed using task priority discipline.
*/

View File

@@ -36,7 +36,7 @@
/**@{*/
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.
@@ -115,7 +115,7 @@ rtems_status_code rtems_barrier_create(
* extent of the search for the ID of the barrier named name.
* The search can be limited to a particular node or allowed to
* encompass all nodes.
*
*
* @param[in] name is the name of this barrier instance.
* @param[out] id will contain the id of this barrier.
*

View File

@@ -80,7 +80,7 @@ typedef Watchdog_Nanoseconds_since_last_tick_routine
rtems_nanoseconds_extension_routine;
/**
* @brief Obtain Current Time of Day
* @brief Obtain Current Time of Day
*
* This routine implements the rtems_clock_get directive. It returns
* one of the following:
@@ -228,11 +228,11 @@ rtems_status_code rtems_clock_set_nanoseconds_extension(
*
* This directive returns the system uptime.
*
* @param[in] uptime is a pointer to the time structure
* @param[in] uptime is a pointer to the time structure
*
* @return This method returns RTEMS_SUCCESSFUL if there was not an
* error. Otherwise, a status code is returned indicating the
* source of the error. If successful, the uptime will be
* source of the error. If successful, the uptime will be
* filled in.
*/
rtems_status_code rtems_clock_get_uptime(

View File

@@ -44,7 +44,7 @@ extern "C" {
*/
typedef struct {
/**
* This field contains the maximum number of Classic API
* This field contains the maximum number of Classic API
* Tasks which are configured for this application.
*/
uint32_t maximum_tasks;
@@ -56,51 +56,51 @@ typedef struct {
bool notepads_enabled;
/**
* This field contains the maximum number of Classic API
* This field contains the maximum number of Classic API
* Timers which are configured for this application.
*/
uint32_t maximum_timers;
/**
* This field contains the maximum number of Classic API
* This field contains the maximum number of Classic API
* Semaphores which are configured for this application.
*/
uint32_t maximum_semaphores;
/**
* This field contains the maximum number of Classic API
* This field contains the maximum number of Classic API
* Message Queues which are configured for this application.
*/
uint32_t maximum_message_queues;
/**
* This field contains the maximum number of Classic API
* This field contains the maximum number of Classic API
* Partitions which are configured for this application.
*/
uint32_t maximum_partitions;
/**
* This field contains the maximum number of Classic API
* This field contains the maximum number of Classic API
* Regions which are configured for this application.
*/
uint32_t maximum_regions;
/**
* This field contains the maximum number of Classic API
* This field contains the maximum number of Classic API
* Dual Ported Memory Areas which are configured for this
* application.
*/
uint32_t maximum_ports;
/**
* This field contains the maximum number of Classic API
* This field contains the maximum number of Classic API
* Rate Monotonic Periods which are configured for this
* application.
*/
uint32_t maximum_periods;
/**
* This field contains the maximum number of Classic API
* This field contains the maximum number of Classic API
* Barriers which are configured for this application.
*/
uint32_t maximum_barriers;

View File

@@ -30,7 +30,7 @@
#define _RTEMS_RTEMS_DPMEM_H
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.

View File

@@ -26,7 +26,7 @@
#define _RTEMS_RTEMS_EVENT_H
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.

View File

@@ -62,7 +62,7 @@ typedef rtems_isr ( *rtems_isr_entry )(
#if (CPU_SIMPLE_VECTORED_INTERRUPTS == TRUE)
/**
* @brief Implementation of the rtems_interrupt_catch directive.
*
*
* This directive installs @a new_isr_handler as the RTEMS interrupt service
* routine for the interrupt vector with number @a vector. The previous RTEMS
* interrupt service routine is returned in @a old_isr_handler.
@@ -77,7 +77,7 @@ rtems_status_code rtems_interrupt_catch(
/**
* @brief Disables all maskable interrupts and returns the previous level in
* @a _isr_cookie.
*
*
* @note The interrupt level shall be of type @ref rtems_interrupt_level.
*/
#define rtems_interrupt_disable( _isr_cookie ) \
@@ -86,7 +86,7 @@ rtems_status_code rtems_interrupt_catch(
/**
* @brief Enables maskable interrupts to the level indicated by @a
* _isr_cookie.
*
*
* @note The interrupt level shall be of type @ref rtems_interrupt_level.
*/
#define rtems_interrupt_enable( _isr_cookie ) \
@@ -95,7 +95,7 @@ rtems_status_code rtems_interrupt_catch(
/**
* @brief Temporarily enables maskable interrupts to the level in @a
* _isr_cookie before redisabling them.
*
*
* @note The interrupt level shall be of type @ref rtems_interrupt_level.
*/
#define rtems_interrupt_flash( _isr_cookie ) \
@@ -104,7 +104,7 @@ rtems_status_code rtems_interrupt_catch(
/**
* @brief Returns true if the processor is currently servicing an interrupt
* and false otherwise.
*
*
* A return value of true indicates that the caller is an interrupt service
* routine and @b not a thread. The directives available to an interrupt
* service routine are restricted.
@@ -114,14 +114,14 @@ rtems_status_code rtems_interrupt_catch(
/**
* @brief This routine generates an interrupt.
*
*
* @note No implementation.
*/
#define rtems_interrupt_cause( _interrupt_to_cause )
/**
* @brief This routine clears the specified interrupt.
*
*
* @note No implementation.
*/
#define rtems_interrupt_clear( _interrupt_to_clear )

View File

@@ -31,7 +31,7 @@
#define _RTEMS_RTEMS_MESSAGE_H
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.

View File

@@ -55,7 +55,7 @@ typedef uint32_t Modes_Control;
* current execution mode.
*/
#define RTEMS_CURRENT_MODE 0
/** This mode constant corresponds to the timeslice enable/disable bit. */
#define RTEMS_TIMESLICE_MASK 0x00000200

View File

@@ -245,7 +245,7 @@ rtems_status_code rtems_object_set_name(
/**
* @brief Get Lowest Valid Class Value
*
* This method returns the lowest valid value Class for the
* This method returns the lowest valid value Class for the
* specified @a api. Each API supports a different number
* of object classes.
*
@@ -261,7 +261,7 @@ int rtems_object_api_minimum_class(
/**
* @brief Get Highest Valid Class Value
*
* This method returns the highest valid value Class for the
* This method returns the highest valid value Class for the
* specified @a api. Each API supports a different number
* of object classes.
*
@@ -278,7 +278,7 @@ int rtems_object_api_maximum_class(
/**
* @brief Get Highest Valid Class Value
*
* This method returns the lowest valid value Class for the
* This method returns the lowest valid value Class for the
* specified @a api. Each API supports a different number
* of object classes.
*
@@ -321,7 +321,7 @@ const char *rtems_object_get_api_name(
* the string "BAD CLASS"
*/
const char *rtems_object_get_api_class_name(
int the_api,
int the_api,
int the_class
);

View File

@@ -29,7 +29,7 @@
#define _RTEMS_RTEMS_PART_H
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.

View File

@@ -29,7 +29,7 @@
#define _RTEMS_RTEMS_RATEMON_H
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.
@@ -107,32 +107,32 @@ extern "C" {
*/
typedef enum {
/**
* This value indicates the period is off the watchdog chain,
* This value indicates the period is off the watchdog chain,
* and has never been initialized.
*/
RATE_MONOTONIC_INACTIVE,
/**
* This value indicates the period is on the watchdog chain, and
* This value indicates the period is on the watchdog chain, and
* the owner is blocked waiting on it.
*/
RATE_MONOTONIC_OWNER_IS_BLOCKING,
/**
* This value indicates the period is on the watchdog chain, and
* This value indicates the period is on the watchdog chain, and
* running. The owner should be executed or blocked waiting on
* another object.
*/
RATE_MONOTONIC_ACTIVE,
/**
* This value indicates the period is on the watchdog chain, and
* This value indicates the period is on the watchdog chain, and
* has expired. The owner should be blocked waiting for the next period.
*/
RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING,
/**
* This value indicates the period is off the watchdog chain, and
* This value indicates the period is off the watchdog chain, and
* has expired. The owner is still executing and has taken too much
* all time to complete this iteration of the period.
*/
@@ -150,7 +150,7 @@ typedef enum {
* statistics kept on each period instance.
*
* @note The public structure uses struct timespec while the
* internal one uses Timestamp_Control.
* internal one uses Timestamp_Control.
*/
typedef struct {
/** This field contains the number of periods executed. */
@@ -267,7 +267,7 @@ typedef struct {
*/
Rate_monotonic_Statistics Statistics;
} Rate_monotonic_Control;
/**
* @brief Rate Monotonic Period Class Management Structure
*

View File

@@ -47,7 +47,7 @@
/**@{*/
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.
@@ -153,7 +153,7 @@ rtems_status_code rtems_region_get_information(
* @brief rtems_region_get_free_information
*
* This routine implements the rtems_region_get_free_information directive.
* This directive returns information about the free blocks in the
* This directive returns information about the free blocks in the
* heap associated with this region.
*/
rtems_status_code rtems_region_get_free_information(

View File

@@ -29,7 +29,7 @@
#define _RTEMS_RTEMS_SEM_H
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.

View File

@@ -45,7 +45,7 @@
#include <rtems/rtems/status.h>
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.
@@ -205,7 +205,7 @@ typedef struct {
* the RTEMS API to function correctly.
*
* @note Notepads must be the last entry in the structure and memory
* will be taken away from this structure when allocated if
* will be taken away from this structure when allocated if
* notespads are disabled by the application configuration.
*/
typedef struct {
@@ -232,7 +232,7 @@ RTEMS_TASKS_EXTERN Objects_Information _RTEMS_tasks_Information;
/**
* When the user configures a set of Classic API initialization tasks,
* This variable will point to the method used to initialize them.
*
*
* @note It is instantiated and initialized by confdefs.h based upon
* application requirements.
*/
@@ -414,7 +414,7 @@ rtems_status_code rtems_task_wake_after(
/**
* @brief rtems_task_is_suspended
* This directive returns a status indicating whether or not
* the specified task is suspended.
*/

View File

@@ -36,7 +36,7 @@
#define _RTEMS_RTEMS_TIMER_H
/**
* This constant is defined to extern most of the time when using
* This constant is defined to extern most of the time when using
* this header file. However by defining it to nothing, the data
* declared in this header file can be instantiated. This is done
* in a single per manager file.