EasyManua.ls Logo

COBHAM GRMON3 - Page 230

COBHAM GRMON3
239 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
GRMON3-UM
June 2019, Version 3.1.0
230 www.cobham.com/gaisler
load
This hook is called before each block of data is written to the target. See tables below for argument de-
scription and return code definitions for the hook procedure.
Argument Type Description
addr integer Destination addr
bytes integer Number of bytes
Return
Code Value Description
0 - The hook was successful, but let GRMON continue as usual. This can be used
to do extra configuration or fix-ups. Any return value will be ignored.
-1 Integer value The hook overrides GRMON and the access was successful. Any return value
will be ignored.
1 Error text The hook overrides GRMON and the access failed. Any return value will be
ignored.
pcicfg
This hook is called when a PCI configuration read access is issued. It can be used to override GRMON's
PCI configuration space access routines. See tables below for argument descriptions and return codes/value
definitions for the hook procedure.
Argument Type Description
bus integer Bus index
slot integer Slot index
func integer Function index
ofs integer Offset into the device's configuration space
size integer Size in bits of the access (8, 16 or 32)
Return
Code Value Description
0 - The hook was successful, but let GRMON continue as usual. This can be used
to do extra configuration or fix-ups. Any return value will be ignored.
-1 Integer value The hook overrides GRMON and the access was successful. Return the value
read.
1 Error text The hook overrides GRMON and the access failed. Return an error descrip-
tion.
pciwcfg
This hook is called when a PCI configuration write access is issued. It can be used to override GRMON's
PCI configuration space access routines. See tables below for argument descriptions and return codes/value
definitions the hook procedure.
Argument Type Description
bus integer Bus index
slot integer Slot index
func integer Function index
ofs integer Offset into the device's configuration space
size integer Size in bits of the access (8, 16 or 32)
value integer The value to be written

Table of Contents