Fix some typos found by codespell

See: https://github.com/raspberrypi/userland/pull/299
This commit is contained in:
popcornmix
2016-04-06 19:35:49 +01:00
parent 33a096b436
commit 481fcfbcf8
25 changed files with 45 additions and 45 deletions

View File

@@ -2014,7 +2014,7 @@ static VC_CONTAINER_STATUS_T asf_reader_seek( VC_CONTAINER_T *p_ctx, int64_t *p_
LOG_DEBUG(p_ctx, "asf_reader_seek"); LOG_DEBUG(p_ctx, "asf_reader_seek");
/* Prefer the top-level index to the simple index - it has byte offsets not packet offsets, /* Prefer the top-level index to the simple index - it has byte offsets not packet offsets,
* and is likely to have seperate tables for every track */ * and is likely to have separate tables for every track */
if (module->top_level_index.block_count) if (module->top_level_index.block_count)
{ {
status = seek_by_top_level_index(p_ctx, p_time, mode, flags); status = seek_by_top_level_index(p_ctx, p_time, mode, flags);

View File

@@ -390,7 +390,7 @@ typedef struct VC_CONTAINER_T
unsigned int tracks_num; /**< Number of tracks available */ unsigned int tracks_num; /**< Number of tracks available */
/** Pointer to an array of pointers to track elements. /** Pointer to an array of pointers to track elements.
* The reasoning for using a pointer to pointers here is to allow us to extend * The reasoning for using a pointer to pointers here is to allow us to extend
* VC_CONTAINER_TRACK_T without loosing binary backward compatibility. */ * VC_CONTAINER_TRACK_T without losing binary backward compatibility. */
VC_CONTAINER_TRACK_T **tracks; VC_CONTAINER_TRACK_T **tracks;
unsigned int meta_num; /**< Number of metadata elements associated with the container */ unsigned int meta_num; /**< Number of metadata elements associated with the container */

View File

@@ -160,7 +160,7 @@ bool vc_uri_find_query( VC_URI_PARTS_T *p_uri, uint32_t *p_index, const char *na
* *
* \param p_uri The parsed URI. * \param p_uri The parsed URI.
* \param scheme Pointer to the new scheme string, or NULL. * \param scheme Pointer to the new scheme string, or NULL.
* \return True if succesful, false on memory allocation failure. */ * \return True if successful, false on memory allocation failure. */
bool vc_uri_set_scheme( VC_URI_PARTS_T *p_uri, const char *scheme ); bool vc_uri_set_scheme( VC_URI_PARTS_T *p_uri, const char *scheme );
/** Sets the userinfo of the URI. /** Sets the userinfo of the URI.
@@ -170,7 +170,7 @@ bool vc_uri_set_scheme( VC_URI_PARTS_T *p_uri, const char *scheme );
* *
* \param p_uri The parsed URI. * \param p_uri The parsed URI.
* \param userinfo Pointer to the new userinfo string, or NULL. * \param userinfo Pointer to the new userinfo string, or NULL.
* \return True if succesful, false on memory allocation failure. */ * \return True if successful, false on memory allocation failure. */
bool vc_uri_set_userinfo( VC_URI_PARTS_T *p_uri, const char *userinfo ); bool vc_uri_set_userinfo( VC_URI_PARTS_T *p_uri, const char *userinfo );
/** Sets the host of the URI. /** Sets the host of the URI.
@@ -180,7 +180,7 @@ bool vc_uri_set_userinfo( VC_URI_PARTS_T *p_uri, const char *userinfo );
* *
* \param p_uri The parsed URI. * \param p_uri The parsed URI.
* \param host Pointer to the new host string, or NULL. * \param host Pointer to the new host string, or NULL.
* \return True if succesful, false on memory allocation failure. */ * \return True if successful, false on memory allocation failure. */
bool vc_uri_set_host( VC_URI_PARTS_T *p_uri, const char *host ); bool vc_uri_set_host( VC_URI_PARTS_T *p_uri, const char *host );
/** Sets the port of the URI. /** Sets the port of the URI.
@@ -190,7 +190,7 @@ bool vc_uri_set_host( VC_URI_PARTS_T *p_uri, const char *host );
* *
* \param p_uri The parsed URI. * \param p_uri The parsed URI.
* \param port Pointer to the new port string, or NULL. * \param port Pointer to the new port string, or NULL.
* \return True if succesful, false on memory allocation failure. */ * \return True if successful, false on memory allocation failure. */
bool vc_uri_set_port( VC_URI_PARTS_T *p_uri, const char *port ); bool vc_uri_set_port( VC_URI_PARTS_T *p_uri, const char *port );
/** Sets the path of the URI. /** Sets the path of the URI.
@@ -200,7 +200,7 @@ bool vc_uri_set_port( VC_URI_PARTS_T *p_uri, const char *port );
* *
* \param p_uri The parsed URI. * \param p_uri The parsed URI.
* \param path Pointer to the new path string, or NULL. * \param path Pointer to the new path string, or NULL.
* \return True if succesful, false on memory allocation failure. */ * \return True if successful, false on memory allocation failure. */
bool vc_uri_set_path( VC_URI_PARTS_T *p_uri, const char *path ); bool vc_uri_set_path( VC_URI_PARTS_T *p_uri, const char *path );
/** Sets the fragment of the URI. /** Sets the fragment of the URI.
@@ -210,7 +210,7 @@ bool vc_uri_set_path( VC_URI_PARTS_T *p_uri, const char *path );
* *
* \param p_uri The parsed URI. * \param p_uri The parsed URI.
* \param fragment Pointer to the new fragment string, or NULL. * \param fragment Pointer to the new fragment string, or NULL.
* \return True if succesful, false on memory allocation failure. */ * \return True if successful, false on memory allocation failure. */
bool vc_uri_set_fragment( VC_URI_PARTS_T *p_uri, const char *fragment ); bool vc_uri_set_fragment( VC_URI_PARTS_T *p_uri, const char *fragment );
/** Adds an query to the array. /** Adds an query to the array.

View File

@@ -116,7 +116,7 @@ VC_CONTAINER_STATUS_T vc_packetizer_push( VC_PACKETIZER_T *context,
/** Pop a packet of data from the packetizer. /** Pop a packet of data from the packetizer.
* This allows the client to retrieve consumed data from the packetizer. Packets returned by * This allows the client to retrieve consumed data from the packetizer. Packets returned by
* the packetizer in this manner can then be released / recycled by the client. * the packetizer in this manner can then be released / recycled by the client.
* It is possible for the client to retreive non-consumed data by passing the * It is possible for the client to retrieve non-consumed data by passing the
* VC_PACKETIZER_FLAG_FORCE_RELEASE_INPUT flag. This will however trigger some internal buffering * VC_PACKETIZER_FLAG_FORCE_RELEASE_INPUT flag. This will however trigger some internal buffering
* inside the packetizer and thus is less efficient. * inside the packetizer and thus is less efficient.
* *
@@ -124,7 +124,7 @@ VC_CONTAINER_STATUS_T vc_packetizer_push( VC_PACKETIZER_T *context,
* \param packet Pointer used to return a consumed packet * \param packet Pointer used to return a consumed packet
* \param flags Miscellaneous flags controlling the operation * \param flags Miscellaneous flags controlling the operation
* *
* \return VC_CONTAINER_SUCCESS if a consumed packet was retreived, * \return VC_CONTAINER_SUCCESS if a consumed packet was retrieved,
* VC_CONTAINER_ERROR_INCOMPLETE_DATA if none is available. * VC_CONTAINER_ERROR_INCOMPLETE_DATA if none is available.
*/ */
VC_CONTAINER_STATUS_T vc_packetizer_pop( VC_PACKETIZER_T *context, VC_CONTAINER_STATUS_T vc_packetizer_pop( VC_PACKETIZER_T *context,

View File

@@ -1018,7 +1018,7 @@ private:
// not its own PTS. This should mean next time we seek to that PTS we'll get this packet. // not its own PTS. This should mean next time we seek to that PTS we'll get this packet.
index_positions[stream].insert(std::make_pair(target_pts, expected_packet->second)); index_positions[stream].insert(std::make_pair(target_pts, expected_packet->second));
// Check whether the time on the packet is reasonable - it ought to be close to the time acheived. // Check whether the time on the packet is reasonable - it ought to be close to the time achieved.
check_seek_tolerance(packet, actual_pts); check_seek_tolerance(packet, actual_pts);
// Now we've found a packet from this stream we're done with it, so note we don't care about it any more. // Now we've found a packet from this stream we're done with it, so note we don't care about it any more.
@@ -1848,7 +1848,7 @@ private:
// Check whether a packet is close enough to the PTS supplied. Used after a seek. // Check whether a packet is close enough to the PTS supplied. Used after a seek.
void check_seek_tolerance(const PACKET_DATA_T& packet, PTS_T actual_pts) void check_seek_tolerance(const PACKET_DATA_T& packet, PTS_T actual_pts)
{ {
// Check whether the time on the packet is reasonable - it ought to be close to the time acheived. // Check whether the time on the packet is reasonable - it ought to be close to the time achieved.
if (packet.info.track == video_stream) if (packet.info.track == video_stream)
{ {
if ((packet.info.pts + configuration.tolerance_video_early) < actual_pts) if ((packet.info.pts + configuration.tolerance_video_early) < actual_pts)

View File

@@ -845,7 +845,7 @@ void *vc_image_pixel_addr_gl(VC_IMAGE_BUF_T *image, int x, int y, int miplevel);
int smooth_flag); int smooth_flag);
/* RGB565 resize. Pitch must be 32-byte aligned, dimensions need not be. /* RGB565 resize. Pitch must be 32-byte aligned, dimensions need not be.
XXX kept YUV and RGB565 version seperate to avoid unnecessary linking. XXX kept YUV and RGB565 version separate to avoid unnecessary linking.
However if we're going down the DLL route they ought to be combined. */ However if we're going down the DLL route they ought to be combined. */
void vc_image_resize_rgb565(VC_IMAGE_BUF_T * dest, void vc_image_resize_rgb565(VC_IMAGE_BUF_T * dest,

View File

@@ -508,7 +508,7 @@ VCHPRE_ void VCHPOST_ ilclient_state_transition(COMPONENT_T *list[],
* given component. This function sends the disable port message to * given component. This function sends the disable port message to
* the component and waits for the component to signal that this has * the component and waits for the component to signal that this has
* taken place. If the port is already disabled, this is treated as a * taken place. If the port is already disabled, this is treated as a
* sucess. * success.
* *
* @param comp The component containing the port to disable. * @param comp The component containing the port to disable.
* *
@@ -526,7 +526,7 @@ VCHPRE_ void VCHPOST_ ilclient_disable_port(COMPONENT_T *comp,
* given component. This function sends the enable port message to * given component. This function sends the enable port message to
* the component and waits for the component to signal that this has * the component and waits for the component to signal that this has
* taken place. If the port is already disabled, this is treated as a * taken place. If the port is already disabled, this is treated as a
* sucess. * success.
* *
* @param comp The component containing the port to enable. * @param comp The component containing the port to enable.
* *

View File

@@ -1735,7 +1735,7 @@ UML_LOOK = NO
# the class node. If there are many fields or methods and many nodes the # the class node. If there are many fields or methods and many nodes the
# graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS # graph may become too big to be useful. The UML_LIMIT_NUM_FIELDS
# threshold limits the number of items for each type to make the size more # threshold limits the number of items for each type to make the size more
# managable. Set this to 0 for no limit. Note that the threshold may be # manageable. Set this to 0 for no limit. Note that the threshold may be
# exceeded by 50% before the limit is enforced. # exceeded by 50% before the limit is enforced.
UML_LIMIT_NUM_FIELDS = 10 UML_LIMIT_NUM_FIELDS = 10

View File

@@ -838,7 +838,7 @@ void raspicamcontrol_dump_parameters(const RASPICAM_CAMERA_PARAMETERS *params)
* ALso displays a fault if code is not success * ALso displays a fault if code is not success
* *
* @param status The error code to convert * @param status The error code to convert
* @return 0 if status is sucess, 1 otherwise * @return 0 if status is success, 1 otherwise
*/ */
int mmal_status_to_int(MMAL_STATUS_T status) int mmal_status_to_int(MMAL_STATUS_T status)
{ {

View File

@@ -392,7 +392,7 @@ static void dump_status(RASPISTILL_STATE *state)
static int parse_cmdline(int argc, const char **argv, RASPISTILL_STATE *state) static int parse_cmdline(int argc, const char **argv, RASPISTILL_STATE *state)
{ {
// Parse the command line arguments. // Parse the command line arguments.
// We are looking for --<something> or -<abreviation of something> // We are looking for --<something> or -<abbreviation of something>
int valid = 1; int valid = 1;
int i; int i;
@@ -879,7 +879,7 @@ static void encoder_buffer_callback(MMAL_PORT_T *port, MMAL_BUFFER_HEADER_T *buf
/** /**
* Create the camera component, set up its ports * Create the camera component, set up its ports
* *
* @param state Pointer to state control struct. camera_component member set to the created camera_component if successfull. * @param state Pointer to state control struct. camera_component member set to the created camera_component if successful.
* *
* @return MMAL_SUCCESS if all OK, something else otherwise * @return MMAL_SUCCESS if all OK, something else otherwise
* *
@@ -1041,7 +1041,7 @@ static MMAL_STATUS_T create_camera_component(RASPISTILL_STATE *state)
goto error; goto error;
} }
// Set the same format on the video port (which we dont use here) // Set the same format on the video port (which we don't use here)
mmal_format_full_copy(video_port->format, format); mmal_format_full_copy(video_port->format, format);
status = mmal_port_format_commit(video_port); status = mmal_port_format_commit(video_port);
@@ -1145,7 +1145,7 @@ static void destroy_camera_component(RASPISTILL_STATE *state)
/** /**
* Create the encoder component, set up its ports * Create the encoder component, set up its ports
* *
* @param state Pointer to state control struct. encoder_component member set to the created camera_component if successfull. * @param state Pointer to state control struct. encoder_component member set to the created camera_component if successful.
* *
* @return a MMAL_STATUS, MMAL_SUCCESS if all OK, something else otherwise * @return a MMAL_STATUS, MMAL_SUCCESS if all OK, something else otherwise
*/ */

View File

@@ -286,7 +286,7 @@ static void dump_status(RASPISTILLYUV_STATE *state)
static int parse_cmdline(int argc, const char **argv, RASPISTILLYUV_STATE *state) static int parse_cmdline(int argc, const char **argv, RASPISTILLYUV_STATE *state)
{ {
// Parse the command line arguments. // Parse the command line arguments.
// We are looking for --<something> or -<abreviation of something> // We are looking for --<something> or -<abbreviation of something>
int valid = 1; // set 0 if we have a bad parameter int valid = 1; // set 0 if we have a bad parameter
int i; int i;
@@ -760,7 +760,7 @@ static MMAL_STATUS_T create_camera_component(RASPISTILLYUV_STATE *state)
goto error; goto error;
} }
// Set the same format on the video port (which we dont use here) // Set the same format on the video port (which we don't use here)
mmal_format_full_copy(video_port->format, format); mmal_format_full_copy(video_port->format, format);
status = mmal_port_format_commit(video_port); status = mmal_port_format_commit(video_port);

View File

@@ -320,7 +320,7 @@ static void dump_status(RASPIVIDYUV_STATE *state)
static int parse_cmdline(int argc, const char **argv, RASPIVIDYUV_STATE *state) static int parse_cmdline(int argc, const char **argv, RASPIVIDYUV_STATE *state)
{ {
// Parse the command line arguments. // Parse the command line arguments.
// We are looking for --<something> or -<abreviation of something> // We are looking for --<something> or -<abbreviation of something>
int valid = 1; int valid = 1;
int i; int i;
@@ -392,7 +392,7 @@ static int parse_cmdline(int argc, const char **argv, RASPIVIDYUV_STATE *state)
{ {
if (sscanf(argv[i + 1], "%u", &state->timeout) == 1) if (sscanf(argv[i + 1], "%u", &state->timeout) == 1)
{ {
// Ensure that if previously selected a waitMethod we dont overwrite it // Ensure that if previously selected a waitMethod we don't overwrite it
if (state->timeout == 0 && state->waitMethod == WAIT_METHOD_NONE) if (state->timeout == 0 && state->waitMethod == WAIT_METHOD_NONE)
state->waitMethod = WAIT_METHOD_FOREVER; state->waitMethod = WAIT_METHOD_FOREVER;

View File

@@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
/* VideoCore Shared Memory - user interface library. /* VideoCore Shared Memory - user interface library.
** **
** This library provides all the necessary abstraction for any application to ** This library provides all the necessary abstraction for any application to
** make use of the shared memory service which is distributed accross a kernel ** make use of the shared memory service which is distributed across a kernel
** driver and a videocore service. ** driver and a videocore service.
** **
** It is an application design decision to choose or not to use this service. ** It is an application design decision to choose or not to use this service.

View File

@@ -172,7 +172,7 @@ uint32_t khrn_hashlittle( const void *key, int length, uint32_t initval)
* rest of the string. Every machine with memory protection I've seen * rest of the string. Every machine with memory protection I've seen
* does it on word boundaries, so is OK with this. But VALGRIND will * does it on word boundaries, so is OK with this. But VALGRIND will
* still catch it and complain. The masking trick does make the hash * still catch it and complain. The masking trick does make the hash
* noticably faster for short strings (like English words). * noticeably faster for short strings (like English words).
*/ */
#ifndef VALGRIND #ifndef VALGRIND

View File

@@ -506,7 +506,7 @@ static void dump_ancestors(Window w)
Window grandparent,parent = w, child = 0; Window grandparent,parent = w, child = 0;
unsigned int rlayer = ~0; unsigned int rlayer = ~0;
bool bidirectional; bool bidirectional;
vcos_log_trace("walking back up heirarchy"); vcos_log_trace("walking back up hierarchy");
while(parent) while(parent)
{ {
bidirectional = false; bidirectional = false;
@@ -584,7 +584,7 @@ uint32_t khrn_platform_get_window_position(EGLNativeWindowType win)
{ {
vcos_log_error("EGL window isn't child of root", i); vcos_log_error("EGL window isn't child of root", i);
//to try and find out where this window has gone, let us walk back up the heirarchy //to try and find out where this window has gone, let us walk back up the hierarchy
dump_ancestors(w); dump_ancestors(w);
return ~0; return ~0;
} }

View File

@@ -293,7 +293,7 @@ bool egl_config_check_attribs(const EGLint *attrib_list, bool *use_red, bool *us
this is the sum of EGL RED SIZE, EGL GREEN SIZE, EGL BLUE SIZE, this is the sum of EGL RED SIZE, EGL GREEN SIZE, EGL BLUE SIZE,
and EGL ALPHA SIZE; for a luminance color buffer, the sum of and EGL ALPHA SIZE; for a luminance color buffer, the sum of
EGL LUMINANCE SIZE and EGL ALPHA SIZE) [3]. If the requested number EGL LUMINANCE SIZE and EGL ALPHA SIZE) [3]. If the requested number
of bits in attrib list for a particular color component is 0 or EGL DONT CARE, of bits in attrib list for a particular color component is 0 or EGL_DONT_CARE,
then the number of bits for that component is not considered. then the number of bits for that component is not considered.
4. Smaller EGL BUFFER SIZE. 4. Smaller EGL BUFFER SIZE.
5. Smaller EGL SAMPLE BUFFERS. 5. Smaller EGL SAMPLE BUFFERS.

View File

@@ -282,8 +282,8 @@ unrecognized or out of range.
All attribute names in attrib list are immediately followed by the corresponding All attribute names in attrib list are immediately followed by the corresponding
desired value. The list is terminated with EGL NONE. If an attribute is not specified desired value. The list is terminated with EGL NONE. If an attribute is not specified
in attrib list, then the default value (listed in Table 3.4) is used (it is said to be in attrib list, then the default value (listed in Table 3.4) is used (it is said to be
specified implicitly). If EGL DONT CARE is specified as an attribute value, then the specified implicitly). If EGL_DONT_CARE is specified as an attribute value, then the
attribute will not be checked. EGL DONT CARE may be specified for all attributes attribute will not be checked. EGL_DONT_CARE may be specified for all attributes
except EGL LEVEL. If attrib list is NULL or empty (first attribute is EGL NONE), except EGL LEVEL. If attrib list is NULL or empty (first attribute is EGL NONE),
then selection and sorting of EGLConfigs is done according to the default criteria then selection and sorting of EGLConfigs is done according to the default criteria
in Tables 3.4 and 3.1, as described below under Selection and Sorting. in Tables 3.4 and 3.1, as described below under Selection and Sorting.

View File

@@ -166,7 +166,7 @@ const char *mmalomx_error_to_string(OMX_ERRORTYPE error)
"OMX_ErrorFormatNotDetected", "OMX_ErrorContentPipeOpenFailed", "OMX_ErrorFormatNotDetected", "OMX_ErrorContentPipeOpenFailed",
"OMX_ErrorContentPipeCreationFailed", "OMX_ErrorSeperateTablesUsed", "OMX_ErrorContentPipeCreationFailed", "OMX_ErrorSeperateTablesUsed",
"OMX_ErrorTunnelingUnsupported", "OMX_ErrorTunnelingUnsupported",
"OMX_Error unkown" "OMX_Error unknown"
}; };
if(error == OMX_ErrorNone) return "OMX_ErrorNone"; if(error == OMX_ErrorNone) return "OMX_ErrorNone";

View File

@@ -116,7 +116,7 @@ MMAL_STATUS_T mmalomx_param_mapping_generic(MMALOMX_PARAM_MAPPING_DIRECTION dir,
if (((uint8_t *)omx_param) + omx_header->nSize != if (((uint8_t *)omx_param) + omx_header->nSize !=
omx_data + size) omx_data + size)
{ {
VCOS_ALERT("mmalomx_param_mapping_generic: mismatch between mmal and omx paramters for (%u)", VCOS_ALERT("mmalomx_param_mapping_generic: mismatch between mmal and omx parameters for (%u)",
(unsigned int)mmal_param->id); (unsigned int)mmal_param->id);
return MMAL_EINVAL; return MMAL_EINVAL;
} }

View File

@@ -118,7 +118,7 @@ static void vcos_generic_blockpool_subpool_init(
subpool->owner = pool; subpool->owner = pool;
/* Initialise to a predictable bit pattern unless the pool is so big /* Initialise to a predictable bit pattern unless the pool is so big
* that the delay would be noticable. */ * that the delay would be noticeable. */
if (pool_size < VCOS_BLOCKPOOL_DEBUG_MEMSET_MAX_SIZE) if (pool_size < VCOS_BLOCKPOOL_DEBUG_MEMSET_MAX_SIZE)
memset(subpool->mem, 0xBC, pool_size); /* For debugging */ memset(subpool->mem, 0xBC, pool_size); /* For debugging */

View File

@@ -466,7 +466,7 @@ static int32_t cecservice_wait_for_bulk_receive(void *buffer, uint32_t max_lengt
* *
* Arguments: command, parameter buffer, parameter legnth, has reply? (non-zero means yes) * Arguments: command, parameter buffer, parameter legnth, has reply? (non-zero means yes)
* *
* Description: send a command and optionally wait for its single value reponse (TV_GENERAL_RESP_T) * Description: send a command and optionally wait for its single value response (TV_GENERAL_RESP_T)
* *
* Returns: < 0 if there is VCHI error, if tranmission is successful, value * Returns: < 0 if there is VCHI error, if tranmission is successful, value
* returned is the response from CEC server (which will be VC_CEC_ERROR_T (>= 0)) * returned is the response from CEC server (which will be VC_CEC_ERROR_T (>= 0))
@@ -512,7 +512,7 @@ static int32_t cecservice_send_command( uint32_t command, const void *buffer, u
* *
* Arguments: command, parameter buffer, parameter legnth, reply buffer, buffer length * Arguments: command, parameter buffer, parameter legnth, reply buffer, buffer length
* *
* Description: send a command and wait for its non-single value reponse (in a buffer) * Description: send a command and wait for its non-single value response (in a buffer)
* *
* Returns: error code, host app is responsible to do endian translation * Returns: error code, host app is responsible to do endian translation
* *

View File

@@ -1181,7 +1181,7 @@ static int32_t dispmanx_wait_for_reply(void *response, uint32_t max_length) {
* *
* Arguments: command, parameter buffer, parameter legnth * Arguments: command, parameter buffer, parameter legnth
* *
* Description: send a command and wait for its reponse (int) * Description: send a command and wait for its response (int)
* *
* Returns: response * Returns: response
* *
@@ -1217,7 +1217,7 @@ int32_t vc_dispmanx_send_command (uint32_t command, void *buffer,
* *
* Arguments: command, parameter buffer, parameter legnth, reply buffer, buffer length * Arguments: command, parameter buffer, parameter legnth, reply buffer, buffer length
* *
* Description: send a command and wait for its reponse (in a buffer) * Description: send a command and wait for its response (in a buffer)
* *
* Returns: error code * Returns: error code
* *

View File

@@ -1258,7 +1258,7 @@ FUNCTION
Send a vc_FILESYS_RESET command. This will return immediately. Send a vc_FILESYS_RESET command. This will return immediately.
RETURNS RETURNS
Succesful completion: FILESERV_RESP_OK Successful completion: FILESERV_RESP_OK
Otherwise: - Otherwise: -
******************************************************************************/ ******************************************************************************/
@@ -1743,7 +1743,7 @@ SYNOPSIS
int vc_filesys_errno(void) int vc_filesys_errno(void)
FUNCTION FUNCTION
Returns the error code of the last file system error that occured. Returns the error code of the last file system error that occurred.
RETURNS RETURNS
Error code Error code

View File

@@ -835,7 +835,7 @@ extern void mem_unretain(
MEM_HANDLE_T handle); MEM_HANDLE_T handle);
/* /*
A version of mem_lock which adds an indication that an aggresive compaction A version of mem_lock which adds an indication that an aggressive compaction
should not wait for the block to be unlocked. should not wait for the block to be unlocked.
*/ */
@@ -843,7 +843,7 @@ extern void *mem_lock_perma(
MEM_HANDLE_T handle); MEM_HANDLE_T handle);
/* /*
A version of mem_unlock which removes an indication that an aggresive A version of mem_unlock which removes an indication that an aggressive
compaction should not wait for the block to be unlocked. compaction should not wait for the block to be unlocked.
*/ */
@@ -1051,7 +1051,7 @@ extern int mem_register_callback(mem_callback_func_t func, uintptr_t context);
/* Defines the threshold in bytes at which the /* Defines the threshold in bytes at which the
* MEM_CALLBACK_REASON_LOW_MEMORY will be invoked. * MEM_CALLBACK_REASON_LOW_MEMORY will be invoked.
*/ */
extern void mem_set_low_mem_threshold(uint32_t theshold); extern void mem_set_low_mem_threshold(uint32_t threshold);
extern void mem_unregister_callback(mem_callback_func_t func, uintptr_t context); extern void mem_unregister_callback(mem_callback_func_t func, uintptr_t context);

View File

@@ -214,7 +214,7 @@ typedef struct opaque_rtos_latch_t* RTOS_LATCH_T;
// rtos_latch_unlocked() is a better test of lockedness. // rtos_latch_unlocked() is a better test of lockedness.
// Don't call these functions, use the rtos_latch_get etc macros. // Don't call these functions, use the rtos_latch_get etc macros.
//Routine to get the latch. Will suspend / busy wait dependant on the rtos implementation //Routine to get the latch. Will suspend / busy wait dependent on the rtos implementation
extern void rtos_latch_get_real( RTOS_LATCH_T *latch ); extern void rtos_latch_get_real( RTOS_LATCH_T *latch );
//Routine to put the latch. //Routine to put the latch.
extern void rtos_latch_put_real( RTOS_LATCH_T *latch ); extern void rtos_latch_put_real( RTOS_LATCH_T *latch );