Controls component RAS characteristics.
The ras_control kernel service passes a command to the callback for the component referenced by the ras_blk parameter. If the ras_blk parameter is not known, use the ras_path_control call.
If the ras_blk input parameter has a value of RAS_BLOCK_NULL, the ras_control kernel service returns without errors and takes no action.
| Item | Description |
|---|---|
| ras_blk | The target control block pointer. |
| command | Command passed to the callback. Commands are specific to a given RAS domain, such as Component Trace. |
| arg | Optional argument for the command. |
| argsize | Size of the argument, if a buffer or structure. |
The calling environment of the ras_control kernel service varies by individual command. The calling environment of a particular command is documented with the command itself.
The ras_control kernel service returns 0 for success and a non-zero error code for failure.