GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> RIM / V3-1-2 > trim / rhel5-32
#include <test_rim_p.h>
#include <RIM_p.h>
#include <RIM_number.ic>
#include <RIM_descriptions.ic>
#include <RIM_AG_init_p.h>
#include <RIM/RIM_msgs.h>
#include <PBI/Endianness.h>
#include <PBI/PTR.h>
#include <stdlib.h>
Classes | |
union | pu |
Union of a char array and an unsigned array, used as payloads. More... | |
Functions | |
int | checkZero (RIM *this, unsigned igtype, RIM_addr *igaddr, int igregId) |
Iterate over all the leaves of the tree and checks that they are zero. | |
unsigned | t_rim (void *param) |
Test the functions defined in RIM/lrd.h. |
$Id: t_rim.c,v 1.5 2011/03/27 06:41:14 saxton Exp $
Iterate over all the leaves of the tree and checks that they are zero.
this | Configuration to check | |
igtype | Type of the leaf to ignore (that is known to be non-zero) | |
igaddr | Pointer to an address structure for the leaf to ignore | |
igregId | Register ID of the register to ignore. |
References _RIM_addr::cpt, and CptDescription::nregs.
Referenced by t_rim().
unsigned t_rim | ( | void * | param | ) |
Test the functions defined in RIM/lrd.h.
param | Opaque handle for the test control structure (if any) |
References checkZero(), _RIM_addr::cpt, newRIM(), newRIMmap(), CptDescription::nregs, CptDescription::rd, RegDescription::regId, sizeofCpt(), pu::uc, pu::ui, and CptDescription::width.