Hardware abstraction layer endpoint
This endpoint is intended for receiving the values of HAL parameters, working with privileged registers, clearing the processor cache, providing diagnostic output, and receiving hardware-generated random numbers.
Information about methods of the endpoint is provided in the table below.
Methods of the hal.HAL endpoint (kl.core.HAL interface)
Method | Method purpose and parameters | Potential danger of the method |
---|---|---|
| Purpose Gets the value of a HAL parameter. Parameters
| Gets values of HAL parameters that could contain critical system information. |
| Purpose Gets the value of a privileged register. Parameters
| Sets up a data transfer channel with a process that has access to the It is recommended to monitor the name of a register. |
| Purpose Sets the value of a privileged register. Parameters
| Allows the following:
It is recommended to monitor the name of a register. |
| Purpose Gets the value of a privileged register. Parameters
| Sets up a data transfer channel with a process that has access to the It is recommended to monitor the name of the registers range and the register offset in this range. |
| Purpose Sets the value of a privileged register. Parameters
| Allows the following:
It is recommended to monitor the name of the registers range and the register offset in this range. |
| Purpose Clears the processor cache. Parameters
| Allows the processor cache to be cleared. |
| Purpose Puts data into the diagnostic output that is written, for example, to a COM port or USB port (version 3.0 or later, with DbC support). Parameters
| Populates diagnostic output with fictitious (uninformative) data. |
| Purpose Gets hardware-generated random numbers. Parameters
| Creates a load on the hardware-based random number generator with frequent method calls so that other processes are unable to receive random numbers using this generator. |