Method

HinawaFwRespreserve

since: 4.0

Declaration [src]

gboolean
hinawa_fw_resp_reserve (
  HinawaFwResp* self,
  HinawaFwNode* node,
  guint64 addr,
  guint width,
  GError** error
)

Description [src]

Allocate an address range within Linux system for local nodes, each of which expresses 1394 OHCI hardware. Once successful, HinawaFwResp::requested signal will be emitted whenever any request subactions arrive at the 1394 OHCI hardware within the dedicated range.

The range is precisely reserved at the address specified by addr with the size indicated by width. In essence, this function is a variant of hinawa_fw_resp_reserve_within_region() in which the specified address range is reserved as provided.

Available since: 4.0

Parameters

node

Type: HinawaFwNode

A HinawaFwNode.

The data is owned by the caller of the function.
addr

Type: guint64

A start address to listen to in 1394 OHCI hardware.

width

Type: guint

The byte width of address to listen to 1394 OHCI hardware.

error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: gboolean

TRUE if the overall operation finishes successfully, otherwise FALSE.