GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LATC / dev > latc_cmn / rhel4-32
#include <LATC/LATC_msgs.h>
#include <imm.h>
#include <data.h>
#include <descriptions.ic>
#include <AG_regEnums_s.h>
#include <PBS/MBA.h>
#include <PBI/Endianness.h>
#include <MSG/MSG_pubdefs.h>
#include <string.h>
Enumerations | |
enum | { TRC_CSR_ZERO_H = 0x00000003, TRC_CSR_ZERO_L = 0xa0000000 } |
Functions | |
size_t | roundUp (size_t size) |
Round up a buffer size to be 64 bit aligned. | |
char * | align (char *next) |
Align a pointer to the next 64-bit aligned block. | |
LATC_imm * | LATC_newIMM (void) |
Allocates and initialises a new in-memory-model structure. | |
void | LATC_deleteIMM (LATC_imm *imm) |
Frees the allocated memory associated with the LATC structure. | |
void | LATC_clearIMM (LATC_imm *imm) |
Clear out the map and data portions of the IMM structure. |
char * align | ( | char * | next | ) |
Align a pointer to the next 64-bit aligned block.
next | Ptr to the next data block |
Referenced by LATC_newIMM().
void LATC_clearIMM | ( | LATC_imm * | imm | ) |
Clear out the map and data portions of the IMM structure.
imm | Pointer to the IMM structure to clear |
References LATC_clearMap(), and LATC_setReg().
void LATC_deleteIMM | ( | LATC_imm * | imm | ) |
Frees the allocated memory associated with the LATC structure.
imm | Pointer to an IMM structure created using LATC_newIMM() |
References LATC_deleteMap().
LATC_imm * LATC_newIMM | ( | void | ) |
Allocates and initialises a new in-memory-model structure.
References align(), LATC_newMap(), LATC_setReg(), roundUp(), and sizeofCpt().
size_t roundUp | ( | size_t | size | ) |
Round up a buffer size to be 64 bit aligned.
size | Unrounded size |
Referenced by LATC_newIMM().