Retrieves the hardware keyset associated with a cross-memory descriptor.
Item | Description |
---|---|
dp | Specifies a valid cross-memory descriptor. |
hkeyset | Pointer to returned hardware keyset associated with the cross-memory descriptor. |
flags | Must be set to zero. |
The xmgethkeyset() kernel service can be used to obtain the keyset associated with a cross-memory descriptor.
Kernel-key protection can be enforced on memory regions described by a cross-memory descriptor. The enforcement is done during normal access checking performed by cross-memory services, such as xmemdma() service.
The xmgethkeyset kernel service can be called from the process or interrupt environment.
Item | Description |
---|---|
0 | Successful. |
EINVAL_XMGETHKEYSET | Invalid parameter. |