Reference Manual AFDX / ARINC 664 Application Interface Library
209
Section 4 – Function Reference: Receiver Functions
4
4
.
.
4
4
.
.
4
4
.
.
3
3
F
F
d
d
x
x
C
C
m
m
d
d
M
M
o
o
n
n
C
C
o
o
n
n
t
t
C
C
a
a
p
p
I
I
n
n
v
v
a
a
l
l
i
i
d
d
a
a
t
t
e
e
M
M
e
e
m
m
o
o
r
r
y
y
Prototype:
AiReturn FdxCmdMonContCapInvalidateMemory ( AiUInt32 ul_Handle,
const TY_FDX_MON_CONTCAP_PROVIDE_MEM
*px_MonContCapInvalidateMem);
Driver Command:
FDX_MON_CONTCAP_INVALIDATE_MEM
Purpose:
This function is used to cancel provided memory which is no longer needed. This is to prevent
accidentally write to memory which is already freed on host. So this function shall be called
before freeing memory which was not written by the target and is not longer used.
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
M
M
O
O
N
N
_
_
C
C
O
O
N
N
T
T
C
C
A
A
P
P
_
_
P
P
R
R
O
O
V
V
I
I
D
D
E
E
_
_
M
M
E
E
M
M
*
*
p
p
x
x
_
_
M
M
o
o
n
n
C
C
o
o
n
n
t
t
C
C
a
a
p
p
I
I
n
n
v
v
a
a
l
l
i
i
d
d
a
a
t
t
e
e
M
M
e
e
m
m
Pointer to a Continuous Capture Buffer Setup structure to invalidate a memory
block. Here the same structure is used as for function
FdxCmdMonContCapProvideMemory
but some of the parameters are not used
for invalidation.
typedef struct {
AiUInt32
ul_QueueId;
AiUInt32
ul_MemoryQalifier;
AiUInt32
ul_UserIdent;
AiAddr
pv_Memory;
AiUInt32
ul_BufferSize;
}
TY_FDX_MON_CONTCAP_PROVIDE_MEM;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
Q
Q
u
u
e
e
u
u
e
e
I
I
d
d
Queue Identifier which you got on creation of the queue to identify the Queue.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
e
e
m
m
o
o
r
r
y
y
Q
Q
a
a
l
l
i
i
f
f
i
i
e
e
r
r
Not needed for this call.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
s
s
e
e
r
r
I
I
d
d
e
e
n
n
t
t
A User Identifier which can be set by user for easy buffer identification.
A
A
i
i
A
A
d
d
d
d
r
r
p
p
v
v
_
_
M
M
e
e
m
m
o
o
r
r
y
y
Pointer to the start of the memory buffer in host environment
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
u
u
l
l
_
_
B
B
u
u
f
f
f
f
e
e
r
r
S
S
i
i
z
z
e
e
Not needed for this call.