Rev 2071 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2071 | Rev 2106 | ||
|---|---|---|---|
| Line 35... | Line 35... | ||
| 35 | #ifndef KERN_DDI_ARG_H_ |
35 | #ifndef KERN_DDI_ARG_H_ |
| 36 | #define KERN_DDI_ARG_H_ |
36 | #define KERN_DDI_ARG_H_ |
| 37 | 37 | ||
| 38 | /** Structure encapsulating arguments for SYS_PHYSMEM_MAP syscall. */ |
38 | /** Structure encapsulating arguments for SYS_PHYSMEM_MAP syscall. */ |
| 39 | typedef struct { |
39 | typedef struct { |
| 40 | unsigned long long task_id; /** ID of the destination task. */ |
40 | /** ID of the destination task. */ |
| - | 41 | unsigned long long task_id; |
|
| 41 | void *phys_base; /** Physical address of starting frame. */ |
42 | /** Physical address of starting frame. */ |
| - | 43 | void *phys_base; |
|
| 42 | void *virt_base; /** Virtual address of starting page. */ |
44 | /** Virtual address of starting page. */ |
| - | 45 | void *virt_base; |
|
| 43 | unsigned long pages; /** Number of pages to map. */ |
46 | /** Number of pages to map. */ |
| - | 47 | unsigned long pages; |
|
| 44 | int flags; /** Address space area flags for the mapping. */ |
48 | /** Address space area flags for the mapping. */ |
| - | 49 | int flags; |
|
| 45 | } ddi_memarg_t; |
50 | } ddi_memarg_t; |
| 46 | 51 | ||
| 47 | /** Structure encapsulating arguments for SYS_ENABLE_IOSPACE syscall. */ |
52 | /** Structure encapsulating arguments for SYS_ENABLE_IOSPACE syscall. */ |
| 48 | typedef struct { |
53 | typedef struct { |
| 49 | unsigned long long task_id; /** ID of the destination task. */ |
54 | unsigned long long task_id; /**< ID of the destination task. */ |
| 50 | void *ioaddr; /** Starting I/O space address. */ |
55 | void *ioaddr; /**< Starting I/O space address. */ |
| 51 | unsigned long size; /** Number of bytes. */ |
56 | unsigned long size; /**< Number of bytes. */ |
| 52 | } ddi_ioarg_t; |
57 | } ddi_ioarg_t; |
| 53 | 58 | ||
| 54 | #endif |
59 | #endif |
| 55 | 60 | ||
| 56 | /** @} |
61 | /** @} |