Debug commit to be removed

This commit is contained in:
Bahadir Balban
2009-10-18 18:53:31 +03:00
parent c5d2bedc7f
commit c3b0399485
3 changed files with 5 additions and 1 deletions

View File

@@ -305,6 +305,9 @@ static inline void *l4_map_helper(void *phys, int npages)
struct task_ids ids;
void *virt = l4_new_virtual(npages);
if (!phys)
BUG();
l4_getid(&ids);
l4_map(phys, virt, npages, MAP_USR_RW_FLAGS, ids.tid);
return virt;