I/O endpoint
This endpoint is intended for working with I/O ports, MMIO, DMA, and interrupts.
Information about methods of the endpoint is provided in the table below.
Methods of the io.IO endpoint (kl.core.IO interface)
Method | Method purpose and parameters | Potential danger of the method |
---|---|---|
| Purpose Registers I/O ports. Parameters
| Allows the following:
|
| Purpose Registers an MMIO memory region. Parameters
| Allows the kernel memory to be used up by creating a multitude of objects within it. |
| Purpose Creates an DMA buffer. Parameters
| Allows the following:
|
| Purpose Registers an interrupt. Parameters
| Allows the kernel memory to be used up by creating a multitude of objects within it. |
| Purpose Maps an MMIO memory region to a virtual memory region. Parameters
| Allows the following:
|
| Purpose Opens access to I/O ports. Parameters
| Allows the following:
|
| Purpose Attaches an interrupt to the handle used by the interrupt handler. Parameters
| Allows the following:
|
| Purpose Attaches an interrupt to the handle used by the interrupt handler. Parameters
| Allows the following:
|
| Purpose Detaches an interrupt from the handle used by the interrupt handler. Parameters
| N/A |
| Purpose Resumes interrupt handling. Parameters
| N/A |
| Purpose Blocks interrupt handling. Parameters
| Lets you block interrupt handling in another process. |
| Purpose Modifies DMA parameters. Parameters
| N/A |
| Purpose Maps an DMA buffer to a virtual memory region. Parameters
| Allows the following:
|
| Purpose Lets you get information about a DMA buffer. Parameters
| N/A |
| Purpose Lets you get information about the physical memory that was used to create a DMA buffer. Parameters
| N/A |
| Purpose Opens access to a DMA buffer for a device. Parameters
| Allows the kernel memory to be used up by creating a multitude of objects within it. |