GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MEM / V5-2-0

Constituent: mem_unit_test     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

mempriv.h File Reference

Private MEM package definitions. More...

#include "MEM/MEM_map.h"
#include "MSG/MSG_pubdefs.h"

Include dependency graph for mempriv.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Data Structures

struct  _mem_mapEntry
 Memory map entry. More...


Defines

#define TRUE   (1)
 Boolean true.

#define FALSE   (0)
 Boolean false.

#define MIN(a, b)   (((a) < (b) ) ? (a) : (b))
 Standard definition for data minimum.

#define MAX(a, b)   (((a) > (b) ) ? (a) : (b))
 Standard definition for data maximum.

#define MEM_MSG(_status,)   _msg_report ((_status), 0, __VA_ARGS__)
 MSG signaller.


Typedefs

typedef _mem_mapEntry mem_mapEntry
 Typedef for struct _mem_mapEntry.


Functions

unsigned int Mem_ValidateMemoryRange (const MEM_Descriptor *md, const MEM_mapAccessType accessType, const mem_mapEntry **mapEntry)
 Validate memory descriptor against memory map table.

void * Mem_WriteRegisterSet (void *data_p, void *mask_p)
 Write CPU registers.


Detailed Description

Private MEM package definitions.

Interface to functions that are private to the MEM package.

  CVS $Id: mempriv.h,v 1.7 2004/12/08 17:42:44 dmay Exp $
  

Define Documentation

#define MEM_MSG _status   )     _msg_report ((_status), 0, __VA_ARGS__)
 

MSG signaller.

(_status, ...)

Configuration-dependent message signaller. For boot configuration, returns _status. For application configuration, calls _msg_report().

Parameters:
_status The variable holding the status code.
... The message specific parameter values.


Function Documentation

void * Mem_WriteRegisterSet void *  data_p,
void *  mask_p
 

Write CPU registers.

Writes a subset of the CPU registers.

Parameters:
data_p Pointer to array of data values to write.
mask_p Pointer to array of mask values to apply to the data.
Returns:
Sum of data_p and the number of bytes written.


Generated on Fri May 6 00:49:01 2005 by doxygen 1.3.3