Preliminary irq registration call + irq capability checking

Need to add irqctrl capabilities and irq bits to device memory
caps.

Also need to initialize irq field of devmem caps.
This commit is contained in:
Bahadir Balban
2009-11-28 19:13:23 +02:00
parent b5e6c66426
commit 6e40a2b601
17 changed files with 380 additions and 110 deletions

View File

@@ -41,9 +41,9 @@ int ipc_full_copy(struct ktcb *to, struct ktcb *from)
return ret;
/* Check that utcb memory accesses won't fault us */
if ((ret = tcb_check_and_lazy_map_utcb(to)) < 0)
if ((ret = tcb_check_and_lazy_map_utcb(to, 1)) < 0)
return ret;
if ((ret = tcb_check_and_lazy_map_utcb(from)) < 0)
if ((ret = tcb_check_and_lazy_map_utcb(from, 1)) < 0)
return ret;
/* Directly copy from one utcb to another */