Hello.
I am invastingating DIMI issues.
There is a problem with marshalling of SaHpiDimiTestT type.
The declaration in SaHpi.h
<quote>
typedef struct {
SaHpiTextBufferT TestName;
SaHpiDimiTestServiceImpactT ServiceImpact; /* Service Impact on DIMI
itself */
SaHpiDimiTestAffectedEntityT
EntitiesImpacted[SAHPI_DIMITEST_MAX_ENTITIESIMPACTED];
/* Entities impacted by the Test. If entity contains
other entities then contained entities are
considered
impacted as well. If Entities impacted by Test are
more
than Max number, its recommended to associate test
with
higher level entity DIMI. */
SaHpiBoolT NeedServiceOS; /* True if a special Service
OS is needed for this test
*/
SaHpiTextBufferT ServiceOS; /* If a special Service OS
is needed to be run for the
test, the HPI user is required
to load the particular Service
OS before running the tests,
else DIMI returns an error
code.*/
SaHpiTimeT ExpectedRunDuration; /* Expected run duration
for a test with default
parameters */
SaHpiDimiTestCapabilityT TestCapabilities;
SaHpiDimiTestParamsDefinitionT
TestParameters[SAHPI_DIMITEST_MAX_PARAMETERS];
} SaHpiDimiTestT;
</quote>
There is no way to set:
o) Number of impacted entities
o) number of test parameters
Also there is aproblem with marshalling of SaHpiDimiTestParamsDefinitionT
that has several unions.
I see on my test system that marshalling procedure fails for this two
cases.
Failed function: saHpiDimiTestStart, saHpiDimiTestInfoGet.
Error message:
Marshal: Assertion
`IsSimpleType( st_type->m_u.m_var_array.m_type->m_type )' failed
I am not familiar in OpenHPI marshalling.
Is it OpenHPI problem or SAF B.02.01 drawback?
Anton Pak
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel