forked from Imagelibrary/rtems
Spelling and grammar fixes in source code comments (GCI 2018)
This commit is contained in:
committed by
Joel Sherrill
parent
e25acd8d25
commit
0446f68056
@@ -1,7 +1,7 @@
|
|||||||
The following files were developed by Erich Boleyn <erich@uruk.org>.
|
The following files were developed by Erich Boleyn <erich@uruk.org>.
|
||||||
The original files were copied from http://www.uruk.org/mps/ and committed
|
The original files were copied from http://www.uruk.org/mps/ and committed
|
||||||
into cvs as is. These files will be modified for RTEMS smp support,
|
into cvs as is. These files will be modified for RTEMS smp support,
|
||||||
but the original files are being commited in order to track any file
|
but the original files are being committed in order to track any file
|
||||||
changes that occur. We are attempting to keep these changes as minimal
|
changes that occur. We are attempting to keep these changes as minimal
|
||||||
and conainted as possible.
|
and conainted as possible.
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
#include <bsp/vectors.h>
|
#include <bsp/vectors.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX: These values are choosen to directly generate the vector offsets for an
|
* XXX: These values are chosen to directly generate the vector offsets for an
|
||||||
* e200z1 which has hard wired IVORs (IVOR0=0x00, IVOR1=0x10, IVOR2=0x20, ...).
|
* e200z1 which has hard wired IVORs (IVOR0=0x00, IVOR1=0x10, IVOR2=0x20, ...).
|
||||||
*/
|
*/
|
||||||
static const uint8_t ivor_values [] = {
|
static const uint8_t ivor_values [] = {
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ void bsp_fatal_extension(
|
|||||||
|
|
||||||
if (irqmp != NULL) {
|
if (irqmp != NULL) {
|
||||||
/*
|
/*
|
||||||
* Value was choosen to get something in the magnitude of 1ms on a 200MHz
|
* Value was chosen to get something in the magnitude of 1ms on a 200MHz
|
||||||
* processor.
|
* processor.
|
||||||
*/
|
*/
|
||||||
uint32_t max_wait = 1234567;
|
uint32_t max_wait = 1234567;
|
||||||
|
|||||||
@@ -1129,7 +1129,7 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
|
|||||||
*
|
*
|
||||||
* @addtogroup Configuration
|
* @addtogroup Configuration
|
||||||
*
|
*
|
||||||
* This module contains parameters related to thread aand interrupt stacks.
|
* This module contains parameters related to thread and interrupt stacks.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1523,7 +1523,7 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
|
|||||||
* Table.
|
* Table.
|
||||||
*
|
*
|
||||||
* Default Device Driver Table. Each driver needed by the test is explicitly
|
* Default Device Driver Table. Each driver needed by the test is explicitly
|
||||||
* choosen by the application. There is always a null driver entry.
|
* chosen by the application. There is always a null driver entry.
|
||||||
*/
|
*/
|
||||||
/**@{*/
|
/**@{*/
|
||||||
|
|
||||||
|
|||||||
@@ -359,7 +359,7 @@
|
|||||||
* Since memory is a critical resource in many real-time embedded systems,
|
* Since memory is a critical resource in many real-time embedded systems,
|
||||||
* RTEMS was specifically designed to automatically leave out all services that
|
* RTEMS was specifically designed to automatically leave out all services that
|
||||||
* are not required from the run-time environment. Features such as networking,
|
* are not required from the run-time environment. Features such as networking,
|
||||||
* various fileystems, and many other features are completely optional. This
|
* various filesystems, and many other features are completely optional. This
|
||||||
* allows the application designer the flexibility to tailor RTEMS to most
|
* allows the application designer the flexibility to tailor RTEMS to most
|
||||||
* efficiently meet system requirements while still satisfying even the most
|
* efficiently meet system requirements while still satisfying even the most
|
||||||
* stringent memory constraints. As a result, the size of the RTEMS executive
|
* stringent memory constraints. As a result, the size of the RTEMS executive
|
||||||
@@ -502,7 +502,7 @@
|
|||||||
* </table>
|
* </table>
|
||||||
*
|
*
|
||||||
* The 16-bit format is designed to be as similar as possible to the 32-bit
|
* The 16-bit format is designed to be as similar as possible to the 32-bit
|
||||||
* format. The differences are limited to the eliminatation of the node field
|
* format. The differences are limited to the elimination of the node field
|
||||||
* and reduction of the index field from 16-bits to 8-bits. Thus the 16-bit
|
* and reduction of the index field from 16-bits to 8-bits. Thus the 16-bit
|
||||||
* format only supports up to 255 object instances per API/Class combination
|
* format only supports up to 255 object instances per API/Class combination
|
||||||
* and single processor systems. As this format is typically utilized by 16-bit
|
* and single processor systems. As this format is typically utilized by 16-bit
|
||||||
|
|||||||
@@ -42,12 +42,12 @@ extern "C" {
|
|||||||
* dlclose family of functions.
|
* dlclose family of functions.
|
||||||
*
|
*
|
||||||
* The runtime link editor is different to that found on Unix type systems. The
|
* The runtime link editor is different to that found on Unix type systems. The
|
||||||
* object modules are compiled for PIC or position indepentent code and
|
* object modules are compiled for PIC or position independent code and
|
||||||
* therefore require relocating when loaded.
|
* therefore require relocating when loaded.
|
||||||
*
|
*
|
||||||
* The object file format is currently ELF and object files can be separate
|
* The object file format is currently ELF and object files can be separate
|
||||||
* files or in an archive. Object files in an archive are referenced by
|
* files or in an archive. Object files in an archive are referenced by
|
||||||
* specifing 'archive:object' format. For example 'libfoo.a:bar.o'.
|
* specifying 'archive:object' format. For example 'libfoo.a:bar.o'.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* @file
|
* @file
|
||||||
*
|
*
|
||||||
* @brief RTESM Default File System Rename Files
|
* @brief RTEMS Default File System Rename Files
|
||||||
* @ingroup LibIOFSOps File System Operations
|
* @ingroup LibIOFSOps File System Operations
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
@@ -574,7 +574,7 @@ static int msdos_format_determine_fmt_params
|
|||||||
fmt_params->sectors_per_cluster = 1;
|
fmt_params->sectors_per_cluster = 1;
|
||||||
/*
|
/*
|
||||||
* limiting values for disk size, fat type, sectors per cluster
|
* limiting values for disk size, fat type, sectors per cluster
|
||||||
* NOTE: maximum sect_per_clust is arbitrarily choosen with values that
|
* NOTE: maximum sect_per_clust is arbitrarily chosen with values that
|
||||||
* are a compromise concerning capacity and efficency
|
* are a compromise concerning capacity and efficency
|
||||||
*/
|
*/
|
||||||
uint32_t fat12_sect_per_clust = 8;
|
uint32_t fat12_sect_per_clust = 8;
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ rtems_libi2c_drv_t data structure passed the libi2c when the device is
|
|||||||
registered (see "Device registration" above). These function directly match
|
registered (see "Device registration" above). These function directly match
|
||||||
the RTEMS I/O Mangers calls "open", "close", "read", "write",
|
the RTEMS I/O Mangers calls "open", "close", "read", "write",
|
||||||
"control", and they are passed the same arguments. Functions not
|
"control", and they are passed the same arguments. Functions not
|
||||||
needed may be ommited (and replaced by a NULL pointer in
|
needed may be omited (and replaced by a NULL pointer in
|
||||||
rtems_libi2c_drv_t).
|
rtems_libi2c_drv_t).
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|||||||
@@ -437,7 +437,7 @@ extern Context_Control_fp _CPU_Null_fp_context;
|
|||||||
* by hardware or the interrupt processing code. These variables contain
|
* by hardware or the interrupt processing code. These variables contain
|
||||||
* pointers to the lowest and highest addresses in the chunk of memory
|
* pointers to the lowest and highest addresses in the chunk of memory
|
||||||
* allocated for the interrupt stack. Since it is unknown whether the stack
|
* allocated for the interrupt stack. Since it is unknown whether the stack
|
||||||
* grows up or down (in general), this give the CPU dependent code the option
|
* grows up or down (in general), this gives the CPU dependent code the option
|
||||||
* of picking the version it wants to use.
|
* of picking the version it wants to use.
|
||||||
*
|
*
|
||||||
* Port Specific Information:
|
* Port Specific Information:
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ const char rtems_test_name[] = "SMPMUTEX 1";
|
|||||||
|
|
||||||
#define PRIO_NONE 0
|
#define PRIO_NONE 0
|
||||||
|
|
||||||
/* Value choosen for Qemu, 2 would be sufficient for real targets */
|
/* Value chosen for Qemu, 2 would be sufficient for real targets */
|
||||||
#define TIMEOUT_IN_TICKS 10
|
#define TIMEOUT_IN_TICKS 10
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|||||||
Reference in New Issue
Block a user