Rev 1653 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1653 | Rev 1719 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup libc |
29 | /** @addtogroup libc |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
Line 67... | Line 67... | ||
67 | * ENOENT if there is no task with specified ID and ENOMEM if there |
67 | * ENOENT if there is no task with specified ID and ENOMEM if there |
68 | * was some problem in allocating memory. |
68 | * was some problem in allocating memory. |
69 | */ |
69 | */ |
70 | int iospace_enable(task_id_t id, void *ioaddr, unsigned long size) |
70 | int iospace_enable(task_id_t id, void *ioaddr, unsigned long size) |
71 | { |
71 | { |
72 | task_id_t task_id; |
- | |
73 | ddi_ioarg_t arg; |
72 | ddi_ioarg_t arg; |
74 | 73 | ||
75 | arg.task_id = id; |
74 | arg.task_id = id; |
76 | arg.ioaddr = ioaddr; |
75 | arg.ioaddr = ioaddr; |
77 | arg.size = size; |
76 | arg.size = size; |
Line 87... | Line 86... | ||
87 | { |
86 | { |
88 | return __SYSCALL1(SYS_PREEMPT_CONTROL, (sysarg_t) enable); |
87 | return __SYSCALL1(SYS_PREEMPT_CONTROL, (sysarg_t) enable); |
89 | } |
88 | } |
90 | 89 | ||
91 | 90 | ||
92 | /** @} |
91 | /** @} |
93 | */ |
92 | */ |
94 | - | ||
95 | - |