Classes | |
| struct | l4io_drv |
| IO driver types.
One dword encoding driver source and type. More... | |
| struct | l4io_res |
| PCI resources (regions). More... | |
| struct | l4io_pci_dev |
| PCI device information (struct). More... | |
| struct | l4io_info |
| I/O Info Page Structure.
This is the L4Env's I/O server info page. We have 4KB and fill it 0...L4_PAGESIZE-1. More... | |
Typedefs | |
| typedef struct l4io_drv | l4io_drv_t |
| IO driver types. | |
| typedef struct l4io_res | l4io_res_t |
| PCI resources (regions). | |
| typedef unsigned short | l4io_pdev_t |
| PCI device handle. | |
| typedef struct l4io_pci_dev | l4io_pci_dev_t |
| PCI device information (struct). | |
Functions | |
| EXTERN_C_BEGIN L4_CV int | l4io_init (l4io_info_t **io_info_addr, l4io_drv_t drv_type) |
| L4_CV l4io_info_t * | l4io_info_page (void) |
| Return pointer to L4IO info page. | |
Variables | |
| struct l4io_info | L4_PAGESIZE |
| I/O Info Page Structure.
This is the L4Env's I/O server info page. We have 4KB and fill it 0...L4_PAGESIZE-1. | |
| typedef struct l4io_drv l4io_drv_t |
IO driver types.
One dword encoding driver source and type.
This is a proposal/idea. A final version of driver/server descriptions had to be more extensive and _not_ only for driver servers.
0x00000000 is reserved.
| L4_CV l4io_info_t* l4io_info_page | ( | void | ) |
Return pointer to L4IO info page.
| EXTERN_C_BEGIN L4_CV int l4io_init | ( | l4io_info_t ** | io_info_addr, | |
| l4io_drv_t | drv_type | |||
| ) |
Initialize IO library.
| io_info_addr | mapping address of io info page:
| |
| drv_type | short driver description |
| io_info_addr | actual mapping address (or -1 if no mapping) |
Before io info page is mapped into client's address space any potentially mapping at the given address is FLUSHED! io_info_addr has to be pagesize aligned.
| struct l4io_info L4_PAGESIZE |
I/O Info Page Structure.
This is the L4Env's I/O server info page. We have 4KB and fill it 0...L4_PAGESIZE-1.
dde_test resp. io (examples/dummy/))